Add keep options

This commit is contained in:
mochizuki875
2024-02-06 07:19:23 +00:00
parent d8ed461ba1
commit b63fa1300c
6 changed files with 903 additions and 231 deletions

View 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