mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-27 05:28:22 +00:00
cert fixes
This commit is contained in:
+8
-3
@@ -5,12 +5,11 @@ weight: 2245
|
|||||||
|
|
||||||
_Available as of v2.2.0_
|
_Available as of v2.2.0_
|
||||||
|
|
||||||
By default, Kubernetes clusters require certificates and Rancher launched Kubernetes clusters have certificates automatically generated for them.
|
By default, Kubernetes clusters require certificates and Rancher launched Kubernetes clusters automatically generate certificates for the Kubernetes components. Rotating these certificates is important before the certificates expire as well as if a certificate is compromised. After the certificates are rotated, the Kubernetes components are automatically restarted.
|
||||||
|
|
||||||
> **Note:** Even though the RKE CLI can use custom certificates for the Kubernetes cluster components, Rancher currently doesn't allow the ability to upload these in Rancher Launched Kubernetes clusters.
|
> **Note:** Even though the RKE CLI can use custom certificates for the Kubernetes cluster components, Rancher currently doesn't allow the ability to upload these in Rancher Launched Kubernetes clusters.
|
||||||
When generating certificates, the cluster certificates are set to expire after 1 year and the CA certificate expires after 10 years. Rotating these certificates is important before the certificates expire as well as if a certificate is compromised.
|
|
||||||
|
|
||||||
After the certificates are rotated, the Kubernetes components are automatically restarted. Certificates can be rotated for the following services:
|
Certificates can be rotated for the following services:
|
||||||
|
|
||||||
- etcd
|
- etcd
|
||||||
- kubelet
|
- kubelet
|
||||||
@@ -31,6 +30,12 @@ Rancher launched Kubernetes clusters have the ability to rotate the auto-generat
|
|||||||
* Rotate all Service certificates (keep the same CA)
|
* Rotate all Service certificates (keep the same CA)
|
||||||
* Rotate an individual service and choose one of the services from the drop down menu
|
* Rotate an individual service and choose one of the services from the drop down menu
|
||||||
|
|
||||||
|
> **Note:** Rotating the CA certificate will result in restarting other system pods, that will also use the new CA certificate. This includes:
|
||||||
|
>
|
||||||
|
>- Networking pods (canal, calico, flannel, and weave)
|
||||||
|
>- Ingress Controller pods
|
||||||
|
>- KubeDNS pods
|
||||||
|
|
||||||
4. Click **Save**.
|
4. Click **Save**.
|
||||||
|
|
||||||
**Results:** The selected certificates will be rotated and the related services will be restarted to start using the new certificate.
|
**Results:** The selected certificates will be rotated and the related services will be restarted to start using the new certificate.
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ You can use the CSRs and keys to sign the certificates by a real CA. After the c
|
|||||||
|
|
||||||
## Certificate Rotation
|
## Certificate Rotation
|
||||||
|
|
||||||
By default, Kubernetes clusters require certificates and RKE will automatically generate certificates for the clusters. When generating certificates, the certificates in each service are set to expire after 1 year and the CA certificate expires after 10 years. Rotating these certificates are important before the certificates expire as well as if a certificate is compromised.
|
By default, Kubernetes clusters require certificates and RKE will automatically generate certificates for the clusters. Rotating these certificates are important before the certificates expire as well as if a certificate is compromised.
|
||||||
|
|
||||||
After the certificates are rotated, the Kubernetes components are automatically restarted. Certificates can be rotated for the following services:
|
After the certificates are rotated, the Kubernetes components are automatically restarted. Certificates can be rotated for the following services:
|
||||||
|
|
||||||
@@ -107,5 +107,3 @@ INFO[0001] [certificates] Generating etcd-zzzzz certificate and key
|
|||||||
INFO[0001] Successfully Deployed state file at [./cluster.rkestate]
|
INFO[0001] Successfully Deployed state file at [./cluster.rkestate]
|
||||||
INFO[0001] Rebuilding Kubernetes cluster with rotated certificates
|
INFO[0001] Rebuilding Kubernetes cluster with rotated certificates
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user