mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-20 19:07:17 +01:00
Fix arm-exporter proxy listen port
This commit is contained in:
parent
4902887205
commit
645ac5333f
@ -22,7 +22,7 @@ local kp = (import 'kube-prometheus/kube-prometheus.libsonnet') +
|
||||
local proxy =
|
||||
container.new('kube-rbac-proxy', $._config.imageRepos.kubeRbacProxy + ':' + $._config.versions.kubeRbacProxy) +
|
||||
container.withArgs([
|
||||
'--secure-listen-address=$(IP):9243',
|
||||
'--secure-listen-address=:9243',
|
||||
'--upstream=http://127.0.0.1:9243/',
|
||||
]) +
|
||||
container.withPorts(containerPort.new(9243) + containerPort.withHostPort(9243) + containerPort.withName('https')) +
|
||||
|
@ -25,7 +25,7 @@ spec:
|
||||
cpu: 50m
|
||||
memory: 50Mi
|
||||
- args:
|
||||
- --secure-listen-address=$(IP):9243
|
||||
- --secure-listen-address=:9243
|
||||
- --upstream=http://127.0.0.1:9243/
|
||||
image: carlosedp/kube-rbac-proxy:v0.4.1
|
||||
name: kube-rbac-proxy
|
||||
|
@ -6392,7 +6392,7 @@ items:
|
||||
"editable": true,
|
||||
"gnetId": 162,
|
||||
"graphTooltip": 1,
|
||||
"id": 13,
|
||||
"id": 7,
|
||||
"links": [
|
||||
|
||||
],
|
||||
@ -7864,10 +7864,10 @@ items:
|
||||
"steppedLine": false,
|
||||
"targets": [
|
||||
{
|
||||
"expr": "topk(10,sum(rate(container_network_transmit_bytes_total{name=\u007e\".+\"}[5m])) by (name))",
|
||||
"expr": "topk(10,sum(rate(container_network_transmit_bytes_total{pod_name=\u007e\".+\"}[5m])) by (pod_name))",
|
||||
"format": "time_series",
|
||||
"intervalFactor": 2,
|
||||
"legendFormat": "{{ name }}",
|
||||
"legendFormat": "{{ pod_name }}",
|
||||
"refId": "A",
|
||||
"step": 240
|
||||
},
|
||||
@ -7893,7 +7893,7 @@ items:
|
||||
"tooltip": {
|
||||
"msResolution": true,
|
||||
"shared": true,
|
||||
"sort": 1,
|
||||
"sort": 2,
|
||||
"value_type": "cumulative"
|
||||
},
|
||||
"transparent": false,
|
||||
@ -7985,19 +7985,19 @@ items:
|
||||
"steppedLine": false,
|
||||
"targets": [
|
||||
{
|
||||
"expr": "topk(10,sum(rate(container_network_receive_bytes_total{name=\u007e\".+\"}[5m])) by (name))",
|
||||
"expr": "topk(10,sum(rate(container_network_receive_bytes_total{pod_name=\u007e\".+\"}[5m])) by (pod_name))",
|
||||
"format": "time_series",
|
||||
"intervalFactor": 2,
|
||||
"legendFormat": "{{name}}",
|
||||
"legendFormat": "{{pod_name}}",
|
||||
"refId": "A",
|
||||
"step": 240
|
||||
},
|
||||
{
|
||||
"expr": "- rate(container_network_transmit_bytes_total{name=\u007e\".+\"}[$interval])",
|
||||
"expr": "- rate(container_network_transmit_bytes_total{pod_name=\u007e\".+\"}[$interval])",
|
||||
"format": "time_series",
|
||||
"hide": true,
|
||||
"intervalFactor": 2,
|
||||
"legendFormat": "{{name}}",
|
||||
"legendFormat": "{{pod_name}}",
|
||||
"refId": "B",
|
||||
"step": 10
|
||||
}
|
||||
@ -8014,7 +8014,7 @@ items:
|
||||
"tooltip": {
|
||||
"msResolution": true,
|
||||
"shared": true,
|
||||
"sort": 1,
|
||||
"sort": 2,
|
||||
"value_type": "cumulative"
|
||||
},
|
||||
"transparent": false,
|
||||
|
Loading…
Reference in New Issue
Block a user