Exec into the Db2 pod
You must be able to run the exec command on the Db2® pod to perform common administration tasks.
About this task
Important: This topic is for Db2 Operator V2 deployments. If you are currently using a legacy deployment, refer to the documentation in Legacy deployment documentation. If you are unsure which deployment type you are using, use the version checker.
In the following procedure, the placeholder is used to represent the namespace used for the respective database deployments.
Before completing the procedure, define the environment
variables:
export NAMESPACE="<your_namespace>"
export KCTL="oc" # or: export KCTL="kubectl"
export DB2UINSTANCE_NAME="<db2uinstance_name>"