Skip to content

Instantly share code, notes, and snippets.

@anjanashankar9
Created April 5, 2022 04:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anjanashankar9/dec2fe6cdaa1e106da48a002f206a659 to your computer and use it in GitHub Desktop.
Save anjanashankar9/dec2fe6cdaa1e106da48a002f206a659 to your computer and use it in GitHub Desktop.
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