Unverified Commit 2965d245 authored by k8s-ci-robot's avatar k8s-ci-robot Committed by GitHub

Merge pull request #71043 from chuckha/etcd-doc

kubeadm: document required etcd configuration
parents bb2fcd90 02ec1e84
...@@ -276,15 +276,22 @@ type LocalEtcd struct { ...@@ -276,15 +276,22 @@ type LocalEtcd struct {
PeerCertSANs []string `json:"peerCertSANs,omitempty"` 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 { type ExternalEtcd struct {
// Endpoints of etcd members. Required for ExternalEtcd. // Endpoints of etcd members. Required for ExternalEtcd.
Endpoints []string `json:"endpoints"` Endpoints []string `json:"endpoints"`
// CAFile is an SSL Certificate Authority file used to secure etcd communication. // CAFile is an SSL Certificate Authority file used to secure etcd communication.
// Required if using a TLS connection.
CAFile string `json:"caFile"` CAFile string `json:"caFile"`
// CertFile is an SSL certification file used to secure etcd communication. // CertFile is an SSL certification file used to secure etcd communication.
// Required if using a TLS connection.
CertFile string `json:"certFile"` CertFile string `json:"certFile"`
// KeyFile is an SSL key file used to secure etcd communication. // KeyFile is an SSL key file used to secure etcd communication.
// Required if using a TLS connection.
KeyFile string `json:"keyFile"` KeyFile string `json:"keyFile"`
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment