Skip to content

Commit f748b8a

Browse files
authored
Merge pull request #1521 from moio/disconnected_best_practice
Add disconnected cluster best practices guide
2 parents d238eac + 8c40500 commit f748b8a

File tree

6 files changed

+50
-2
lines changed

6 files changed

+50
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: Best Practices for Disconnected Clusters
3+
---
4+
5+
<head>
6+
<link rel="canonical" href="https://ranchermanager.docs.rancher.com/reference-guides/best-practices/disconnected-clusters"/>
7+
</head>
8+
9+
Rancher supports managing clusters that may not always be online due to network disruptions, control plane availability, or because all cluster nodes are down. At the moment there are no known issues with disconnected clusters in the latest released Rancher version.
10+
11+
While a managed cluster is disconnected from Rancher, management operations will be unavailable, and the Rancher UI will not allow navigation to the cluster. However, once the connection is reestablished, functionality is fully restored.
12+
13+
### Best Practices for Managing Disconnected Clusters
14+
15+
- **Cluster Availability During Rancher Upgrades**: It is recommended to have all, or at least most, managed clusters online during a Rancher upgrade. The reason is that upgrading Rancher automatically upgrades the Rancher agent software running on managed clusters. Keeping the agent and Rancher versions aligned ensures consistent functionality. Any clusters that are disconnected during the upgrade will have their agents updated as soon as they reconnect.
16+
17+
- **Cleaning Up Disconnected Clusters**: Regularly remove clusters that will no longer reconnect to Rancher (e.g., clusters that have been decommissioned or destroyed). Keeping such clusters in the Rancher management system consumes unnecessary resources, which could impact Rancher's performance over time.
18+
19+
- **Certificate Rotation Considerations**: When designing processes that involve regularly shutting down clusters, whether connected to Rancher or not, take into account certificate rotation policies. For example, RKE/RKE2/K3s clusters may rotate certificates on startup if they exceeded their lifetime.

docs/reference-guides/best-practices/rancher-managed-clusters/rancher-managed-clusters.md

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ Refer to [this guide](logging-best-practices.md) for our recommendations for clu
1414

1515
Configuring sensible monitoring and alerting rules is vital for running any production workloads securely and reliably. Refer to this [guide](monitoring-best-practices.md) for our recommendations.
1616

17+
### Disconnected clusters
18+
19+
Rancher supports managing clusters that may not always be online due to network disruptions, control plane availability, or because all cluster nodes are down. Refer to this [guide](disconnected-clusters.md) for our recommendations.
20+
1721
### Tips for Setting Up Containers
1822

1923
Running well-built containers can greatly impact the overall performance and security of your environment. Refer to this [guide](tips-to-set-up-containers.md) for tips.

sidebars.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,8 @@ const sidebars = {
845845
"reference-guides/best-practices/rancher-managed-clusters/logging-best-practices",
846846
"reference-guides/best-practices/rancher-managed-clusters/monitoring-best-practices",
847847
"reference-guides/best-practices/rancher-managed-clusters/tips-to-set-up-containers",
848-
"reference-guides/best-practices/rancher-managed-clusters/rancher-managed-clusters-in-vsphere"
848+
"reference-guides/best-practices/rancher-managed-clusters/rancher-managed-clusters-in-vsphere",
849+
"reference-guides/best-practices/rancher-managed-clusters/disconnected-clusters"
849850
]
850851
}
851852
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: Best Practices for Disconnected Clusters
3+
---
4+
5+
<head>
6+
<link rel="canonical" href="https://ranchermanager.docs.rancher.com/reference-guides/best-practices/disconnected-clusters"/>
7+
</head>
8+
9+
Rancher supports managing clusters that may not always be online due to network disruptions, control plane availability, or because all cluster nodes are down. At the moment there are no known issues with disconnected clusters in the latest released Rancher version.
10+
11+
While a managed cluster is disconnected from Rancher, management operations will be unavailable, and the Rancher UI will not allow navigation to the cluster. However, once the connection is reestablished, functionality is fully restored.
12+
13+
### Best Practices for Managing Disconnected Clusters
14+
15+
- **Cluster Availability During Rancher Upgrades**: It is recommended to have all, or at least most, managed clusters online during a Rancher upgrade. The reason is that upgrading Rancher automatically upgrades the Rancher agent software running on managed clusters. Keeping the agent and Rancher versions aligned ensures consistent functionality. Any clusters that are disconnected during the upgrade will have their agents updated as soon as they reconnect.
16+
17+
- **Cleaning Up Disconnected Clusters**: Regularly remove clusters that will no longer reconnect to Rancher (e.g., clusters that have been decommissioned or destroyed). Keeping such clusters in the Rancher management system consumes unnecessary resources, which could impact Rancher's performance over time.
18+
19+
- **Certificate Rotation Considerations**: When designing processes that involve regularly shutting down clusters, whether connected to Rancher or not, take into account certificate rotation policies. For example, RKE/RKE2/K3s clusters may rotate certificates on startup if they exceeded their lifetime.

versioned_docs/version-2.9/reference-guides/best-practices/rancher-managed-clusters/rancher-managed-clusters.md

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ Refer to [this guide](logging-best-practices.md) for our recommendations for clu
1414

1515
Configuring sensible monitoring and alerting rules is vital for running any production workloads securely and reliably. Refer to this [guide](monitoring-best-practices.md) for our recommendations.
1616

17+
### Disconnected clusters
18+
19+
Rancher supports managing clusters that may not always be online due to network disruptions, control plane availability, or because all cluster nodes are down. Refer to this [guide](disconnected-clusters.md) for our recommendations.
20+
1721
### Tips for Setting Up Containers
1822

1923
Running well-built containers can greatly impact the overall performance and security of your environment. Refer to this [guide](tips-to-set-up-containers.md) for tips.

versioned_sidebars/version-2.9-sidebars.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,8 @@
809809
"reference-guides/best-practices/rancher-managed-clusters/logging-best-practices",
810810
"reference-guides/best-practices/rancher-managed-clusters/monitoring-best-practices",
811811
"reference-guides/best-practices/rancher-managed-clusters/tips-to-set-up-containers",
812-
"reference-guides/best-practices/rancher-managed-clusters/rancher-managed-clusters-in-vsphere"
812+
"reference-guides/best-practices/rancher-managed-clusters/rancher-managed-clusters-in-vsphere",
813+
"reference-guides/best-practices/rancher-managed-clusters/disconnected-clusters"
813814
]
814815
}
815816
]

0 commit comments

Comments
 (0)