This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl api-resources --verbs=list --namespaced -o name | | |
xargs -n 1 kubectl get --ignore-not-found -n my-namespace -o name | | |
xargs -n 1 kubectl patch -n my-namespace -p '{"metadata":{"finalizers":null}}' --type merge |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create alpine bastion (that will live for a day) | |
kubectl -n my-namespace run bastion --image alpine --command sleep -- 1d | |
# Exec onto bastion - | |
# -i = interactive mode | |
# -t = tty terminal mode | |
kubectl -n my-namespace -it exec bastion -- ash | |
# Delete bastion | |
kubectl -n my-namespace delete pod bastion |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install colima docker docker-compose | |
colima start --network-address | |
# vi ~/.docker/config.json if historical config from docker desktop |
OlderNewer