Annotations
The DataPowerService annotations spec supports special behaviors for troubleshooting and controlling the reconciliation of the resource.
Pause
See Pause annotation here.
Hibernate
The Hibernate annotation pauses reconciliation, removes all pods, and removes all resources created by the DataPowerService instance such as Roles, ConfigMaps, StatefulSet, etc.
Example:
apiVersion: datapower.ibm.com/v1beta3
kind: DataPowerService
metadata:
annotations:
datapower.ibm.com/hibernate: "true"
Stop
The stop annotation sets the StatefulSet's replicas to 0 while preserving the replicas value set in the DataPowerService custom resource.
Example:
apiVersion: datapower.ibm.com/v1beta3
kind: DataPowerService
metadata:
annotations:
datapower.ibm.com/stop: "true"