Skip to content

Commit 2e28ec8

Browse files
authored
Merge pull request #63491 from lahinson/osdocs-7449-clarify-pause-reconciliation-hcp
[OSDOCS-7449]: Clarify 'pausing reconciliation' docs for hosted control planes
2 parents 8d11705 + 90dada8 commit 2e28ec8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/hosted-control-planes-pause-reconciliation.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ If you are a cluster instance administrator, you can pause the reconciliation of
1010

1111
.Procedure
1212

13-
. To pause reconciliation for a hosted cluster and hosted control plane, populate the `pausedUntil` field of the `HostedCluster` resource, as shown in the following examples:
13+
. To pause reconciliation for a hosted cluster and hosted control plane, populate the `pausedUntil` field of the `HostedCluster` resource, as shown in the following examples. In the examples, the value for `pausedUntil` is defined in an environment variable prior to the command.
1414
+
1515
** To pause the reconciliation until a specific time, specify an RFC339 timestamp:
1616
+
1717
[source,terminal]
1818
----
1919
PAUSED_UNTIL="2022-03-03T03:28:48Z"
20-
kubectl patch -n <hosted-cluster-namespace> hostedclusters/<hosted-cluster-name> -p '{"spec":{"pausedUntil":"'${PAUSED_UNTIL}'"}}' --type=merge
20+
oc patch -n <hosted-cluster-namespace> hostedclusters/<hosted-cluster-name> -p '{"spec":{"pausedUntil":"'${PAUSED_UNTIL}'"}}' --type=merge
2121
----
2222
+
2323
The reconciliation is paused until the specified time is passed.
@@ -27,7 +27,7 @@ The reconciliation is paused until the specified time is passed.
2727
[source,terminal]
2828
----
2929
PAUSED_UNTIL="true"
30-
kubectl patch -n <hosted-cluster-namespace> hostedclusters/<hosted-cluster-name> -p '{"spec":{"pausedUntil":"'${PAUSED_UNTIL}'"}}' --type=merge
30+
oc patch -n <hosted-cluster-namespace> hostedclusters/<hosted-cluster-name> -p '{"spec":{"pausedUntil":"'${PAUSED_UNTIL}'"}}' --type=merge
3131
----
3232
+
3333
The reconciliation is paused until you remove the field from the `HostedCluster` resource.
@@ -38,7 +38,7 @@ When the pause reconciliation field is populated for the `HostedCluster` resourc
3838
+
3939
[source,terminal]
4040
----
41-
kubectl patch -n <hosted-cluster-namespace> hostedclusters/<hosted-cluster-name> -p '{"spec":{"pausedUntil":null}}' --type=merge
41+
oc patch -n <hosted-cluster-namespace> hostedclusters/<hosted-cluster-name> -p '{"spec":{"pausedUntil":null}}' --type=merge
4242
----
4343

4444

0 commit comments

Comments
 (0)