Difficulty: Beginner
Estimated Time: 10 minutes

Minikube is a tool that makes it easy to run Kubernetes locally. Minikube runs a single-node Kubernetes cluster inside a VM on your laptop for users looking to try out Kubernetes or develop with it day-to-day.

This scenario has explained how to launch a Single Node Kubernetes cluster. Using Minikube is ideal for development environments and testing Kubernetes locally.

Kubernetes

Step 1 of 3

Step 1 - Configuration

kubeadm helps you bootstrap a minimum viable Kubernetes cluster that conforms to best practices. With kubeadm, your cluster should pass Kubernetes Conformance tests. Kubeadm also supports other cluster lifecycle functions, such as upgrades, downgrade, and managing bootstrap tokens.

Run this command in order to set up the Kubernetes control plane- kubeadm init

sudo cp /etc/kubernetes/admin.conf $HOME/ sudo chown $(id -u):$(id -g) $HOME/admin.conf export KUBECONFIG=$HOME/admin.conf

deployment.yaml
service.yaml