Installing Minikube

If you do not have a minikube setup just use the below link to setup.

https://kubernetes.io/docs/setup/learning-environment/minikube/

Install Kubectl

It will help you connect to the minikube API server and schedule deployments.

curl -LO "https://storage.googleapis.com/kubernetes-release/release/

$(curl -s https://storage.googleapis.com/kubernetes-release/release/

stable.txt)/bin/linux/amd64/kubectl"

Apply Port Forwarding in Network Settings

Once the setup is done open the network setting of minikube in VirtualBox and adds port forwarding to 8443. Port 51928 is mapped to 8443 of minikube in network settings below.

minikube

#kubernetes #minikube #kubectl #remote machine

Access Minikube Using Kubectl From Remote Machine
20.40 GEEK