mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-11-02 00:51:01 +01:00
Update kubelet label selector
This commit is contained in:
parent
18630eaca1
commit
ff3e0e1ee4
@ -332,7 +332,7 @@ function(params) {
|
||||
labels: { 'app.kubernetes.io/name': 'kubelet' },
|
||||
},
|
||||
spec: {
|
||||
jobLabel: 'k8s-app',
|
||||
jobLabel: 'app.kubernetes.io/name',
|
||||
endpoints: [
|
||||
{
|
||||
port: 'https-metrics',
|
||||
@ -387,7 +387,7 @@ function(params) {
|
||||
},
|
||||
],
|
||||
selector: {
|
||||
matchLabels: { 'k8s-app': 'kubelet' },
|
||||
matchLabels: { 'app.kubernetes.io/name': 'kubelet' },
|
||||
},
|
||||
namespaceSelector: {
|
||||
matchNames: ['kube-system'],
|
||||
|
||||
@ -81,10 +81,10 @@ spec:
|
||||
scheme: https
|
||||
tlsConfig:
|
||||
insecureSkipVerify: true
|
||||
jobLabel: k8s-app
|
||||
jobLabel: app.kubernetes.io/name
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
- kube-system
|
||||
selector:
|
||||
matchLabels:
|
||||
k8s-app: kubelet
|
||||
app.kubernetes.io/name: kubelet
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user