Skip to content

Commit 9e5ffb0

Browse files
authored
Adding yaml file in folder of examples (#334)
* Adding yaml file in folder of examples * Fixing make lint * Fixing make lint
1 parent 29e5782 commit 9e5ffb0

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
apiVersion: v1
2+
kind: Pod
3+
metadata:
4+
labels:
5+
test: liveness
6+
name: liveness-http
7+
namespace: tnf
8+
test-network-function.com/generic: target
9+
spec:
10+
containers:
11+
- name: liveness
12+
image: registry.k8s.io/busybox
13+
args:
14+
- /bin/sh
15+
- -c
16+
- touch /tmp/healthy; sleep 30; rm -f /tmp/healthy; sleep 600
17+
livenessProbe:
18+
exec:
19+
command:
20+
- cat
21+
- /tmp/healthy
22+
initialDelaySeconds: 5
23+
periodSeconds: 5

0 commit comments

Comments
 (0)