update example/liveness to v1beta3;

update the exec-liveness.yaml to reflect PR#8011
add a README
This commit is contained in:
Chao Xu
2015-05-13 13:03:28 -07:00
parent c50f906170
commit 2dcecf1f65
6 changed files with 117 additions and 94 deletions

View File

@@ -1,19 +1,18 @@
apiVersion: v1beta1
desiredState:
manifest:
containers:
- image: gcr.io/google_containers/liveness
name: liveness
livenessProbe:
httpGet:
path: "/healthz"
port: 8080
initialDelaySeconds: 15
command:
- /server
id: liveness-http
version: v1beta1
id: liveness-http
apiVersion: v1beta3
kind: Pod
labels:
test: liveness
metadata:
labels:
test: liveness
name: liveness-http
spec:
containers:
- args:
- /server
image: gcr.io/google_containers/liveness
livenessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 15
timeoutSeconds: 1
name: liveness