mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +00:00
update getting-started-guides/juju.md to v1beta3, following 4f1fe55a9e
This commit is contained in:
parent
0378894f44
commit
bac48b4120
@ -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