-
Notifications
You must be signed in to change notification settings - Fork 38.8k
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 error "Client.Timeout exceeded while awaiting headers" #66231
Comments
I am also getting same error with kubernetes v1.11.0 version. |
/assign |
I have tested with One way to check is curl https://10.10.84.147:443 by hand. |
I did not set https_prxoy. I used a binary deployment. The master node only installs apiserver, controller-manager, scheduler and is only responsible for managing the cluster. The node node is a kubelet or a proxy. |
Can you access https://10.10.84.147:443 by hand? Is the container network ok? |
Yes, and other addons are completely normal |
I do not find kube-proxy. Can you access from master ? |
/remove sig-apimachinery |
I am also getting same error, I connected to container where metrics-server runs and there also I am not able to telnet 443 port. But I can see 443 is in listening state. How can I troubleshoot connectivity between APIservice and metric-service. I am not able to connect metric-server service from apiserver. Thanks, |
@sujithvs74 Second: make sure apiserver can access metric-server service. If not, it seems that your container network is not ok. Check whether your cni plugin is well installed. |
First: kupe-proxy server is running fine on my master. |
@sujithvs74 Absolutely not |
/remove-sig api-machinery |
@DevOps-Alvin: There are no sig labels on this issue. Please add a sig label. A sig label can be added by either:
Note: Method 1 will trigger an email to the group. See the group list. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/unassign |
@hzxuzhonghu The problem has been solved. thank you very much |
@hwdevops I am also getting same error with kubernetes v1.12.0 version. How is this problem solved? |
Experiencing this exact issue too. |
@ChrisCooney did you resolve? |
@cx1981 |
We found that a version of heapster that was installed in a different namespace was preventing our metrics server from working. We didn't diagnose exactly why though. |
running flannel service on master nodes resolve my problem (Client.Timeout exceeded while awaiting headers) |
Get it work by running master as node, (run kubelet, kube-proxy, calico on master nodes). The reason may be You can run the result should be :
|
thank you @hzxuzhonghu mycluster one node is show "Unable to connect to the server: Bad request" |
@stupidlittlemonkey How did you solve this problem ? I'm facing the same problem and used flannel as network plugin and kube-proxy is also throwing some errors showing it's not able to list services and nodes. I'm trying to install metric-server service. Please suggest me any possible solution of this. |
How do you solve this problem? I am facing the same problem as your message. I can't sleep at night for this. But I can get indicators by manually executing |
I met the same problem and now it's been solved. kubectl version: v1.14.0 |
I have the following error when I view api status after deploying metrics-server in k8s v1.10.2.
[root@master-1 metrics-server]# kubectl get apiservices v1beta1.metrics.k8s.io -o yaml
apiVersion: apiregistration.k8s.io/v1
kind: APIService
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"apiregistration.k8s.io/v1beta1","kind":"APIService","metadata":{"annotations":{},"labels":{"addonmanager.kubernetes.io/mode":"Reconcile","kubernetes.io/cluster-service":"true"},"name":"v1beta1.metrics.k8s.io","namespace":""},"spec":{"group":"metrics.k8s.io","groupPriorityMinimum":100,"insecureSkipTLSVerify":true,"service":{"name":"metrics-server","namespace":"kube-system"},"version":"v1beta1","versionPriority":100}}
creationTimestamp: 2018-07-16T07:40:09Z
labels:
addonmanager.kubernetes.io/mode: Reconcile
kubernetes.io/cluster-service: "true"
name: v1beta1.metrics.k8s.io
resourceVersion: "591204"
selfLink: /apis/apiregistration.k8s.io/v1/apiservices/v1beta1.metrics.k8s.io
uid: 7740f0f3-88cb-11e8-afbb-02e387bb013c
spec:
caBundle: null
group: metrics.k8s.io
groupPriorityMinimum: 100
insecureSkipTLSVerify: true
service:
name: metrics-server
namespace: kube-system
version: v1beta1
versionPriority: 100
status:
conditions:
message: 'no response from https://10.10.84.147:443: Get https://10.10.84.147:443:
net/http: request canceled while waiting for connection (Client.Timeout exceeded
while awaiting headers)'
reason: FailedDiscoveryCheck
status: "False"
type: Available
/kind bug
/sig api-machinery
The text was updated successfully, but these errors were encountered: