update fedora_ansible_config.md to v1beta3

This commit is contained in:
Chao Xu 2015-05-28 15:43:09 -07:00
parent 0378894f44
commit 4ef7b33d4c

View File

@ -174,25 +174,27 @@ iptables -nvL
``` ```
cat << EOF > apache.json cat << EOF > apache.json
{ {
"id": "fedoraapache",
"kind": "Pod", "kind": "Pod",
"apiVersion": "v1beta1", "apiVersion": "v1beta3",
"desiredState": { "metadata": {
"manifest": { "name": "fedoraapache",
"version": "v1beta1", "labels": {
"id": "fedoraapache", "name": "fedoraapache"
"containers": [{
"name": "fedoraapache",
"image": "fedora/apache",
"ports": [{
"containerPort": 80,
"hostPort": 80
}]
}]
} }
}, },
"labels": { "spec": {
"name": "fedoraapache" "containers": [
{
"name": "fedoraapache",
"image": "fedora/apache",
"ports": [
{
"hostPort": 80,
"containerPort": 80
}
]
}
]
} }
} }
EOF EOF