Skip to content

howtoautomateinth/docker-k8s-class

Repository files navigation

Docker & K8S class

Workshop and examples for docker and k8s class

Prepare working environment

Recommended: Do not use kubernetes that packed with Docker for Desktop

Verify your machine with following command

  • Docker
    • docker run hello-world
  • K8S
    • minikube status
    • kubectl cluster-info
  • Package Manager
    • Window
      • choco -?
    • Mac
      • brew --version

Useful troubleshooting techniques

  • K8S command

    • k get all
    • k delete all --all
    • k exec pod/busybox -i -t -- (command)
    • k logs (pod name)
    • k describe (service name) (name)
    • minikube service list
    • minikube dashboard
  • printenv

    • will show all env. that use in the POD and lead to find information
  • dashboard

    • we can see many information and secret in there

About

excerise and example for docker and k8s class

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published