-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
metrics-server Unable to authenticate the request #1279
Comments
/triage accepted |
@skCNA It seems that x509 certificates should be used improperly. Is it the k8s cluster deployed by kubeadmin? Could you provide more detailed environmental information? |
The cluster is deployed by kubeadmin. And I found the same error with cert-manager, and I felt like there was something wrong with my cluster certificate, but I couldn't find the exact error. Is there anything I can tell you so I can see it |
The authentication of the aggregation layer needs to be enabled for the metrics-server to work. You can refer to the instructions below |
https://stackoverflow.com/a/71789894/749337 I was missing a username in my EKS IAM aws-auth configmap, and it needed a prefix in from of {{SessionName}} too. |
I have the same problem. I have 5 clusters deployed in AWS EKS and issue is present in all of them. I get proper response on
|
metrics are printing error logs like crazy
AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.034647 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.034762 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.034854 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.038524 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.038714 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.038735 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.038807 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.038738 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.042324 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.042373 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.042388 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.042430 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.042522 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.044790 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.044807 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.044833 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.044794 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.044913 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.045872 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.045889 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.045994 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.045995 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.046122 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.046655 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.046714 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.046726 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.047031 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.047043 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.049576 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.049637 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.049641 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.049733 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.049650 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.050494 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.050689 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.050722 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.050755 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.050874 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.050961 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.050977 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.050980 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.051067 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.050973 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.054421 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.054443 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.054474 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.054572 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.054588 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.058535 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.058792 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.058960 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.059175 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.059243 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.059251 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.059294 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.059364 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.059371 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.059386 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.060320 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.060360 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.060384 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.060410 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.060416 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.062570 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.062635 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.062575 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.062665 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.062671 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.063943 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.063964 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.064045 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.064048 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.064150 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.066283 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.066286 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.066316 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.066360 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.066325 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.066292 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.066435 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.066460 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.066469 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
E0621 10:57:15.066480 1 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate signed by unknown authority, verifying certificate SN=322848410769846378365036856136857402791, SKID=, AKID= failed: x509: certificate specifies an incompatible key usage]"
metrics version v0.5.2
kubenetes version v1.18.8
None of these options will work
https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/#kubelet-serving-certs
The text was updated successfully, but these errors were encountered: