1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- {
- "kind": "ReplicationController",
- "apiVersion": "v1",
- "metadata": {
- "name": "heapster-v1.3.0",
- "labels": {
- "k8s-app": "heapster",
- "version": "v1.3.0"
- }
- },
- "spec": {
- "replicas": 1,
- "selector": {
- "k8s-app": "heapster",
- "version": "v1.3.0"
- },
- "template": {
- "metadata": {
- "labels": {
- "k8s-app": "heapster",
- "version": "v1.3.0"
- }
- },
- "spec": {
- "volumes": [
- {
- "name": "kubeconfig-volume",
- "secret": {
- "secretName": "kubeconfig"
- }
- }
- ],
- "containers": [
- {
- "name": "heapster",
- "image": "k8s.gcr.io/heapster:v1.3.0",
- "resources": {
- "requests": {
- "cpu": "{{METRICS_CPU}}m",
- "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": "k8s.gcr.io/heapster:v1.3.0",
- "resources": {
- "requests": {
- "memory": "{{EVENTER_MEM}}Ki"
- }
- },
- "command": [
- "/eventer"
- ],
- "args": [
- "--source=kubernetes:https://{{MASTER_IP}}:443?inClusterConfig=0&useServiceAccount=0&auth=/kubeconfig/heapster.kubeconfig"
- ],
- "volumeMounts": [
- {
- "name": "kubeconfig-volume",
- "mountPath": "/kubeconfig"
- }
- ]
- }]
- }
- }
- }
- }
|