k8s-samples/CKA_Course/pods/health/readiness.yaml
2022-08-16 21:59:58 -05:00

14 lines
238 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: readiness-pod
spec:
containers:
- name: nginx
image: nginx:1.19.1
readinessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 5
periodSeconds: 5