etcd-manager | An etcd cluster management tool | Key Value Database library
kandi X-RAY | etcd-manager Summary
kandi X-RAY | etcd-manager Summary
An etcd cluster management tool
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Unmarshal decodes data into out .
- marshalStruct marshals msg into out .
- ParseAuthorizedKey parses an authorized key .
- bytesToKey converts b to UTF - 8 .
- parseCert parses and returns a Certificate .
- decode takes a packet from a packet .
- Open the ssh connection
- ReadPassword reads a password from a file descriptor
- marshalInt marshals n to bytes .
- findAgreedAlgorithms returns a set of algorithms that match clientKex .
etcd-manager Key Features
etcd-manager Examples and Code Snippets
Community Discussions
Trending Discussions on etcd-manager
QUESTION
I am trying to create a very simple cluster on aws with kops with one master and 2 worker nodes. But after creating, kops validate cluster complains that cluster is not healthy.
cluster created with:
...ANSWER
Answered 2021-Feb-11 at 06:41I don't see anything particularly wrong with the command you are running. However, t2.micro are very small, and may be too small for the cluster to function.
You can have a look at the kops-operator logs why it is not starting. Try kubectl logs kops-controller-xxxx
and kubectl describe pod kops-controller-xxx
QUESTION
After a cluster upgrade, one of three masters can't connect back to the cluster. I have a HA cluster running in us-east-1a, us-east-1b and us-east-1c, my master that is running in us-east-1a can't join back to the cluster.
I tried to scale down the master-us-east-1a instance group to zero nodes and back it to one node but the EC2 machine starts with the same problem, can't join back to the cluster again, seems to starts with a backup or something.
I tried to connect to the master to restart the services, maybe protukube or docker, but I can't solve the problem too.
Connecting via ssh in the master I noticed that the flannel service is not running in this machine. I tried to run manually via docker without success. Seems that flannel is the network service that should be running and is not.
- Can I reset the master of us-east-1a and create it from zero?
- Any ideas about getting flannel service running in this master?
Thanks in advance.
attachments
...ANSWER
Answered 2020-Jan-14 at 14:50The Kubelet is trying to register the master node us-east-1a with an API Server endpoint https://127.0.0.1:443. I believe this should be API server endpoint of any of the other two masters. Kubelet uses kubelet.conf file to talk to the API Server to register node.Change the server
in kubelet.conf file located at /etc/kubernetes
to point to one of the below:
- Elastic IP or public IP of master node at us-east-1b or us-east-1c ex https://xx.xx.xx.xx:6443
- Private IP of current master node us-east-1b or us-east-1c ex https://xx.xx.xx.xx:6443
- FQDN of current master node if you have a Load balancer in-front of your master nodes running the kubernetes API server.
After changing kubelet.conf restart kubelet.
Edit: Since you are using etcd manager can you try the Kubernetes service unavailable / flannel issues troubleshooting step described here
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install etcd-manager
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page