kubeadm: document required etcd configuration

Signed-off-by: Chuck Ha <ha.chuck@gmail.com>
pull/58/head
Chuck Ha 2018-11-14 17:05:24 -05:00
parent 0df79e4daa
commit 02ec1e84b0
No known key found for this signature in database
GPG Key ID: D2B2A4E41BEF2D78
1 changed files with 8 additions and 1 deletions

View File

@ -276,15 +276,22 @@ type LocalEtcd struct {
PeerCertSANs []string `json:"peerCertSANs,omitempty"`
}
// ExternalEtcd describes an external etcd cluster
// ExternalEtcd describes an external etcd cluster.
// Kubeadm has no knowledge of where certificate files live and they must be supplied.
type ExternalEtcd struct {
// Endpoints of etcd members. Required for ExternalEtcd.
Endpoints []string `json:"endpoints"`
// CAFile is an SSL Certificate Authority file used to secure etcd communication.
// Required if using a TLS connection.
CAFile string `json:"caFile"`
// CertFile is an SSL certification file used to secure etcd communication.
// Required if using a TLS connection.
CertFile string `json:"certFile"`
// KeyFile is an SSL key file used to secure etcd communication.
// Required if using a TLS connection.
KeyFile string `json:"keyFile"`
}