Kubernetes cheat sheet part 2

This the continuation from previous post , please check if you haven’t gone through that Kubernetes cheat book part-1 List the services List Statefulset Edit running statefulset   Get the list of deployment Edit the running deployment Add a label to the node List the Persistent Volume Claim List the Persistent Volumes   Delete a pod   Create namespace Cheers!! © 2021, Techrunnr. All rights reserved.

Read More

Kubernetes cheat book part-1

As many of you working with the Kubernetes cluster for deploying your applications and other supporting components. There are a lot of commands which you need to learn or remember when you are managing the cluster. Here I’m trying to provide the list of the commands which I’m using to manage the cluster. So let’s go through that, List namespace The above command will list all the namespaces which are available in the Kubernetes cluster. List pods The above command will list all the pods in the default namespace  List…

Read More

kubernetes: Error from server: Get //IPaddress:10250/containerLogs/default/l: dial tcp 10.19.0.41:10250: getsockopt: no route to host

When you are working on Kubernetes you may have noticed this error while you are checking the logs of the pod from the Kubernetes master The command to check the pod logs, consider you have a pod that is running MySQL service. When I was trying to access the log of the pod I was received the below error, due to this I was not able to troubleshoot the issues which are there in the application.  So the first step is to fix this issue. Below are the troubleshooting steps…

Read More

Install helm in linux

Helm is the package manager for Kubernetes, where it helps you to deploy the application in your Kubernetes cluster in minutes. helm chart helps you install or upgrade the complex application in your cluster. Even you can create a helm chart for your custom application. Helm helps you deploy an application in any environment such as dev, stage, prod where you can externalize the value for each environment. Installation Binary installation choose your desired version of helm from this link, https://github.com/helm/helm/releases Ubuntu thats it, now you have completed your installation.…

Read More

how to install minikube

Hi All, today we will see how to install Minikube in Linux operating system. As the name says Minikube is the minimal setup of the Kubernetes cluster in your local machine. This makes you to develop and test the Kubernetes functionalities. This is ideally for test and learns not meant for the production setup.  For Production setup either you can go with many manager services providers such as AWS, Azure, Google, etc. or else do set up your own Kubernetes cluster in your in-house DC. System Requirements * minimum 2…

Read More