mirror of https://github.com/k3s-io/k3s
32 lines
650 B
JSON
32 lines
650 B
JSON
![]() |
{
|
||
|
"id": "flower-controller",
|
||
|
"kind": "ReplicationController",
|
||
|
"apiVersion": "v1beta1",
|
||
|
"desiredState": {
|
||
|
"replicas": 1,
|
||
|
"replicaSelector": {"name": "flower"},
|
||
|
"podTemplate": {
|
||
|
"desiredState": {
|
||
|
"manifest": {
|
||
|
"version": "v1beta1",
|
||
|
"id": "flower",
|
||
|
"containers": [{
|
||
|
"name": "flower",
|
||
|
"image": "endocode/flower",
|
||
|
"cpu": 100,
|
||
|
"ports": [{"containerPort": 5555, "hostPort": 5555}]
|
||
|
}]
|
||
|
}
|
||
|
},
|
||
|
"labels": {
|
||
|
"name": "flower",
|
||
|
"app": "taskQueue"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"labels": {
|
||
|
"name": "flower"
|
||
|
}
|
||
|
}
|
||
|
|