monitor blackbox-exporter over https
This commit is contained in:
@@ -190,7 +190,7 @@ local kubeRbacProxyContainer = import '../kube-rbac-proxy/container.libsonnet';
|
||||
labels: bb.assignLabels,
|
||||
},
|
||||
spec: {
|
||||
ports: [{ name: 'http', port: bb.port, targetPort: 'http' }],
|
||||
ports: [{ name: 'http', port: bb.port, targetPort: 'https' }],
|
||||
selector: bb.matchLabels,
|
||||
},
|
||||
},
|
||||
@@ -209,6 +209,10 @@ local kubeRbacProxyContainer = import '../kube-rbac-proxy/container.libsonnet';
|
||||
interval: '30s',
|
||||
path: '/metrics',
|
||||
port: 'http',
|
||||
scheme: 'https',
|
||||
tlsConfig: {
|
||||
insecureSkipVerify: true,
|
||||
},
|
||||
}],
|
||||
selector: {
|
||||
matchLabels: bb.matchLabels,
|
||||
|
||||
@@ -10,6 +10,6 @@ spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 9115
|
||||
targetPort: http
|
||||
targetPort: https
|
||||
selector:
|
||||
app.kubernetes.io/name: blackbox-exporter
|
||||
|
||||
@@ -11,6 +11,9 @@ spec:
|
||||
- interval: 30s
|
||||
path: /metrics
|
||||
port: http
|
||||
scheme: https
|
||||
tlsConfig:
|
||||
insecureSkipVerify: true
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: blackbox-exporter
|
||||
|
||||
Reference in New Issue
Block a user