You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
439 B
YAML

# Really this pod is for running manual commands. It just sits there in a sleep loop waiting to connect.
# I use it will tools like dig or psycopg2 to test out DNS and such within my cluster.
apiVersion: v1
kind: Pod
metadata:
name: cmd-demo
labels:
purpose: demonstrate-command
spec:
containers:
- name: cmd-demo
image: python:3.8.11-buster
command: ['sleep']
args: ['infinity']
restartPolicy: OnFailure