Comments (4)
@wangyumi Node problem detector also needs a hostname-overwrite
flag. I'll add it soon.
Thanks for reporting the issue! :)
It seems node-problem-detector still use the original os hostname to access node instead of overrided hostname that is registered in etcd.
node-problem-detector needs to use the node name
to access the resource in etcd to get the node name
. There is an chicken-egg issue here.
from node-problem-detector.
@wangyumi It seems that kube-proxy also has the problem if you don't manually change salt to override the hostname. Does kube-proxy work in your cluster after you override the hostname? :)
from node-problem-detector.
meet the same issue:
Nov 2 05:48:49 uy05-13 kubelet[29322]: E1102 05:48:49.083813 29322 reflector.go:190] k8s.io/kubernetes/pkg/kubelet/kubelet.go:390: Failed to list *v1.Node: Get https://192.168.5.42:6443/api/v1/nodes?fieldSelector=metadata.name%3D192.168.5.42&resourceVersion=0: dial tcp 192.168.5.42:6443: getsockopt: connection refused
Nov 2 05:48:49 uy05-13 kubelet[29322]: E1102 05:48:49.281283 29322 reflector.go:190] k8s.io/kubernetes/pkg/kubelet/kubelet.go:382: Failed to list *v1.Service: Get https://192.168.5.42:6443/api/v1/services?resourceVersion=0: dial tcp 192.168.5.42:6443: getsockopt: connection refused
I modify the unit file of kubeadm:
Nov 2 05:48:49 uy05-13 kubelet[29322]: E1102 05:48:49.083813 29322 reflector.go:190] k8s.io/kubernetes/pkg/kubelet/kubelet.go:390: Failed to list *v1.Node: Get https://192.168.5.42:6443/api/v1/nodes?fieldSelector=metadata.name%3D192.168.5.42&resourceVersion=0: dial tcp 192.168.5.42:6443: getsockopt: connection refused
Nov 2 05:48:49 uy05-13 kubelet[29322]: E1102 05:48:49.281283 29322 reflector.go:190] k8s.io/kubernetes/pkg/kubelet/kubelet.go:382: Failed to list *v1.Service: Get https://192.168.5.42:6443/api/v1/services?resourceVersion=0: dial tcp 192.168.5.42:6443: getsockopt: connection refused
but it does not work...
from node-problem-detector.
furthermore, it always dial tcp port 6443, but this port is not listening.
from node-problem-detector.
Related Issues (20)
- Support revert-pattern in logcounter
- arm64 container contains amd64 binary HOT 1
- What is up with the v0.8.15 tag? HOT 10
- V0.8.15 image is missing log-counter binary HOT 2
- node-problem-detector not able to detect kernel log events for a Kind cluster HOT 1
- Health checker doesn't restart kubelet on EKS HOT 7
- go.mod vulnerabilities fixed in master; when 0.8.16 release HOT 4
- License Scan and Findings HOT 2
- after upgrading npd from v0.8.13 to v0.8.15, containers with unready status: [node-problem-detector] HOT 10
- v1.8.13 restart count is 1 in gce-master-scale-performance HOT 8
- New CVEs in 0.8.16 HOT 5
- Include automatic CVE scanning in build process HOT 3
- Improve release process HOT 6
- Release v0.8.17 images not done? HOT 3
- Missing test coverage for standalone mode configuration HOT 5
- High CVEs in v0.8.17 HOT 8
- Load rule from configmap HOT 3
- CVE-2022-37434: zlib1g version 1:1.2.11.dfsg-1 HOT 1
- High CVEs in v0.8.18 HOT 8
- draino
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-problem-detector.