Kubectl notes (WIP)
curlDrain -Lnode
kubectl -odrain kompose
chmod +x kompose
kompose converthost.name.local --volumesignore-daemonsets
Put node back to ready
kubectl createuncordon namespace media
kubectl -n media create -f ~/media/k8/host.name.local
kubectl get deployment,svc,pods,pvckubectl get pods -n media
kubectl edit deployment emby -n media
kubectl expose service emby --port=8096 --target-port=80 --name=emby-lb --type=LoadBalancer --external-ip=10.10.11.20 -n media
kubectl edit services couchpotato-service -n mediaspec:type: LoadBalancerexternalIPs:- 192.168.0.10
kubectl delete daemonsets,replicasets,services,deployments,pods,rc --all
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands
https://www.ibm.com/support/knowledgecenter/en/SSBS6K_2.1.0/manage_cluster/create_hostpath.html