diff --git a/docs/certificate-authority.md b/docs/certificate-authority.md index 55241e5..4a189b3 100644 --- a/docs/certificate-authority.md +++ b/docs/certificate-authority.md @@ -147,3 +147,17 @@ kubernetes.pem ``` openssl x509 -in kubernetes.pem -text -noout ``` + +### Copy TLS Certs + +``` +gcloud compute copy-files ca.pem kubernetes-key.pem kubernetes.pem controller0:~/ +gcloud compute copy-files ca.pem kubernetes-key.pem kubernetes.pem controller1:~/ +gcloud compute copy-files ca.pem kubernetes-key.pem kubernetes.pem controller2:~/ +gcloud compute copy-files ca.pem kubernetes-key.pem kubernetes.pem etcd0:~/ +gcloud compute copy-files ca.pem kubernetes-key.pem kubernetes.pem etcd1:~/ +gcloud compute copy-files ca.pem kubernetes-key.pem kubernetes.pem etcd2:~/ +gcloud compute copy-files ca.pem kubernetes-key.pem kubernetes.pem worker0:~/ +gcloud compute copy-files ca.pem kubernetes-key.pem kubernetes.pem worker1:~/ +gcloud compute copy-files ca.pem kubernetes-key.pem kubernetes.pem worker2:~/ +``` \ No newline at end of file diff --git a/docs/etcd.md b/docs/etcd.md index 124f596..b24e626 100644 --- a/docs/etcd.md +++ b/docs/etcd.md @@ -19,20 +19,6 @@ following reasons: * Scaling out etcd is different than scaling out the Kubernetes Control Plane. * Prevent other applications from taking up resources (CPU, Memory, I/O) required by etcd. -## Copy TLS Certs - -``` -gcloud compute copy-files ca.pem kubernetes-key.pem kubernetes.pem etcd0:~/ -``` - -``` -gcloud compute copy-files ca.pem kubernetes-key.pem kubernetes.pem etcd1:~/ -``` - -``` -gcloud compute copy-files ca.pem kubernetes-key.pem kubernetes.pem etcd2:~/ -``` - ## Provision the etcd Cluster ### etcd0