15 lines
241 B
YAML
15 lines
241 B
YAML
|
apiVersion: v1
|
||
|
kind: Pod
|
||
|
metadata:
|
||
|
name: liveness-pod-http
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: nginx
|
||
|
image: nginx:1.19.1
|
||
|
livenessProbe:
|
||
|
httpGet:
|
||
|
path: /
|
||
|
port: 80
|
||
|
initialDelaySeconds: 5
|
||
|
periodSeconds: 5
|