mirror of https://github.com/k3s-io/k3s
46 lines
1.1 KiB
JSON
46 lines
1.1 KiB
JSON
![]() |
{
|
||
|
"items": [
|
||
|
{
|
||
|
"id": "my-task-1",
|
||
|
"labels": {
|
||
|
"name": "testRun",
|
||
|
"replicationController": "testRun"
|
||
|
},
|
||
|
"desiredState": {
|
||
|
"manifest": {
|
||
|
"containers": [{
|
||
|
"image": "dockerfile/nginx",
|
||
|
"ports": [{
|
||
|
"hostPort": 8080,
|
||
|
"containerPort": 80
|
||
|
}]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"currentState": {
|
||
|
"host": "host-1"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": "my-task-2",
|
||
|
"labels": {
|
||
|
"name": "testRun",
|
||
|
"replicationController": "testRun"
|
||
|
},
|
||
|
"desiredState": {
|
||
|
"manifest": {
|
||
|
"containers": [{
|
||
|
"image": "dockerfile/nginx",
|
||
|
"ports": [{
|
||
|
"hostPort": 8080,
|
||
|
"containerPort": 80
|
||
|
}]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"currentState": {
|
||
|
"host": "host-2"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|