Last active
March 3, 2021 06:49
-
-
Save georgegoh/4d4f839e0e7edfebc261f5c3b354f147 to your computer and use it in GitHub Desktop.
Run a deploy pod - to attach `kubectl attach -i debug`
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: | |
labels: | |
run: debug | |
name: debug | |
namespace: default | |
spec: | |
containers: | |
- args: | |
- sh | |
image: busybox | |
imagePullPolicy: Always | |
name: debug | |
resources: {} | |
stdin: true | |
stdinOnce: true | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
tty: true | |
volumeMounts: [] | |
dnsPolicy: ClusterFirst | |
restartPolicy: Never | |
volumes: [] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment