-
As DevOps, we often make quite a lot of mistakes and one of the most oversight mistakes we generally do is forget to expose a port for the container. When you realize that you have not exposed any port for the container then you start looking for ways to change the port mapping of a live container or in other words, we …
Read More -
When we package any application using Docker then either we create Dockerfile or docker-compose.yaml, even you can create both the files and share the files with others. There is one important aspect in both the files .i.e. PORT. Any container which you build and ship to other developers has to have one or more defined …
Read More -
I usually work with multiple projects at once and whenever there is a new feature on which I had to work, I usually create a new Branch from my Master branch and once I am done with the new feature I do create a pull request and after the approval, I do merge my changes from my new Branch to my Master branch. Well, …
Read More -
I faced this issue when I was trying to clone my GitHub repository but somehow I made a mistake and instead of using the correct GitHub Repository URL I used an incorrect URL. Here are the URLs - Correct URL - https://github.com/rahulwagh/k8s-jenkins-aws.git Incorrect URL - https://github.com/rahulwagh/k8s-jenkins-aws …
Read More -
Terraform worksapces is a very logical concept where you can have multiple states of your infrastructure configuration. To put this in simple words if you are running an infrastructure configuration in development environment then the same infrastructure can be run in the production environment. The main benefit of …
Read More -
Terraform file always grows as you span your infrastructure and add multiple servers to your cloud-hosted infrastructure. But imagine you have terraform file which contains lots of resources but you only do not want to apply the complete terraform configuration but instead, you just want to run one specific or some …
Read More -
I am a real big fan of working with docker because it provides you a certain level of isolation and the ability to move your dockerize application anywhere from development to the production environment. But often when I work with the multiple numbers of running docker containers then it is often needed to restart a …
Read More -
Terraform is an IaC(infrastructure as Code) framework for managing and provisioning the infrastructure but have you ever thought of creating only a single terraform configuration file for managing the complete cloud infrastructure. Well, it sounds insane because if you only have a single file for managing the complete …
Read More -
While working on my Spring Boot Microservices with Docker I felt a need to edit some of the files present under my docker container. But when I tried to edit the file nano application.yaml it throws me an error bash: nano: command not found. So I was not able to edit the file which is present inside my running docker …
Read More -
In this blog post, we will look at the different ways to fix the Error starting docker service Unit not found. I faced this issue while I was trying to set up Kubernetes cluster on CentOS 8. As Kubernetes is a container orchestration tool and it is used for managing container images, so I had to install Docker before …
Read More