Pods not able to connect to kube-apiserver
This document (000019641) is provided subject to the disclaimer at the end of this document.
Environment
Situation
e.g. kured prints the following error:
time="2020-06-02T12:42:22Z" level=fatal msg="Error testing lock: Get https://10.96.0.1:443/apis/apps/v1/namespaces/kube-system/daemonsets/kured: dial tcp 10.96.0.1:443: i/o timeout"The keywords in above error message are:
dial tcp 10.96.0.1:443: i/o timeoutAbove error indicates that kured pod is not able to access the kubernetes default service.
Resolution
sysctl -w net.ipv4.ip_forward=1For persistence after reboot, add the following to /etc/sysctl.conf or to conf file in /etc/sysctl.d:
net.ipv4.ip_forward = 1
Cause
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000019641
- Creation Date: 04-Jun-2020
- Modified Date:23-Oct-2020
-
- SUSE Caas Platform
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com