Created
June 23, 2022 04:58
-
-
Save lomkju/dbe321ddc1929e65d658d61a22fc545c to your computer and use it in GitHub Desktop.
k8s-shell-pod
This file contains 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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: test | |
spec: | |
containers: | |
- args: | |
- -c | |
- while true; do sleep 10;done | |
command: | |
- sh | |
image: gcr.io/distroless/base:debug | |
name: test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment