k8s-clusters/home/manifests/alpine-playground/pod.yaml

15 lines
296 B
YAML
Raw Normal View History

apiVersion: v1
kind: Pod
metadata:
name: alpine-playground
namespace: default
labels:
app: alpine-playground
spec:
containers:
- image: alpine
imagePullPolicy: IfNotPresent
name: alpine-playground
command: ["sh", "-c", "sleep 3600 && exit 1"]
restartPolicy: OnFailure