Posts

Showing posts with the label kubectl

Learn How to install and configure Kubernetes Dashboard

Image
This post is part of my ongoing Kubernetes Learning Series , where I share hands-on experiments and practical implementations performed on a local Vagrant-based Kubernetes environment. Have you ever spent several minutes running multiple kubectl commands just to understand what's happening inside your cluster? The Kubernetes Dashboard solves that problem by providing a visual interface that helps you monitor, manage, and troubleshoot workloads more efficiently. In this article, I will explain the process of installing and accessing the Kubernetes Dashboard (Web UI) , which provides a graphical interface for managing and monitoring Kubernetes resources. What You'll Learn Before we begin, here is what you will learn in this tutorial: What the Kubernetes Dashboard is and why it is useful How to deploy the Kubernetes Dashboard on a Kubernetes cluster How to access the Dashboard using kubectl proxy How to create a Cluster Admin Service Account for authentication How to...

Kubernetes installation on CentOS7 Vagrant boxes Manually

Image
This page is updated in 2022 with new instructions which works for Rocky LInux as well! As we have seen and had a setup that Docker EE installation on CentOS7 . A year ago when I have worked on Kubernetes setup on the Ubuntu Linux that virtualization included all the steps involved in Docker installation to Kubernetes cluster configuration everything automated within Vagrantfile. Kubernetes Cluster on your Desktop or Laptop or Mac book In this post, I would like to share the manual steps that work to build a Kubernetes Cluster on CentOS7. We will be using the Docker EE installed nodes to install Kubernetes. So bringing up vagrant boxes the same thing that we had discussed earlier post proceed further. Step 1: Check the System requirements We have three nodes: master, node1, node2. On ALL Nodes: CPU Cores  2, RAM size- 2GB Minimum 4GB good Otherwise, Master node make it 3GB, Slave nodes with 1.5GB also a wise plan if you have limited resources. Prepar...

Kubernetes cluster configuration in a Virtualbox with vagrant

Image
Thanks to Rajkumar who had developed the Vagrantfile and published in the github on Kubernetes cluster configuration in a Virtualbox with vagrant. For those who don't know about Vagrant it is a tool that will be used for virtualization into a different level and more powerful way of using your system resources to run multiple operating virtual boxes in your Laptop/Desktop systems. You just need to follow the simple steps which I had done in my experiment: Prerequisites for Kubernetes Cluster Creation Download latest Vagrant Download latest version of Oracle VirtualBox System resources requirements on VirtualBox 2 GB for each node 2 cores CPUs for each node Here I have don this expeiment on my Windows 7 laptop. You could do same on any Windows higher version as well. Total 3 VMs will be created under a group named as - "Kubernetes Cluster" as defined in Vagrantfile. Infrastructure as a Code: Vagrantfile  The Vagrantfile will be composed w...