List all CRDs

All Custom Resource Definitions, sorted by creation time

kubectl get crds --sort-by='.metadata.creationTimestamp'

tool
kubectl73 commands
tags
configdebug

More kubectl commands

  • kubectl get endpoints <svc> -n <ns>

    Pod IPs behind a Service; empty output usually means the selector does not match

  • kubectl get certificate -A -o wide

    Shows if each Certificate is Ready, plus its secret and issuer; the expiry date is in describe

  • kubectl get pod <pod> -n <ns> -o jsonpath='{.spec.topologySpreadConstraints}'

    Prints the topologySpreadConstraints of a pod

  • kubectl apply -f ./dir/ --prune -l app=<label> -n <ns>

    Applies manifests and deletes objects with this label that are no longer in the files

  • kubectl diff -f file.yaml

    Shows what will change if you apply this manifest now

all 73 kubectl commands