How to bypass kube-rbac-proxy to get metrics from node-export and kube-state-metrics #841
Unanswered
wiwats2019
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
I would like get metrics from node-export and kube-state-metrics (http from other pod) but it have kube-rbac-proxy to validate the authentication and authorization but I have got error about unauthorize, so let me know how cani fix it.
If i'm comment below about kube-rbac-proxy in the yaml file (node-export and kube-state-metrics) can i by pass it. and Do kube-prometheus work normally?
**** node-export yaml file
- --logtostderr
- --secure-listen-address=[$(IP)]:9100
- --tls-cipher-suites=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_EC
DHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_E
CDHE_ECDSA_WITH_CHACHA20_POLY1305
- --upstream=http://127.0.0.1:9100/
env:
- name: IP
valueFrom:
fieldRef:
fieldPath: status.podIP
image: quay.io/coreos/kube-rbac-proxy:v0.4.1
name: kube-rbac-proxy
ports:
- containerPort: 9100
hostPort: 9100
name: https
resources:
limits:
cpu: 20m
memory: 40Mi
requests:
cpu: 10m
memory: 20Mi
Beta Was this translation helpful? Give feedback.
All reactions