Reputation: 691
I am trying to configure two Kubernetes cluster on bare metal ubuntu that shares the same ETCD cluster, I have no idea where to do the changes to it work.
Upvotes: 0
Views: 200
Reputation: 51
Agreed with Alex, please don't forget to configure flannel to use your existing etcd cluster, it is also relying on etcd to work.
Upvotes: 0
Reputation: 13377
You should be able to configure the etcd instance(s) used by Kubernetes using the --etcd_servers
flag on the kube-apiserver component. It also has a flag for specifying the prefix to put all of its objects under in etcd.
However, we typically recommend using a dedicated etcd instance for Kubernetes anyway so that it can't be affected by other users of the etcd cluster.
Upvotes: 0