Skip to content

Application setup using several Kubernetes components: pod, deployment, service, configmap and secret

Notifications You must be signed in to change notification settings

mehabhalodiya/k8s_handson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k8s_handson

kubectl apply commands in order

  • kubectl apply -f mongo-secret.yaml
  • kubectl apply -f mongo.yaml
  • kubectl apply -f mongo-configmap.yaml
  • kubectl apply -f mongo-express.yaml

kubectl get commands

  • kubectl get pod
  • kubectl get pod --watch
  • kubectl get pod -o wide
  • kubectl get service
  • kubectl get secret
  • kubectl get all | grep mongodb

kubectl debugging commands

  • kubectl describe pod mongodb-deployment-xxxxxx
  • kubectl describe service mongodb-service
  • kubectl logs mongo-express-xxxxxx

give a URL to external service in minikube

  • minikube service mongo-express-service

About

Application setup using several Kubernetes components: pod, deployment, service, configmap and secret

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published