Skip to content

Commit ee292bf

Browse files
Merge pull request #2702 from 2uasimojo/HIVE-2715/clusterpool-version-doc
HIVE-2715: Document ClusterPool versioning behavior
2 parents 5e89e60 + c6bc7df commit ee292bf

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/clusterpools.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- [Sample Cluster Claim](#sample-cluster-claim)
77
- [Managing admins for Cluster Pools](#managing-admins-for-cluster-pools)
88
- [Install Config Template](#install-config-template)
9+
- [Updating Cluster Pools](#updating-cluster-pools)
910
- [Time-based scaling of Cluster Pool](#time-based-scaling-of-cluster-pool)
1011
- [ClusterPool Deletion](#clusterpool-deletion)
1112
- [Troubleshooting](#troubleshooting)
@@ -161,6 +162,21 @@ spec:
161162

162163
**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
163164

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+
164180
## Time-based scaling of Cluster Pool
165181

166182
You can use kubernetes cron jobs to scale clusterpools as per a defined schedule.

0 commit comments

Comments
 (0)