Explain pods fail to start
Db2 Data Management Console explain pods fail to start after you restart the pods.
Resolving the problem
To resolve the problem, complete the following steps:
- Check the status of the explain pod. Run the following
command:
oc get pod -l app.kubernetes.io/component=explain -n ${PROJECT_CPD_INST_OPERANDS}NAME READY STATUS RESTARTS AGE ibm-dmc-1691005413727850-explain-777f859d-qmc6v 0/1 Running 478 (5m11s ago) 7d5h - Add more resources to the explain pod. Run the following
command:
https://github.ibm.com/tools-for-aps/zh/issues/36899oc patch -n ${PROJECT_CPD_INST_OPERANDS} dmc/data-management-console --type=merge --patch '{"spec":{"custom_resources":{"explain": {"limits":{"cpu": "500m", "memory": "1500Mi", "ephemeral-storage": "550Mi"}, "requests":{"cpu": "250m", "memory": "1500Mi", "ephemeral-storage": "50Mi"} }}}}' - Wait for all the pods to restart and check the status of the explain pod. Run the following
command:
oc get pod -l app.kubernetes.io/component=explain -n ${PROJECT_CPD_INST_OPERANDS}NAME READY STATUS RESTARTS AGE ibm-dmc-1691005413727850-explain-777f859d-qmc6v 1/1 Running 0 2d19h