apiVersion: v1
kind: Pod
metadata:
annotations:
test: test
labels:
run: target
name: target
spec:
containers:
- image: registry.k8s.io/nginx:1.7.9
name: target
readinessProbe:
exec:
command: ["/bin/sh", "-c", "cat probe"]
livenessProbe:
exec:
command: ["/bin/sh", "-c", "cat probe"]
startupProbe:
exec:
command: ["/bin/sh", "-c", "cat probe"]
initContainers:
- image: busybox
name: init