2016-04-20 17:59:32 +00:00
|
|
|
{
|
|
|
|
"kind": "ReplicationController",
|
|
|
|
"apiVersion": "v1",
|
|
|
|
"metadata": {
|
2017-03-17 14:40:11 +00:00
|
|
|
"name": "heapster-v1.3.0",
|
2016-04-20 17:59:32 +00:00
|
|
|
"labels": {
|
|
|
|
"k8s-app": "heapster",
|
2017-03-17 14:40:11 +00:00
|
|
|
"version": "v1.3.0"
|
2016-04-20 17:59:32 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"spec": {
|
|
|
|
"replicas": 1,
|
|
|
|
"selector": {
|
|
|
|
"k8s-app": "heapster",
|
2017-03-17 14:40:11 +00:00
|
|
|
"version": "v1.3.0"
|
2016-04-20 17:59:32 +00:00
|
|
|
},
|
|
|
|
"template": {
|
|
|
|
"metadata": {
|
|
|
|
"labels": {
|
|
|
|
"k8s-app": "heapster",
|
2017-03-17 14:40:11 +00:00
|
|
|
"version": "v1.3.0"
|
2016-04-20 17:59:32 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"spec": {
|
|
|
|
"volumes": [
|
|
|
|
{
|
|
|
|
"name": "kubeconfig-volume",
|
|
|
|
"secret": {
|
|
|
|
"secretName": "kubeconfig"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"containers": [
|
|
|
|
{
|
|
|
|
"name": "heapster",
|
Switch to k8s.gcr.io vanity domain
This is the 2nd attempt. The previous was reverted while we figured out
the regional mirrors (oops).
New plan: k8s.gcr.io is a read-only facade that auto-detects your source
region (us, eu, or asia for now) and pulls from the closest. To publish
an image, push k8s-staging.gcr.io and it will be synced to the regionals
automatically (similar to today). For now the staging is an alias to
gcr.io/google_containers (the legacy URL).
When we move off of google-owned projects (working on it), then we just
do a one-time sync, and change the google-internal config, and nobody
outside should notice.
We can, in parallel, change the auto-sync into a manual sync - send a PR
to "promote" something from staging, and a bot activates it. Nice and
visible, easy to keep track of.
2018-01-17 19:36:53 +00:00
|
|
|
"image": "k8s.gcr.io/heapster:v1.3.0",
|
2016-04-20 17:59:32 +00:00
|
|
|
"resources": {
|
|
|
|
"requests": {
|
2017-05-22 13:33:10 +00:00
|
|
|
"cpu": "{{METRICS_CPU}}m",
|
2016-12-05 23:20:11 +00:00
|
|
|
"memory": "{{METRICS_MEM}}Mi"
|
2016-04-20 17:59:32 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"command": [
|
|
|
|
"/heapster"
|
|
|
|
],
|
|
|
|
"args": [
|
2017-01-17 13:39:59 +00:00
|
|
|
"--source=kubernetes:https://{{MASTER_IP}}:443?inClusterConfig=0&useServiceAccount=0&auth=/kubeconfig/heapster.kubeconfig"
|
2016-04-20 17:59:32 +00:00
|
|
|
],
|
|
|
|
"volumeMounts": [
|
|
|
|
{
|
|
|
|
"name": "kubeconfig-volume",
|
|
|
|
"mountPath": "/kubeconfig"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "eventer",
|
Switch to k8s.gcr.io vanity domain
This is the 2nd attempt. The previous was reverted while we figured out
the regional mirrors (oops).
New plan: k8s.gcr.io is a read-only facade that auto-detects your source
region (us, eu, or asia for now) and pulls from the closest. To publish
an image, push k8s-staging.gcr.io and it will be synced to the regionals
automatically (similar to today). For now the staging is an alias to
gcr.io/google_containers (the legacy URL).
When we move off of google-owned projects (working on it), then we just
do a one-time sync, and change the google-internal config, and nobody
outside should notice.
We can, in parallel, change the auto-sync into a manual sync - send a PR
to "promote" something from staging, and a bot activates it. Nice and
visible, easy to keep track of.
2018-01-17 19:36:53 +00:00
|
|
|
"image": "k8s.gcr.io/heapster:v1.3.0",
|
2016-04-20 17:59:32 +00:00
|
|
|
"resources": {
|
|
|
|
"requests": {
|
2016-12-05 23:20:11 +00:00
|
|
|
"memory": "{{EVENTER_MEM}}Ki"
|
2016-04-20 17:59:32 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"command": [
|
|
|
|
"/eventer"
|
|
|
|
],
|
|
|
|
"args": [
|
2017-01-25 13:16:06 +00:00
|
|
|
"--source=kubernetes:https://{{MASTER_IP}}:443?inClusterConfig=0&useServiceAccount=0&auth=/kubeconfig/heapster.kubeconfig"
|
2016-04-20 17:59:32 +00:00
|
|
|
],
|
|
|
|
"volumeMounts": [
|
|
|
|
{
|
|
|
|
"name": "kubeconfig-volume",
|
|
|
|
"mountPath": "/kubeconfig"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
|
|
|
|
}]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|