Author Archives: Roopendra - Page 3
How AI Shifts DevOps from Firefighting to Foresight
Spotting Trouble Before It Happens: How AI Shifts DevOps from Firefighting to Foresight We’ve all been there. It’s 3:00 AM, your phone is buzzing violently, and the PagerDuty alert contains a wall of cryptic text. By the time you log into the console, pull up the dashboard, and start digging…
Navigating the Shift: The Reality of AI Adoption in the DevOps Ecosystem
The whole point of DevOps has always been to break down walls, speed up delivery, and get rid of the mind-numbing, repetitive tasks. For years, we did a pretty good job of that using standard scripts, CI/CD pipelines, and fixed monitoring rules. But today's setups—with microservices, multi-cloud environments, and infrastructure…
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 have a specified label or set of labels. It helps in improving the performance and efficiency of your applications by…
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? What is meant by Continuous Integration? What is the difference between Continuous Delivery vs Continuous Deployment? How is devOps different…
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 individual users: Assign roles to groups of users rather than assigning permissions to individual users. This makes it easier to…
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 the issue in Windows 10 machine. Quit Docket Desktop Delete the pki folder. Please find the folder in below path…
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 the day viewers are less. In order to serve the traffic load better you need more resources. Autoscaling providing you…
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 Docker Images?docker rmi $(docker images -q) 4) Remove all exited containersList: docker ps -a -f status=exitedRemove: docker rm $(docker ps…
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. In my case, I have created few images and I was trying to push those images in remote docker repository…
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}" ##output Techieroop Tutorial 2. Use += assignment operator: #!/bin/bash var="Techieroop" var+=" Tutorial" echo "$var" ##output Techieroop Tutorial Second method can be…
