Sarav is the creator and Founding Author of Devops Junction. He has 13+ years of experience in Software Development and Architecture. He has written around 250+ articles on various technologies.
In this quick article, let us learn how to restart the Kubernetes DaemonSet and all the pods created by the DaemonSet. Before we move on to the objective, here are some basics. real quick. DaemonSet is to deploy a specific application/feature to your Kubernetes cluster and to make sure it[...]
Read more
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[...]
Read more
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 Kubernetes itself if you are new to Kubectl and[...]
Read more
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[...]
Read more
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. Hope[...]
Read more
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 Scaling Group or Launch Template Create[...]
Read more
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 Kubernetes cluster too. While[...]
Read more
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 a quick[...]
Read more
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 caching solution[...]
Read more
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 until a condition[...]
Read more