From a00dcc1f7074656ec1f6d83625d95d7b6ea85180 Mon Sep 17 00:00:00 2001 From: Kelsey Hightower Date: Wed, 23 Jul 2014 07:24:30 -0700 Subject: [PATCH] Update the broken pod.json example in the README --- README.md | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 725335e4a18..163eec4d516 100644 --- a/README.md +++ b/README.md @@ -89,13 +89,29 @@ Where pod.json contains something like: ``` { - "ID": "nginx", + "id": "php", "desiredState": { - "image": "dockerfile/nginx", - "networkPorts": [{ - "containerPort": 80, - "hostPort": 8080 - }] + "manifest": { + "version": "v1beta1", + "id": "php", + "containers": [{ + "name": "nginx", + "image": "dockerfile/nginx", + "ports": [{ + "containerPort": 80, + "hostPort": 8080 + }], + "livenessProbe": { + "enabled": true, + "type": "http", + "initialDelaySeconds": 30, + "httpGet": { + "path": "/index.html", + "port": "8080" + } + } + }] + } }, "labels": { "name": "foo"