May 2018
Intermediate to advanced
554 pages
13h 51m
English
Please run two Kubernetes clusters and give them the specified host name. You may just update the hostfile (/etc/hosts) on the master nodes. One is under localhost with the API server endpoint http://localhost:8080 and the other is on the remote side with the endpoint http://$REMOTE_MASTER_NODE:8080. We will use these two clusters for our demonstration. The endpoints of the API server here are insecure channels. It is a simple configuration of an API server for the dummy accessing permissions.
Enableing the API server's insecure endpoint on kubeadm
We have to pass additional arguments to the API server while running kubeadm init. In this case, a custom configuration file indicated by flag --config should be applied:
// you ...Read now
Unlock full access