cri-o/vendor/k8s.io/kubernetes/test/kubemark/resources/heapster_template.json

84 lines
1.6 KiB
JSON
Raw Normal View History

{
"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": [
"--source=kubernetes:https://{{MASTER_IP}}:443?inClusterConfig=0&useServiceAccount=0&auth=/kubeconfig/heapster.kubeconfig"
],
"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": [
"--source=kubernetes:https://104.197.233.84:443?inClusterConfig=0&useServiceAccount=0&auth=/kubeconfig/heapster.kubeconfig"
],
"volumeMounts": [
{
"name": "kubeconfig-volume",
"mountPath": "/kubeconfig"
}
]
}]
}
}
}
}