mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +00:00
update fedora_ansible_config.md to v1beta3
This commit is contained in:
parent
0378894f44
commit
4ef7b33d4c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user