2017-02-01 00:45:59 +00:00
|
|
|
{
|
|
|
|
"kind": "ReplicationController",
|
|
|
|
"apiVersion": "v1",
|
|
|
|
"metadata": {
|
|
|
|
"name": "heapster-v1.3.0-beta.0",
|
|
|
|
"labels": {
|
|
|
|
"k8s-app": "heapster",
|
|
|
|
"version": "v1.3.0-beta.0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"spec": {
|
|
|
|
"replicas": 1,
|
|
|
|
"selector": {
|
|
|
|
"k8s-app": "heapster",
|
|
|
|
"version": "v1.3.0-beta.0"
|
|
|
|
},
|
|
|
|
"template": {
|
|
|
|
"metadata": {
|
|
|
|
"labels": {
|
|
|
|
"k8s-app": "heapster",
|
|
|
|
"version": "v1.3.0-beta.0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"spec": {
|
|
|
|
"volumes": [
|
|
|
|
{
|
|
|
|
"name": "kubeconfig-volume",
|
|
|
|
"secret": {
|
|
|
|
"secretName": "kubeconfig"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"containers": [
|
|
|
|
{
|
|
|
|
"name": "heapster",
|
|
|
|
"image": "gcr.io/google_containers/heapster:v1.3.0-beta.0",
|
|
|
|
"resources": {
|
|
|
|
"requests": {
|
|
|
|
"cpu": "100m",
|
|
|
|
"memory": "{{METRICS_MEM}}Mi"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"command": [
|
|
|
|
"/heapster"
|
|
|
|
],
|
|
|
|
"args": [
|
2017-02-03 13:41:32 +00:00
|
|
|
"--source=kubernetes:https://{{MASTER_IP}}:443?inClusterConfig=0&useServiceAccount=0&auth=/kubeconfig/heapster.kubeconfig"
|
2017-02-01 00:45:59 +00:00
|
|
|
],
|
|
|
|
"volumeMounts": [
|
|
|
|
{
|
|
|
|
"name": "kubeconfig-volume",
|
|
|
|
"mountPath": "/kubeconfig"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "eventer",
|
|
|
|
"image": "gcr.io/google_containers/heapster:v1.3.0-beta.0",
|
|
|
|
"resources": {
|
|
|
|
"requests": {
|
|
|
|
"cpu": "100m",
|
|
|
|
"memory": "{{EVENTER_MEM}}Ki"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"command": [
|
|
|
|
"/eventer"
|
|
|
|
],
|
|
|
|
"args": [
|
2017-02-03 13:41:32 +00:00
|
|
|
"--source=kubernetes:https://104.197.233.84:443?inClusterConfig=0&useServiceAccount=0&auth=/kubeconfig/heapster.kubeconfig"
|
2017-02-01 00:45:59 +00:00
|
|
|
],
|
|
|
|
"volumeMounts": [
|
|
|
|
{
|
|
|
|
"name": "kubeconfig-volume",
|
|
|
|
"mountPath": "/kubeconfig"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
|
|
|
|
}]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|