
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
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
Kubernetes secrets are API objects which can only be referenced by POD, so if you are working in multiple namespaces then you can not share the same kubernetes secrets. Although it is possible to copy the same kubernetes into the desired namespace. Create kubernetes namespace testns1 In this blog post we are going …
Read More
Before we jump onto kubernetes secrets let’s first try to understand What is Secret? - Secret is sensitive information which can not be written in a plain text or shared with others. The best example of Secrets would be the password. But Why do we need to use Kubernetes Secret? - Running a bare minimum kubernetes …
Read More
In kubernetes cluster we always creat and delete kubernetes PODS. PODS lifecycle is very short and it is very often that kubernetes creat a replica of a POD to provide maximum availability across the kubernetes cluster. But considering the need, a developer might need to delete POD manually because of POD getting stuck …
Read More
One day I was working with my local kubernetes cluster which I set up using Kubespray and inside my Kubernetes cluster, I was trying to deploy my docker container. Since it was a local Kubernetes cluster so I had done a couple of Kubernetes deployments before also but after each deployment, I was deleting the …
Read More
Maintaining a healthy kubernetes cluster is really challenging especially if you have not configured the Liveness, Readiness and Startup Probes correctly for your containers deployed under kubernetes containers. If I have to put in a simple way - Liveness probes - It is responsible for restarting your container, if it …
Read More
In this post, we are going to see how to get YAML of deployed Kubernetes resources(pvc, configmap, ingress, service, secret, deployment, statefulset, hpa, job, cronjob). Most of the time we create the deployment and expose services inside the kubernetes cluster using YAMLs but here in this the post we will focus on a …
Read More
December 04, 2020 Kubernetes is deprecating Docker support and how should you prepare for it? As of December 02, 2020 Kubernetes has announced that going forward Kubernetes is going to deprecate Docker as their preferred container runtime environment. In the DevOps community Docker is considered as a backbone when it …
Read More