Created
April 5, 2022 04:59
-
-
Save anjanashankar9/dec2fe6cdaa1e106da48a002f206a659 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
labels: | |
test: liveness | |
name: live-http | |
spec: | |
containers: | |
- name: liveness | |
image: k8s.gcr.io/liveness | |
args: | |
- /server | |
livenessProbe: | |
httpGet: | |
path: /healthz | |
port: 8080 | |
httpHeaders: | |
- name: Custom-Header | |
value: Awesome | |
initialDelaySeconds: 3 | |
periodSeconds: 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment