Minikube Installation
K8s Setup Requirements
8 CPUs or more
16GB of free memory
150 GB of free disk space
Internet connection
Container or virtual machine manager, such as: Docker, Hyperkit, Hyper-V, KVM, Parallels, Podman, VirtualBox, or VMware Fusion/Workstation
Install kubectl
Download the latest Kubectl release with the command:
Test to ensure the version you installed is up-to-date:
Kubectl autocomplete
BASH
You can also use a shorthand alias for kubectl
that also works with completion:
ZSH
Install Kubernetes using Minikube
To install the latest minikube stable release on x86-64 Linux using Debian package:
Start the Cluster
Start your minikube cluster with one master node using the following command.
We are using Flannel Plugin for Networking, NetworkPolicy Management, Traffic Management
Congratulations you now have a minikube cluster.
Enable Metrics Server
Ensure your Master Node is in Healthy State and all the necessary services and pods are working fine.
Worker Nodes Creation
Note: This as an optional step, you can safely skip this step if you do not require an additional worker node.
Now login to the Worker node and then pull all the latest images that are required.
You can use the same script that is used in the Master Server from the above section.
Verify nodes using the following command
Repeat the above steps, if you want to add more worker Nodes.
Kubectl context and configuration
Show Merged kubeconfig settings.
Display list of contexts
Last updated