Author Archives: Roopendra
What is pod affinity in Kubernetes?
Pod affinity in Kubernetes is a concept that allows you to influence the scheduling of pods in such a way that they are placed on nodes with other pods that…
Top 10 DevOps Interview Questions
Top 10 DevOps Interview Questions I have listed down top 10 DevOps interview questions on few topics like, Git, Maven, Jenkins, Docker, Kubernetes, Ansible. What is the need for DevOps?…
Google Cloud I AM role best practices
Here are some best practices for using Google Cloud IAM roles: Use least privilege principle: Assign only the minimum set of permissions required to perform a task. Use roles, not…
Docker Desktop Stuck at “Kubernetes is Starting”
I came across a weird issue in Docker Desktop for windows where Kubernetes was not coming up and it stuck in "Kubernetes is Starting". Please follow below steps to resolve…
How to update autoscale configuration in Kubernetes?
What is autoscale in Kubernetes? Let's understand autoscaling with an example. If you have a web application and during specific time you got lot's of viewer and the rest of…
Docker Frequently Asked Questions and Answers
1) How to stop all docker containers?docker kill $(docker ps -q) 2) How to stop docker containers and remove them?docker rm $(docker ps -a -q) 3) How to remove all…
denied: requested access to the resource is denied
denied: requested access to the resource is denied If you face this error while pushing image to remote docker registry then you can use below solution to fix the issue.…
How to concatenate string variables in Bash
Here are few preferred ways to concatenate string variables in bash script Concatenate string variables in Bash the variable one after another in echo #!/bin/bash var1="Techieroop" var2="${var1} Tutorial" echo "${var2}"…
How to check if a string contains a substring in Bash
Here are the couple of methods to check if a string contains a substring in bash shell script. Methods to check if string contains a substring in Bash Method 1:…
How to automate bash profile deployment in ansible ?
If you dealing with number of servers in day to day basis and if your application is growing rapidly then you may come across with different environment variable which you…