Why coredns and kube-proxy failed after initializing a kubernetes cluster?

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Installed a kubernetes cluster with 3 nodes under an internal proxy set in docker both in /etc/systemd/system/docker.service.d/http-proxy.conf ~/.docker/config.json Check all nodes kubectl get nodes NAME STATUS ROLES AGE VERSION server1 NotReady master 130m v1.18.6 server2 NotReady <none> 111m v1.18.6 server3 NotReady <none> 104m v1.18.6 Check all pods’ status [[email protected] ~]# kubectl get po –all-namespaces NAMESPACE NAME READY STATUS RESTARTS AGE kube-system coredns-66bff467f8-l4pqg 0/1 Pending 0 117m kube-system coredns-66bff467f8-zgs4c 0/1 Pending 0 117m kube-system etcd-node1.server1 1/1 Running 0 117m kube-system kube-apiserver-node1.server1 1/1 Running 0 117m kube-system kube-controller-manager-node1.server1 1/1 Running 0 117m kube-system kube-proxy-5v758 0/1 CrashLoopBackOff 24 98m kube-system kube-proxy-69m2p 0/1 CrashLoopBackOff 22 91m kube-system kube-proxy-ds9km 0/1 CrashLoopBackOff 27 117m kube-system kube-scheduler-node1.server1 1/1 Running 0 117m tigera-operator tigera-operator-6659cdcd96-qp7dz 0/1 CrashLoopBackOff 21 86m Check some pods’ events “` kubectl describe po coredns-66bff467f8-l4pqg –namespace=kube-system … Events: Type Reason Age From Message Warning FailedScheduling 5m5s (x63 over 94m) default-scheduler 0/3 nodes are available: 3 node(s) had taint {node.kubernetes.io/not-ready: }, that the pod didn’t tolerate. “` “` kubectl describe po kube-proxy-5v758 –namespace=kube-system … Events: Type Reason Age From Message Warning BackOff 2m27s (x484 over 107m) kubelet, server2 Back-off restarting failed container “` “` kubectl describe po tigera-operator-6659cdcd96-qp7dz –namespace=tigera-operator … Events: Type Reason Age From Message Warning BackOff 2m31s (x442 over 97m) kubelet, server3 Back-off restarting failed container “` Why they failed? How to fix? submitted by /u/rawmainb [link] [comments]

X ITM Cloud News

Patricia

Leave a Reply

Next Post

Volumes in a csgo server container help

Sat Aug 1 , 2020
Spread the love          Hi, I’m trying to use this image https://hub.docker.com/r/cm2network/csgo/ to run a csgo server, but I am having some trouble with volumes. Running the container the suggested way works fine but I can’t easily access the files docker run -d –net=host -v /home/steam/csgo-dedicated/ –name=csgo-dedicated -e SRCDS_TOKEN={MYTOKEN} cm2network/csgo When I […]
X- ITM

Cloud Computing – Consultancy – Development – Hosting – APIs – Legacy Systems

X-ITM Technology helps our customers across the entire enterprise technology stack with differentiated industry solutions. We modernize IT, optimize data architectures, and make everything secure, scalable and orchestrated across public, private and hybrid clouds.

This image has an empty alt attribute; its file name is x-itmdc.jpg

The enterprise technology stack includes ITO; Cloud and Security Services; Applications and Industry IP; Data, Analytics and Engineering Services; and Advisory.

Watch an animation of  X-ITM‘s Enterprise Technology Stack

We combine years of experience running mission-critical systems with the latest digital innovations to deliver better business outcomes and new levels of performance, competitiveness and experiences for our customers and their stakeholders.

X-ITM invests in three key drivers of growth: People, Customers and Operational Execution.

The company’s global scale, talent and innovation platforms serve 6,000 private and public-sector clients in 70 countries.

X-ITM’s extensive partner network helps drive collaboration and leverage technology independence. The company has established more than 200 industry-leading global Partner Network relationships, including 15 strategic partners: Amazon Web Services, AT&T, Dell Technologies, Google Cloud, HCL, HP, HPE, IBM, Micro Focus, Microsoft, Oracle, PwC, SAP, ServiceNow and VMware

.

X ITM