1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-30 19:35:06 +00:00

update examples

This commit is contained in:
Shuting Zhao 2019-07-21 16:10:34 -07:00
parent e9e7d8faff
commit 21424d55b8
3 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
kind: Namespace
apiVersion: v1
metadata:
name: "demo"
name: "devtest"

View file

@ -6,7 +6,7 @@ metadata:
name: probe
spec:
containers:
- name: readiness
- name: check-readiness
image: k8s.gcr.io/busybox
args:
- /bin/sh
@ -18,7 +18,7 @@ spec:
command:
- cat
- /tmp/healthy
- name: liveness
- name: check-liveness
image: k8s.gcr.io/liveness
args:
- /server

View file

@ -13,7 +13,7 @@ spec:
pattern:
spec:
containers:
- (name): "readiness"
- (name): "check-readiness"
readinessProbe:
successThreshold: ">1"
- name: check-livenessProbe-exists
@ -25,7 +25,7 @@ spec:
pattern:
spec:
containers:
- (name): "liveness"
- (name): "check-liveness"
livenessProbe:
httpGet:
path: "?*"