Skip to content

Latest commit

 

History

History
69 lines (35 loc) · 823 Bytes

Minikube.md

File metadata and controls

69 lines (35 loc) · 823 Bytes

Minikube & Kubectl installation

Install Minikube

Install Minikube https://github.com/kubernetes/minikube/releases

Install kubectl

Get supported version

minikube get-k8s-versions

Get list of existing contexts

kubectl config get-contexts

Switch the context to docker-for-desktop

kubectl config use-context docker-for-desktop

Get cluster info

kubectl cluster-info

Get All Kubernetes objects

kubectl get all

Get service url using namespace

minikube service -n aks-part3 --url webfront

Other kubectl commands

kubectl describe service --namespace aks-part3

kubectl describe service --n aks-part3

kubectl get pods --namespace aks-part3

kubectl delete --filename web-service.yml