Run image

kubectl run -it --rm debug --image=alpine -- sh
kubectl run -it --rm debug --image=postgres:17-alpine -- bash

Forward port

kubectl port-forward pod/alpine 4433:4433

Delete label (label-name from default)

kubectl label namespace default label-name-

Delete mutatingwebhookconfiguration

kubectl delete mutatingwebhookconfiguration ecr-pull-through
Navigation
Print/export
QR Code
QR Code k8s_kubectl:kubectl (generated for current page)