brew install kubectx
https://www.youtube.com/watch?v=CgCLPYJRxbU
https://www.youtube.com/watch?v=10ZR-fbyuSY
brew install helm
helm plugin install https://github.com/databus23/helm-diff
brew install helmfile
01-namespace.yaml
02-pod.yaml
03-deploy.yaml
04-service.yaml
05-secret.yaml
05-deploy.yaml
06-configmap.yaml
06-deploy.yaml
07-service.yaml
08-ingress.yaml
09-deploy.yaml
10-daemonset.yaml
11-pvc.yaml
11-pod.yaml
12-statefulset.yaml
create crb
kubectl create rolebinding default-to-admin \
--clusterrole=admin \
--serviceaccount=default:default \
--namespace=default
watch pod events
curl -sSk -H "Authorization: Bearer $KUBE_TOKEN" \
https://$KUBERNETES_SERVICE_HOST:$KUBERNETES_PORT_443_TCP_PORT/api/v1/namespaces/default/pods?watch