Abhijit
Abhijit

Reputation: 691

How to make kubernetes use existing etcd cluster on bare metal ubuntu14-04?

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

Answers (2)

WizardCXY
WizardCXY

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

Alex Robinson
Alex Robinson

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

Related Questions