Skip to content

Suryaveersingh8055/simpledepl-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repository for the K8s in 1 hour video

K8s manifest files

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

K8s commands

start Minikube and check status
minikube start --vm-driver=hyperkit 
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

⚠️ Known issue - Minikube IP not accessible

If you can't access the NodePort service webapp with MinikubeIP:NodePort, execute the following command:

minikube service webapp-service

Links

About

k8's sample app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published