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