k8s.io/kubernetes@v1.31.0-alpha.0.0.20240520171757-56147500dadc/hack/testdata/pod-with-metadata-and-probes.yaml (about) 1 apiVersion: v1 2 kind: Pod 3 metadata: 4 annotations: 5 test: test 6 labels: 7 run: target 8 name: target 9 spec: 10 containers: 11 - image: registry.k8s.io/nginx:1.7.9 12 name: target 13 readinessProbe: 14 exec: 15 command: ["/bin/sh", "-c", "cat probe"] 16 livenessProbe: 17 exec: 18 command: ["/bin/sh", "-c", "cat probe"] 19 startupProbe: 20 exec: 21 command: ["/bin/sh", "-c", "cat probe"] 22 initContainers: 23 - image: busybox 24 name: init