|
6 | 6 | - [Sample Cluster Claim](#sample-cluster-claim)
|
7 | 7 | - [Managing admins for Cluster Pools](#managing-admins-for-cluster-pools)
|
8 | 8 | - [Install Config Template](#install-config-template)
|
| 9 | +- [Updating Cluster Pools](#updating-cluster-pools) |
9 | 10 | - [Time-based scaling of Cluster Pool](#time-based-scaling-of-cluster-pool)
|
10 | 11 | - [ClusterPool Deletion](#clusterpool-deletion)
|
11 | 12 | - [Troubleshooting](#troubleshooting)
|
@@ -161,6 +162,21 @@ spec:
|
161 | 162 |
|
162 | 163 | **Note** When using ClusterPools, Hive will by default create a MachinePool for the worker nodes for any ClusterDeployments that are a child of a ClusterPool. When you use an installConfigSecretTemplate that deviates from the MachinePool defaults you will most likely want to disable MachinePools by setting spec.skipMachinePools on the ClusterPool, so that Hive does not reconcile away from the machine config specified in install-config.yaml
|
163 | 164 |
|
| 165 | +## Updating Cluster Pools |
| 166 | +The ClusterPool CR can be edited like any kubernetes resource. In such cases, hive will |
| 167 | +automatically replace unclaimed pool clusters one at a time, oldest first. This slow refresh is |
| 168 | +intended to maximize availability, allowing existing workflows to continue claiming clusters |
| 169 | +even if they were created with the previous configuration. To effect more aggressive replacement, |
| 170 | +you can scale the pool to `size: 0` and back to the desired size. |
| 171 | + |
| 172 | +**NOTES:** |
| 173 | +- Hive will only detect changes to the ClusterPool manifest itself. Changes to artifacts referenced |
| 174 | + therefrom, such as the install-config.yaml template or ImageSet, are not detected. Manual pool |
| 175 | + refresh via down- and up-scaling may be desired in such cases. |
| 176 | +- Upgrading hive may trigger the slow refresh described above. This is a known artifact of the |
| 177 | + update detection mechanism, caused by changes in the ClusterPool CRD schema, even if no explicit |
| 178 | + changes are made. |
| 179 | + |
164 | 180 | ## Time-based scaling of Cluster Pool
|
165 | 181 |
|
166 | 182 | You can use kubernetes cron jobs to scale clusterpools as per a defined schedule.
|
|
0 commit comments