k8s-samples/CKA_Course/pods/health/restart-always.yaml

11 lines
173 B
YAML
Raw Permalink Normal View History

2022-08-17 02:59:58 +00:00
apiVersion: v1
kind: Pod
metadata:
name: always-pod
spec:
restartPolicy: Always
containers:
- name: busybox
image: busybox
command: ["sh", "-c", "sleep 10"]