You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/book/src/developer/providers/contracts/infra-cluster.md
+8
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,7 @@ repo or add an item to the agenda in the [Cluster API community meeting](https:/
58
58
|[Externally managed infrastructure]| No ||
59
59
|[Multi tenancy]| No | Mandatory for clusterctl CLI support |
60
60
|[Clusterctl support]| No | Mandatory for clusterctl CLI support |
61
+
|[InfraCluster: pausing]| No ||
61
62
62
63
Note:
63
64
-`All resources` refers to all the provider's resources "core" Cluster API interacts with;
@@ -335,6 +336,12 @@ the implication of this choice which are described both in the document above an
335
336
336
337
</aside>
337
338
339
+
### InfraCluster: pausing
340
+
341
+
Providers SHOULD implement the pause behaviour for every object with a reconciliation loop. This is done by checking if `spec.paused` is set on the Cluster object and by checking for the `cluster.x-k8s.io/paused` annotation on the InfraCluster object.
342
+
343
+
If implementing the pause behavior, providers SHOULD surface the paused status of an object using the Paused condition: `Status.Conditions[Paused]`.
344
+
338
345
### InfraCluster: terminal failures
339
346
340
347
Each InfraCluster SHOULD report when Cluster's enter in a state that cannot be recovered (terminal failure) by
@@ -525,3 +532,4 @@ is implemented in InfraCluster controllers:
525
532
[clusterctl provider contract]: clusterctl.md
526
533
[implementation best practices]: ../best-practices.md
0 commit comments