mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-17 15:50:10 +00:00
Fix grafana and heapster RC names
This commit is contained in:
parent
a0356bca96
commit
053c2b2100
@ -1,5 +1,5 @@
|
||||
apiVersion: "v1beta1"
|
||||
id: "monitoring-heapsterController"
|
||||
id: "monitoring-heapster-controller"
|
||||
kind: "ReplicationController"
|
||||
desiredState:
|
||||
replicas: 1
|
||||
@ -9,7 +9,7 @@ desiredState:
|
||||
desiredState:
|
||||
manifest:
|
||||
version: "v1beta1"
|
||||
id: "monitoring-heapsterController"
|
||||
id: "monitoring-heapster-controller"
|
||||
containers:
|
||||
- name: "heapster"
|
||||
image: "kubernetes/heapster:v0.6"
|
||||
|
@ -1,6 +1,6 @@
|
||||
apiVersion: "v1beta1"
|
||||
kind: "ReplicationController"
|
||||
id: "monitoring-influxGrafanaController"
|
||||
id: "monitoring-influx-grafana-controller"
|
||||
desiredState:
|
||||
replicas: 1
|
||||
replicaSelector:
|
||||
@ -11,7 +11,7 @@ desiredState:
|
||||
desiredState:
|
||||
manifest:
|
||||
version: "v1beta1"
|
||||
id: "monitoring-influxGrafanaController"
|
||||
id: "monitoring-influx-grafana-controller"
|
||||
containers:
|
||||
- name: "influxdb"
|
||||
image: "kubernetes/heapster_influxdb:v0.3"
|
||||
|
@ -49,8 +49,8 @@ function setup {
|
||||
}
|
||||
|
||||
function cleanup {
|
||||
"${KUBECFG}" resize monitoring-influxGrafanaController 0 &> /dev/null || true
|
||||
"${KUBECFG}" resize monitoring-heapsterController 0 &> /dev/null || true
|
||||
"${KUBECFG}" resize monitoring-influx-grafana-controller 0 &> /dev/null || true
|
||||
"${KUBECFG}" resize monitoring-heapster-controller 0 &> /dev/null || true
|
||||
while "${KUBECTL}" get pods -l "name=influxGrafana" -o template -t {{range.items}}{{.id}}:{{end}} | grep -c . &> /dev/null \
|
||||
|| "${KUBECTL}" get pods -l "name=heapster" -o template -t {{range.items}}{{.id}}:{{end}} | grep -c . &> /dev/null; do
|
||||
sleep 2
|
||||
|
Loading…
Reference in New Issue
Block a user