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
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 »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?
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
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
Read more »Kubernetes Error: kubeadm related errors and solutions
Error 1 Error 1 Error 2 Error 3 Solutions 3 Error 4 Solutions 4
Read more »Kubernetes Error: coredns – no route to host log & Failed to list & CrashLoopBackOff
Errors Solutions
Read more »kubeadm error – kubelet isn’t running or healthy and connection refused
Errors Headlines Initial timeout of 40s passed dial tcp [::1]:10248: connect: connection refused failed with error: Get http://localhost:10248/healthz The kubelet is not running Solutions If you are on a systemd-powered…
Read more »Kubernetes supports Windows containers
With the release of Kubernetes v1.14, Windows Server node support has officially graduated from beta to stable! This support enables developers and operators with Windows Server based applications to containerize…
Read more »Kubernetes Error – minikube – A firewall is likely blocking minikube from reaching the internet
If you are trying a start in minikube behind a firewall and getting following errors Solutions You need to set a proxy on a command line. macOS and Linux Windows…
Read more »EKS cluster setup error: the server doesn’t have a resource type “services
When an Amazon EKS cluster is created, the IAM entity (user or role) that creates the cluster is added to the Kubernetes RBAC authorization table as the administrator (with system:master…
Read more »Kubernetes PersistentVolume, PersistentVolumeClaim, volume using hostPath
pv.yaml $ kubectl create -f pv.yaml $ kubectl get pv pvc.yaml $ kubectl create -f pvc.yaml $ kubectl get pvc pod.yaml $ kubectl create -f pod.yaml $ kubectl get pods…
Read more »Working with Kubernetes Cluster using Kubectl Part – 11 – Probes
container-probes.yaml Commands
Read more »Working with Kubernetes Cluster using Kubectl Part – 10 – Pods Life Cycle
pod-restart-policy.yaml
Read more »Working with Kubernetes Cluster using Kubectl Part – 9 – Multi Containers Pods
multicontainer-pod.yaml
Read more »Working with Kubernetes Cluster using Kubectl Part – 7 – Labels
PodsToNodes.yaml CreatePodsWithLabels.yaml deployment-label.yaml service.yaml Commands
Read more »Working with Kubernetes Namespaces
Kubernetes namespaces are a way to organize, isolate, and manage Kubernetes resources. They provide a virtual sub-cluster within a Kubernetes cluster, and they can be used to separate resources by…
Read more »