mirror of https://github.com/k3s-io/k3s
87 lines
1.4 KiB
JSON
87 lines
1.4 KiB
JSON
![]() |
{
|
||
|
"kind": "ReplicationController",
|
||
|
"apiVersion": "v1",
|
||
|
"metadata": {
|
||
![]() |
"name": "hollow-node",
|
||
![]() |
"labels": {
|
||
![]() |
"name": "hollow-node"
|
||
![]() |
}
|
||
|
},
|
||
|
"spec": {
|
||
|
"replicas": ##numreplicas##,
|
||
|
"selector": {
|
||
![]() |
"name": "hollow-node"
|
||
![]() |
},
|
||
|
"template": {
|
||
|
"metadata": {
|
||
|
"labels": {
|
||
![]() |
"name": "hollow-node"
|
||
![]() |
}
|
||
|
},
|
||
|
"spec": {
|
||
![]() |
"volumes": [
|
||
|
{
|
||
|
"name": "kubeconfig-volume",
|
||
|
"secret": {
|
||
|
"secretName": "kubeconfig"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
![]() |
"containers": [
|
||
|
{
|
||
![]() |
"name": "hollow-kubelet",
|
||
![]() |
"image": "gcr.io/##project##/kubemark:latest",
|
||
![]() |
"ports": [
|
||
|
{"containerPort": 4194},
|
||
|
{"containerPort": 10250},
|
||
|
{"containerPort": 10255}
|
||
|
],
|
||
|
"command": [
|
||
|
"./kubemark.sh"
|
||
|
],
|
||
|
"args": [
|
||
![]() |
"--v=3",
|
||
|
"--morph=kubelet"
|
||
![]() |
],
|
||
![]() |
"volumeMounts": [
|
||
|
{
|
||
|
"name": "kubeconfig-volume",
|
||
|
"mountPath": "/kubeconfig"
|
||
|
}
|
||
|
],
|
||
![]() |
"resources": {
|
||
|
"requests": {
|
||
|
"cpu": "50m",
|
||
|
"memory": "100M"
|
||
|
}
|
||
|
}
|
||
![]() |
|
||
|
},
|
||
|
{
|
||
|
"name": "hollow-proxy",
|
||
|
"image": "gcr.io/##project##/kubemark:latest",
|
||
|
"command": [
|
||
|
"./kubemark.sh"
|
||
|
],
|
||
|
"args": [
|
||
|
"--v=3",
|
||
|
"--morph=proxy"
|
||
|
],
|
||
|
"volumeMounts": [
|
||
|
{
|
||
|
"name": "kubeconfig-volume",
|
||
|
"mountPath": "/kubeconfig"
|
||
|
}
|
||
|
],
|
||
|
"resources": {
|
||
|
"requests": {
|
||
|
"cpu": "20m",
|
||
|
"memory": "100M"
|
||
|
}
|
||
|
}
|
||
![]() |
}]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|