Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 891 Bytes

README.md

File metadata and controls

37 lines (28 loc) · 891 Bytes

Repository for the Kubernetes Learnings from TechWorld with Nana

K8s manifest files

  • mongo-config.yaml
  • mongo-secret.yaml
  • mongo.yaml
  • webapp.yaml

K8s commands

start Minikube and check status
minikube start --vm-driver=docker 
minikube status
get minikube node's ip address
minikube ip
get basic info about k8s components
kubectl get node
kubectl get pod
kubectl get svc
kubectl get all
get extended info about components
kubectl get pod -o wide
kubectl get node -o wide
get detailed info about a specific component
kubectl describe svc {svc-name}
kubectl describe pod {pod-name}
get application logs
kubectl logs {pod-name}
stop your Minikube cluster
minikube stop