2015-06-10 20:35:45 +00:00
|
|
|
apiVersion: v1
|
2014-12-16 06:54:01 +00:00
|
|
|
kind: Pod
|
2015-05-13 20:03:28 +00:00
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
test: liveness
|
|
|
|
name: liveness-http
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- args:
|
|
|
|
- /server
|
|
|
|
image: gcr.io/google_containers/liveness
|
|
|
|
livenessProbe:
|
|
|
|
httpGet:
|
|
|
|
path: /healthz
|
|
|
|
port: 8080
|
2016-02-02 15:03:50 +00:00
|
|
|
httpHeaders:
|
|
|
|
- name: X-Custom-Header
|
|
|
|
value: Awesome
|
2015-05-13 20:03:28 +00:00
|
|
|
initialDelaySeconds: 15
|
|
|
|
timeoutSeconds: 1
|
2016-03-09 21:32:32 +00:00
|
|
|
name: liveness-http
|