Kubernetes advanced

PHOTO EMBED

Mon May 09 2022 12:12:35 GMT+0000 (UTC)

Saved by @bmillot #kubernetes

# List images per pods
kubectl get pods --all-namespaces -o jsonpath='{range .items[*]}{"\n"}{.metadata.name}{":\t"}{range .spec.containers[*]}{.image}{", "}{end}{end}' |\
sort
# Connect to node
kubectl debug node/{node-name} -it --image=mcr.microsoft.com/dotnet/runtime-deps:6.0
content_copyCOPY