Kubernetes - vasanthsumanath/MyWIKI GitHub Wiki

How to Install Kubernetes(minikube) in our desktop

MAC OS

kubectl is the client software, that provides API to seamlessly interact with the kubernetes.

brew install kubectl

brew install minikube

Install XHYVE to make the miniKube VM to use the xhyve instead of Virtual Box

brew install docker-machine-driver-xhyve


get the aks config locally

az aks get-credentials -n < resource name > -g < resource group >

Command to get the Pods information with its namespace

kubectl get pods -A

Command to get the config name inside the namespace logging

kubectl get cm -n logging

Command to get the config file as yaml output into local

kubectl get cm -n logging < Config name > -o yaml

kubectl get cm -n logging < Config name > -o yaml > xyz.yaml

Command to edit the config file directly inside the namespace

kubectl edit cm -n logging < Config name >

kubectl apply -f config-map.yaml

Deleting the pod will redeploy the pod inside the AKS namespace with new configuration

kubectl delete pod < pod name > -n < namespace >

⚠️ **GitHub.com Fallback** ⚠️