Custom Resource Definitions¶
Check what CRDs are¶
$ kubectl get crd
$ kubectl get crd <crd> -o yaml
Get instances of a specific crd
$ kubectl get <crd_name> -A
Node debugging¶
$ kubectl debug node/node_name --it --image bash
Or use the node-admin
krew plugin. Another cool trick:
kubectl run h0nk --rm -it \
--image alpine --privileged \
--overrides '{"spec":{"hostPID": true}}'\
--command nsenter – \
--mount=/proc/1/ns/mnt
From Ian Coldwater tweet