Skip to content

Instantly share code, notes, and snippets.

@kanedafromparis
kanedafromparis / KubeletDebugging.md
Created August 14, 2020 11:32 — forked from PatrickLang/README.md
Kubelet debugging snippets

Reaching kubelet API endpoints

If you have a valid kubeconfig, then you can proxy through the apiserver to reach the kubelet's API on each node

kubectl proxy
@kanedafromparis
kanedafromparis / oc get all
Last active February 21, 2020 09:45 — forked from fjcloud/oc get all
oc get --ignore-not-found $( oc api-resources --verbs=list --namespaced -o name | xargs | sed 's/\ /,/g')
k get --ignore-not-found $( k api-resources --verbs=list --namespaced -o name | xargs | sed 's/\ /,/g')
oc get --ignore-not-found $( oc api-resources --verbs=list --namespaced -o name | xargs | sed 's/\ /,/g')
oc get --ignore-not-found $( oc api-resources --verbs=list --namespaced -o name | xargs | sed 's/\ /,/g')