Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Cloud Agent Operator's reconciliation of the Cloud Agent components can be paused, allowing you to modify and troubleshoot them directly.

Pause Reconciliation

Add the integration.ibm.com/pause annotation to by editing the DpodCloudAgent CR:

Code Block
languageyaml
apiVersion: integration.ibm.com/v1beta1
kind: DpodCloudAgent
metadata:e
  namespace: gateways-ns
  name: dpod-cloud-agent-dev
  annotations:
    integration.ibm.com/pause: "true"
...

WarningNote: The value must be a string, i.e. "true", just providing . Entering true will not work and you will receive fail and generate an error message when trying to apply the update.

Or by using the command line with kubectl and yq tools, i.e.:

...

As long as this annotation is set in the DpodCloudAgent CR, the Cloud Agent Operator will not perform any action on that Cloud Agent components. It is

Continue Reconciliation

When troubleshooting is done it is required to let the Cloud Agent Operator to continue manage Cloud Agent components.Remove , remove the integration.ibm.com/pause annotation to by editing the DpodCloudAgent CR or by using the command line tools:

Code Block
kubectl get dpodcloudagent <CR Name> -n <CR Namespace> -o yaml | yq d - "metadata.annotations.\"integration.ibm.com/pause\"" | kubectl replace -f -

...