mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 11:38:15 +00:00
Merge pull request #8961 from caesarxuchao/juju
update getting-started-guides/juju.md to v1beta3
This commit is contained in:
commit
bb2f0b6577
@ -96,26 +96,24 @@ We'll follow the aws-coreos example. Create a pod manifest: `pod.json`
|
|||||||
|
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
"id": "hello",
|
"apiVersion": "v1beta3",
|
||||||
"kind": "Pod",
|
"kind": "Pod",
|
||||||
"apiVersion": "v1beta1",
|
"metadata": {
|
||||||
"desiredState": {
|
"name": "hello",
|
||||||
"manifest": {
|
"labels": {
|
||||||
"version": "v1beta1",
|
"name": "hello",
|
||||||
"id": "hello",
|
"environment": "testing"
|
||||||
"containers": [{
|
|
||||||
"name": "hello",
|
|
||||||
"image": "quay.io/kelseyhightower/hello",
|
|
||||||
"ports": [{
|
|
||||||
"containerPort": 80,
|
|
||||||
"hostPort": 80
|
|
||||||
}]
|
|
||||||
}]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"labels": {
|
"spec": {
|
||||||
"name": "hello",
|
"containers": [{
|
||||||
"environment": "testing"
|
"name": "hello",
|
||||||
|
"image": "quay.io/kelseyhightower/hello",
|
||||||
|
"ports": [{
|
||||||
|
"containerPort": 80,
|
||||||
|
"hostPort": 80
|
||||||
|
}]
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user