k8s-samples/CKA_Course/pods/health/startup.yaml

15 lines
233 B
YAML
Raw Permalink Normal View History

2022-08-17 02:59:58 +00:00
apiVersion: v1
kind: Pod
metadata:
name: startup-pod
spec:
containers:
- name: nginx
image: nginx:1.19.1
startupProbe:
httpGet:
path: /
port: 80
failureThreshold: 30
periodSeconds: 10