[转]一步步打造基于Kubeadm的高可用Kubernetes集群

http://tonybai.com/2017/05/15/setup-a-ha-kubernetes-cluster-based-on-kubeadm-part1/
http://tonybai.com/2017/05/15/setup-a-ha-kubernetes-cluster-based-on-kubeadm-part2/

Advertisements

How to install Rancher when has DNS problem?

Install Rancher on a cloud such as AWS, may happens DNS problem. Even with Rancher server and Rancher nodes.
The solution is set a docker daemon and restart docker:

https://docs.docker.com/engine/installation/linux/linux-postinstall/#dns-resolver-found-in-resolvconf-and-containers-cant-use-it

How to check DNS on CentOS

$ cat /var/log/messages | grep dnsmasq
$ ps -ef | grep dnsmasq

Find IP and set to docker daemon

$ sudo vim /etc/docker/daemon.json
{
“dns”: [“10.130.128.2”]
}
$ sudo systemctl restart docker