Troubleshooting: 9.1.17.0 registry pod stuck at container creating status
When running helm upgrade on HCL Commerce
production environment 9.1.17.0, the registry pod gets stuck at
ContainerCreating status.
Problem
When running helm upgrade on HCL Commerce
production environment 9.1.17.0, the registry pod gets stuck at
ContainerCreating status.
Solution
Choose one of the following solutions for your HCL Commerce production environment:
- Solution 1:
Delete the registry pod that is stuck in the ContainerCreating status using the following command.
kubectl delete pod <registry-pod-name> -n <namespace>
- Solution 2:
Update the
registry-app.yamlfile located in hcl-commerce-helmchart/stable/hcl-commerce/templates/registry/Replace the following line:replicas: {{ .Values.registryApp.replica }}withreplicas: 1 strategy: type: Recreate
Result
The stuck registry pod is now starting successfully.