To check status of a pod in kubernetes cluster. Connect to master node and execute below command. Below command will give status of all pods from default namespace. kubectl get pods If you like to check the status of pods in system namespace, execute below command. kubectl get pods –all-namespaces If you like to check …
In this tutorial, we will use kubeadm to configure a Kubernetes cluster on CentOS 7.4. IMPORTANT NOTE: Ensure swap is disabled on both master and worker nodes. Kubernetes requires swap to be disabled in order for it to successfully configure Kubernetes Cluster. Before you start setting up Kubernetes cluster, it is recommended that you update
Kubernetes Dashboard allows you to manage pods and cluster configuration from a web user interface (UI). You can write your own YAML or json file and upload it via Dashboard, and it will automatically create deployments for you. Kubernetes Dashboard is free to install, and you can follow the below steps. I will be using
Kubernetes Proxy allows you to access core components of Kubernetes. Such as API, Kubernetes Dashboard, etc. In order to use Kubernetes proxy, you will need to ensure proper configurations are in place on your system where you are accessing it from. If you are remotely managing Kubernetes Cluster, I recommend following a few of my
I recently started building a Kubernetes cluster in my on-premise network where I do not have OpenStack or OpenShift that can provide me load balancer IP. Almost all cloud platforms come with ready-made load balancer logic that automatically assigns an IP address when a service of type LoadBalancer is created. In my scenario, I will
If you received an error like below, you need to grant access to Kubernetes dashboard to your cluster. configmaps is forbidden: User “system:serviceaccount:kube-system:kubernetes-dashboard” cannot list configmaps in the namespace “default” If you are planning to access to Kubernetes Dashboard via proxy from remote machine, you will need to grant ClusterRole to allow access to dashboard.
If you are looking to access Kubernetes Cluster from your windows machine. Look no further! I will show you how to install Kubernetes kubectl command line utility by leveraging Chocolatey installer. Note. I will be using Windows 10 to demonstrate. Now lets go ahead and get started by opening PowerShell as administrator and execute below
To Setup Kubernetes cluster, I will be setting the cluster in my local environment using Hyper-V. You can use any Hypervisor you like. I recommend VirtualBox if you want to Setup a local environment. Otherwise, the below tutorial can be followed on any Virtual Machine, Physical machine, or any cloud Computing IAAS instance. I created