kubectl exec examples - Execute Shell commands into a POD | K8s
In this article, we will learn in detail how to exec shell commands on the container or pod using kubectl. We will learn how to execute bash or any shell commands using kubectl and exec any command into a container or pod Let us start, Before we begin, all the...
How to check Kubernetes and Kubectl Version | Devops Junction
How to check the Kubernetes and Kubectl Version using the kubectl command line that's the objective of this article. As you know the kubectl is a command line tool for communicating with a Kubernetes cluster's control plane, using the Kubernetes API. Provided by...
AWS S3 Sync Examples - Sync S3 buckets AWS CLI
In this article, we are going to see how to use the powerful aws s3 sync CLI command. In the Linux world, if we want to compare two directories and copy the files on the same machine or between two machines over the remote (ssh) we use rsync Those who have used it...
kubectl cp example - copy files to and from kubernetes pod & containers
Kubectl cp command is most widely used to copy files between pods and local file system. It is more like SCP in Linux world to copy files between local to remote machines using ssh protocol. With kubectl cp you can perform the following tasks upload a file to the pod...
PostgreSQL Start and Stop Shell Script | Devops Junction
In this quick article, we are presenting you with the shell script to start and stop PostgreSQL DB instance. You can use these scripts as part of rc.d or init.dto be executed during the server shutdown and boot up. Feel free to modify it further to suit your needs....
Terraform AKS Example - Creating Azure K8s Cluster | Devops Junction
Kubernetes is a Container Orchestration tool given to the world by Google. It changed the way applications are deployed managed and scaled. In our blog, we have written various introductory articles on how to get started with Containers and Kubernetes If you are new...
Clone EC2 instance using Terraform - How to | Devops Junction
This is a familiar requirement for everyone I believe. How to clone an EC2 instance and create a new instance with the same configuration. While we want to launch multiple EC2 instances of the same configuration there are multiple ways we follow. Creating Auto...
Terraform Lambda Example Create and Deploy - AWS | Devops Junction
Serverless has become a new way to run software and applications over the cloud. Let's suppose you have a python single file application and you want to make it available to your users. The days of Provisioning a Virtual machine installing necessary packages and...
Kubectl Get Nodes with Instance Type and Arch - K8s | Devops Junction
In this post, we are going to give a quick command to list your worker nodes with their instance types and architecture. I have posted this for the Amazon EKS Kubernetes cluster but with slight modification, you can use the same approach for any other managed...
GitHub Actions Firebase App Deployment Automated | Devops Junction
GitHub Actions makes it easy to automate all your software workflows with GitHub’s own CI/CD. Now you can build, test, and deploy your code right from GitHub. GitHub Actions offer free minutes of usage and storage per month so if you want to use GitHub Actions beyond...
AWS ActiveMQ Python STOMP Example - with SSL | Devops Junction
In this article, we are going to see how to connect to AWS ActiveMQ using Python. STOMP ( Simple Text Oriented Messaging Protcol) is a protocol supported by Message Oriented Middleware products like ActiveMQ, RabbitMQ for faster and reliable message streaming. We are...
Ansible Slack - How to send Slack notification from Ansible
In this post let us quickly show you how to send slack notifications from the Ansible playbook. Being notified is always good instead of sitting and waiting for a task to complete and looking at the screen. Also if something fails, we can immediately look into it with...
Pulumi AWS Example - Creating VPC, Subnets, EC2, Bastion host
In this article, we are going to see how to set up compute infrastructure consisting of virtual private cloud, subnets, internet gateway, NAT gateway, route tables and EC2 instances in Amazon web services using one of the most competent IaC tool 'Pulumi' In addition...
Redis - Get Memory Usage and TTL of all keys | Devops Junction
In this article, I am going to share a shell script to help you get the TTL (time to live) and Memory Usage of all the keys available in Redis DB Every tool/technology that we use in infrastructure comes with a certain cost of management. Redis, a memory-intensive...
Ansible Retry Examples - Retry a task until condition met | DevopsJunction
in this article, we are going to see how to retry an ansible task until it meets a certain condition or validation. It is more like do sometask until somecondition kind of setup available in all the programming and scripting languages Ansible lets you execute a task...
Articles for DevOps Beginner
No Results Found
The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.