请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

kube-proxy. 无法启动

8月 03 19:19:13 node-3 kube-proxy[9675]: E0803 19:19:13.202456 9675 reflector.go:138] k8s.io/client-go/informers/factory.go:134: Failed to watch *v1beta1.EndpointSlice: failed to list *v1beta1.EndpointSlice: Get “https://127.0.0.1:6443/apis/discovery.k8s.io/v1beta1/endpointslices?labelSelector=!service.kubernetes.io%2Fheadless%2C!service.kubernetes.io%2Fservice-proxy-name&limit=500&resourceVersion=0”: dial tcp 127.0.0.1:6443: connect: connection refused
8月 03 19:19:14 node-3 kube-proxy[9675]: E0803 19:19:14.028994 9675 reflector.go:138] k8s.io/client-go/informers/factory.go:134: Failed to watch *v1.Service: failed to list *v1.Service: Get “https://127.0.0.1:6443/api/v1/services?labelSelector=!service.kubernetes.io%2Fheadless%2C!service.kubernetes.io%2Fservice-proxy-name&limit=500&resourceVersion=0”: dial tcp 127.0.0.1:6443: connect: connection refused
8月 03 19:19:21 node-3 kube-proxy[9675]: E0803 19:19:21.274728 9675 event.go:273] Unable to write event: ‘&v1.Event{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:“node-3.1697c7dc1bc15a9f”, GenerateName:"", Namespace:“default”, SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry(nil)}, InvolvedObject:v1.ObjectReference{Kind:“Node”, Namespace:"", Name:“node-3”, UID:“node-3”, APIVersion:"", ResourceVersion:"", FieldPath:""}, Reason:“Starting”, Message:“Starting kube-proxy.”, Source:v1.EventSource{Component:“kube-proxy”, Host:“node-3”}, FirstTimestamp:v1.Time{Time:time.Time{wall:0xc03a67689d36869f, ext:35078387145, loc:(*time.Location)(0x29b6180)}}, LastTimestamp:v1.Time{Time:time.Time{wall:0xc03a67689d36869f, ext:35078387145, loc:(*time.Location)(0x29b6180)}}, Count:1, Type:“Normal”, EventTime:v1.MicroTime{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, Series:(*v1.EventSeries)(nil), Action:"", Related:(*v1.ObjectReference)(nil), ReportingController:"", ReportingInstance:""}’: ‘Post “https://127.0.0.1:6443/api/v1/namespaces/default/events”: dial tcp 127.0.0.1:6443: connect: connection refused’(may retry after sleeping)

正在回答 回答被采纳积分+3

2回答

Mr_Lee_Bin 2022-08-11 09:51:33
我的解决方案:  
#先下载 ctr pull registry.cn-hangzhou.aliyuncs.com/imooc2/redis:alpine
#再测试 ctr run -t -d registry.cn-hangzhou.aliyuncs.com/imooc2/redis:alpine redis 跑不起来,
#卸载rpm -e libseccomp-devel-2.3.1-4.el7.x86_64 --nodeps,rpm -e libseccomp-2.3.1-4.el7.x86_64 --nodeps
#下载高于2.4以上的包wget http://rpmfind.net/linux/centos/8-stream/BaseOS/x86_64/os/Packages/libseccomp-2.5.1-1.el8.x86_64.rpm
#安装rpm -ivh libseccomp-2.5.1-1.el8.x86_64.rpm再run,OK! 
#回看node3    journalctl -f -u kubelet 和journalctl -f -u kube-proxy好了。


0 回复 有任何疑惑可以回复我~
刘果国 2021-08-04 09:50:30

报错很明显啦,连不上本地的6443,去看看6443启动了吗

0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信