-
Note - This Kubernetes Cheat sheet is really long and detailed. I would highly recommend to use CTRL+F from the browser to search for the specific command. Table Of Content Pods Deployments Port Forwarding Service Nodes Namespace Service Accounts Documentation Describing Resources Editing Resources Deleting Resources …
Read More -
Terraform state is the backbone of your terraform project for provisioning your cloud infrastructure. When you work on large infrastructure provisioning with Terraform then it is always more than one developer or team of a developer working on the same terraform project. The problems arise when two developers try to …
Read More -
When writing a Dockerfile or docker-compose.yml you often need to rely on the ENVIRONMENT variable and there could be many reasons behind it, for example - If your container is using Python then you might wanna rely on the Python version which is set into the host machine’s environment variable. another use case …
Read More -
Terraform has its backbone known as terraform.tfstate file any change you do with your infrastructure will have its presence in the terraform.tfstate file. So when you work with Terraform for managing and provisioning your infrastructure then terraform will always create a terraform.tfstate file for you. In this blog …
Read More -
The Docker failed to compute cache key error is result of docker buildcommand which is executed on a directory where the Dockefile is not present. I had this issue when I was working with one of my project on my windows laptop and my directory structure looked like this - 1\parent-directory 2- test-file-1.py 3- …
Read More -
This blog post will address how to fix the docker issue EADDRINUSE (PORT or ADDRESS already in use). Here is a little error snapshot which I have taken from my docker container which I was aiming to run on port 1313 but unfortunately the port is already occupied by some other process. 1docker: Error response from …
Read More -
The deletion of the Kubernetes POD depends on many factors, before you execute the kubectl delete pod command you should go through the following checkpoint - Is the container associated with POD still running? Are there any active Kubernetes deployment associated with POD? Check if the POD persistent volume and …
Read More -
The deletion of PV(Persistent Volume) and PVC(Persistent Volume claim) is pretty much dependent on the Delete reclaim policy. When you are planning to delete the Persistent Volume as well as Persistent Volume Claim then you must follow an order - First delete - Persistent Volume Claim Second delete- Persistent Volume …
Read More -
For managing the cloud resources(EC2, S3 Bucket) on AWS you need to supply the AWS secrets(region, access_key, secret_key) inside the terraform file. You can use the plain text AWS Secrets inside your terraform file and it should work fine. But from the security standpoint, it is strongly discouraged to use plain text …
Read More -
You might have encountered the error executable file not found in $PATH when you are trying to run your docker container. There could be many reasons for an error like this. But in simple words, the docker can not find the binary which you want to run inside the docker container. Let’s take some examples to …
Read More