mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-26 12:46:06 +00:00
Add keep options
This commit is contained in:
24
hack/testdata/pod-with-metadata-and-probes.yaml
vendored
Normal file
24
hack/testdata/pod-with-metadata-and-probes.yaml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
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
|
Reference in New Issue
Block a user