Setting up kubernetes cluster on cantos 7.

Setup Kubernetes Cluster on CentOS 7

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 on a turquoise background.

Kubernetes Dashboard

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 logo on a blue background.

Kubernetes Proxy

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

Expose service via nodeport.

Exposing pod as a NodePort service

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

Kubernetes dashboard remote access.

Kubernetes Dashboard Remote Access

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.

Kubernetes cli setup.

Install Kubernetes CLI on Windows 10

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

Scroll to Top