Created
June 30, 2021 18:08
-
-
Save tataranovich/af86e040b714ac34c96251c52c8bc627 to your computer and use it in GitHub Desktop.
Debug shell for Kubernetes
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: apps/v1 | |
kind: Deployment | |
metadata: | |
name: debug-shell | |
labels: | |
app: debug-shell | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: debug-shell | |
template: | |
metadata: | |
labels: | |
app: debug-shell | |
spec: | |
containers: | |
- name: debian | |
image: debian:10 | |
command: | |
- bash | |
args: | |
- -c | |
- 'sleep 1d' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment