Skip to content
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

cannot get anything when curl #13

Open
junsionzhang opened this issue Jul 20, 2018 · 2 comments
Open

cannot get anything when curl #13

junsionzhang opened this issue Jul 20, 2018 · 2 comments

Comments

@junsionzhang
Copy link

junsionzhang commented Jul 20, 2018

when finished it , I curl kubectl get --raw /apis/custom.metrics.k8s.io/v1beta1 | jq and get
{
"kind": "APIResourceList",
"apiVersion": "v1",
"groupVersion": "custom.metrics.k8s.io/v1beta1",
"resources": []
}
the resources is nothing. From the pod ,I get the logs
Response Body: {"kind":"SubjectAccessReview","apiVersion":"authorization.k8s.io/v1beta1","metadata":{"creationTimestamp":null},"spec":{"nonResourceAttributes":{"path":"/","verb":"get"},"user":"system:anonymous","group":["system:unauthenticated"]},"status":{"allowed":false}}

@gajus
Copy link

gajus commented Aug 10, 2018

I would start by checking the logs of custom-metrics-apiserver.

Chances are that custom-metrics-apiserver is unable to communicate with Prometheus API.

@swatisehgal
Copy link

swatisehgal commented Oct 5, 2018

Any update on this? I am facing the same issue, checked the logs of custom-metrics-apiserver and they look okay to me. Any help would be really appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants