Time to do some kubernetes tutorials.

My goals… postgresql with persistent storage and the nodejs apps from $WORK.

Starting with https://kubernetes.io/docs/tutorials/kubernetes-basics/ and making sure I can setup minikube from scratch.

  • https://kubernetes.io/docs/tasks/tools/install-minikube/ installs minikube
  • use –driver=docker to skip all the VMs
  • https://kubernetes.io/docs/tasks/tools/install-kubectl/
  • between 1.17.3 and 1.18.3 the proxy began requiring a port
    • curl http://localhost:8001/api/v1/namespaces/default/pods/$POD_NAME/proxy/ became curl http://localhost:8001/api/v1/namespaces/default/pods/$POD_NAME:8080/proxy/
  • kubectl exec podname command -> kubectl exec podname – command
  • kubectl label needs –overwrite to overwrite