Merge pull request #5485 from vishh/heapster_release
Updating heapster version to v0.9.
This commit is contained in:
commit
0c84309059
@ -12,10 +12,21 @@ desiredState:
|
|||||||
id: monitoring-heapster
|
id: monitoring-heapster
|
||||||
containers:
|
containers:
|
||||||
- name: heapster
|
- name: heapster
|
||||||
image: kubernetes/heapster:v0.8
|
image: kubernetes/heapster:v0.9
|
||||||
env:
|
env:
|
||||||
- name: "INFLUXDB_HOST"
|
- name: "INFLUXDB_HOST"
|
||||||
value: "monitoring-influxdb"
|
value: "monitoring-influxdb"
|
||||||
|
- name: "SINK"
|
||||||
|
value: "influxdb"
|
||||||
|
volumeMounts:
|
||||||
|
- name: ssl-certs
|
||||||
|
mountPath: /etc/ssl/certs
|
||||||
|
readOnly: true
|
||||||
|
volumes:
|
||||||
|
- name: ssl-certs
|
||||||
|
source:
|
||||||
|
hostDir:
|
||||||
|
path: /etc/ssl/certs
|
||||||
labels:
|
labels:
|
||||||
name: heapster
|
name: heapster
|
||||||
uses: monitoring-influxdb
|
uses: monitoring-influxdb
|
||||||
|
@ -22,7 +22,7 @@ desiredState:
|
|||||||
- containerPort: 8086
|
- containerPort: 8086
|
||||||
hostPort: 8086
|
hostPort: 8086
|
||||||
- name: grafana
|
- name: grafana
|
||||||
image: kubernetes/heapster_grafana:v0.4
|
image: kubernetes/heapster_grafana:v0.5
|
||||||
env:
|
env:
|
||||||
- name: "HTTP_USER"
|
- name: "HTTP_USER"
|
||||||
value: "admin"
|
value: "admin"
|
||||||
@ -31,9 +31,11 @@ desiredState:
|
|||||||
- name: "INFLUXDB_PROTO"
|
- name: "INFLUXDB_PROTO"
|
||||||
value: "https"
|
value: "https"
|
||||||
- name: "INFLUXDB_HOST"
|
- name: "INFLUXDB_HOST"
|
||||||
value: '"+window.location.hostname+"/api/v1beta1/proxy/services/monitoring-influxdb'
|
value: "localhost"
|
||||||
- name: "INFLUXDB_PORT"
|
- name: "INFLUXDB_PORT"
|
||||||
value: ""
|
value: ""
|
||||||
|
- name: "KUBERNETES_API_PORT"
|
||||||
|
value: ""
|
||||||
labels:
|
labels:
|
||||||
name: influxGrafana
|
name: influxGrafana
|
||||||
kubernetes.io/cluster-service: "true"
|
kubernetes.io/cluster-service: "true"
|
||||||
|
@ -54,8 +54,8 @@ const (
|
|||||||
influxdbDatabaseName = "k8s"
|
influxdbDatabaseName = "k8s"
|
||||||
influxdbUser = "root"
|
influxdbUser = "root"
|
||||||
influxdbPW = "root"
|
influxdbPW = "root"
|
||||||
podlistQuery = "select distinct(pod) from stats"
|
podlistQuery = "select distinct(pod_id) from /cpu.*/"
|
||||||
nodelistQuery = "select distinct(hostname) from machine"
|
nodelistQuery = "select distinct(hostname) from /cpu.*/"
|
||||||
sleepBetweenAttempts = 5 * time.Second
|
sleepBetweenAttempts = 5 * time.Second
|
||||||
testTimeout = 5 * time.Minute
|
testTimeout = 5 * time.Minute
|
||||||
)
|
)
|
||||||
@ -89,7 +89,7 @@ func verifyExpectedRcsExistAndGetExpectedPods(c *client.Client) ([]string, error
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
for _, pod := range podList.Items {
|
for _, pod := range podList.Items {
|
||||||
expectedPods = append(expectedPods, pod.Name)
|
expectedPods = append(expectedPods, string(pod.UID))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user