
Minikube Exposing Kubernetes workload from EC2 Instance.
Part 1 – Step by step guide on MINIKUBE installation on EC2 instance can be found here, Folks in this tutorial we will try to learn how to expose a…
Read more »Kubernetes Commands: kubectl get – Tutorials and Examples
kubectl get- Display one or many resources Prints a table of the most important information about the specified resources. You can filter the list using… A label selector and The…
Read more »Kubernetes Commands: kubectl config – Tutorials and Examples
The kubectl command-line tool uses kubeconfig files(file named with – config) to find the information it needs to choose a cluster and communicate with the API server of a cluster….
Read more »Kubernetes Port requirement during Kubernetes Installing using kubeadm
Control-plane node(s) – required ports Protocol Direction Port Range Purpose Used By TCP Inbound 6443* Kubernetes API server All TCP Inbound 2379-2380 etcd server client API kube-apiserver, etcd TCP Inbound…
Read more »Kubeadm Errors: network plugin is not ready: cni config uninitialized
Error Message Solution Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday…
Read more »
Kubernetes Interview Questions and Answer Part – 8
What is the primary application transport mechanism for the Kubernetes API Server? Server side RPC calls Javascript over WebSockets TCP multiplexing over HTTP/S JSON Over HTTP/S (Ans) Objects in the…
Read more »
Kubernetes Interview Questions and Answer Part – 7
What is the main reason why the Ingress API has not been developed beyond its original specification? It was delivered to test ingress use cases, but annotations took over and…
Read more »
Kubernetes Interview Questions and Answer Part – 6
Which of the following is correct about Kubernetes Pods? Pods can only contain a single VM Pods can only contain a single container Pods can contain one or more containers…
Read more »
Kubernetes Interview Questions and Answer Part – 5
Which of the following describes the fundamentals of Kubernetes Pod networks? Each Pod gets a unique routable IP on the Pod network (Ans) All Pods share a common IP and…
Read more »
Kubernetes Interview Questions and Answer Part – 4
Which of the following best describes Kubernetes from a licensing standpoint? Proprietary technology under a subscription license from Google, Inc Open-source under the OpenStack Foundation Proprietary technology under a subscription…
Read more »
Update the taints on one or more nodes in Kubernetes
What is meaning of taint? a trace of a bad or undesirable substance or quality. What is tainted? spoiled; damaged in quality, taste, or value: Follwing are workload which run…
Read more »
Setup NFS server and use inside a Kubernetes pods in RHEL/CENTOS7
Setup a NFS server in one of the node of Kubernetes Cluster using rhel 7.X Validate NFS server is working Manually Using NFS server in Kubernetes Pods Rajesh KumarI’m a…
Read more »
Kubernetes Configmap explained using example
Content of reverseproxy.conf Commands to execute to create configmap Example pod using configmap Validating configmap inside a pod Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I…
Read more »
Detailed explaination of joining Kubernetes Nodes aka workers in Kubernetes master?
Step 1 – Install Docker https://www.devopsschool.com/tutorial/docker/install-config/ https://www.devopsschool.com/tutorial/docker/install-config/docker-install-commuityedition-centos-rhel.html Step 2 – How to find discovery-token-ca-cert-has in kubernetes master node? Mehtod 1 – Using openssl Method 2 – Using Ansible Python Filter…
Read more »
Kubernetes PersistentVolume and PersistentVolumeClaim using NFS volume types
Save the definition to a file, for example nfs-pv.yaml, and create the PV: $ kubectl create -f nfs-pv.yaml persistentvolume “pv0001” created $ get pv $ kubectl create -f nfs-claim.yaml Pods…
Read more »
Kubernetes Errors and Solutions Database
Kubernetes minikube errors and Solutions kubeadm error – kubelet isn’t running or healthy and connection refused EKS cluster setup error: the server doesn’t have a resource type “services minikube error…
Read more »
How to expose multiple port in services in kubernetes or Multi-Port Services
You have two options: You could have multiple services, one for each port. As you pointed out, each service will end up with a different IP address You could have…
Read more »
Kubernetes Resources Web References & Cheatsheet
Kubernetes custom resource definitions explained How To Install and Use Istio With Kubernetes Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I…
Read more »
How to setup Kubernetes clustors in HTTP Proxy corporate environment
HTTP Proxy corporate environment for kubernetes can be fixed by including all my cluster node IPs in NO_PROXY and using the same NO_PROXY on all the minions when joining the…
Read more »
Generate yaml file from existing Kubernetes resources of cluster?
Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market…
Read more »
Kubernetes FAQ
Question 1 – Add containers to a Kubernetes pod on runtime or Allow containers to be added to a running pod Answer: Adding or removing containers to a pod is…
Read more »
Kubernetes Interview Questions and Answer Part – 3
What is Kubernetes? What are Kubernetes Components? What is etcd? What is master & minion? How to make quorum of cluster? What is Replication controller & what it does? What…
Read more »
Kubernetes Interview Questions and Answer Part – 2
How you will link when the docker containers is in different virtual machine is there any configuration in docker compose file are any command or any variable? What you will…
Read more »Kubernetes Interview Questions and Answer Part – 1
What is Kubernetes? Why Docker isn’t enough? Why do we need Kubernetes? Describe the architecture of Kuberenets How do you monitor your Kuberenets? What is kubectl? How do you use…
Read more »
How to delete/remove/clean existing corrupted or old kubeadm kubernetes clusters setup?
RHEL / Centos Ubuntu How to remove or cleanup kubernetes worker nodes in Centos 7? How to remove or cleanup kubernetes worker nodes in Ubuntu? Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert…
Read more »
Setting up Kubernetes Clusters using Kubeadm Manual way in RHEL 7 / Centos7
What is Kubeadm? Kubeadm helps you bootstrap a minimum viable Kubernetes cluster that conforms to best practices. Kubeadm is a tool built to provide kubeadm init and kubeadm join as…
Read more »
Setting up Kubernetes Clusters using Kubeadm Manual way in Ubuntu 16.04 Xenial
What is Kubeadm? Kubeadm helps you bootstrap a minimum viable Kubernetes cluster that conforms to best practices. Kubeadm is a tool built to provide kubeadm init and kubeadm join as…
Read more »
Kubernetes Errors: weave-net pod CrashLoopBackOff
Errors Solutions https://stackoverflow.com/questions/39872332/how-to-fix-weave-net-crashloopbackoff-for-the-second-node Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday…
Read more »
Kubernetes Errors: Kubernetes nodes are in ‘”network not ready” & “No networks found”
Errors Solutions https://stackoverflow.com/questions/47107117/how-to-debug-when-kubernetes-nodes-are-in-not-ready-state https://stackoverflow.com/questions/50085323/kubernetes-worker-node-staying-in-notready-state Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at…
Read more »
Kubernetes Error: kubeadm related errors and solutions
Error 1 Error 1 Error 2 Error 3 Solutions 3 Error 4 Solutions 4 Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus….
Read more »