helm status my-redis(deployment name) -n redis(namespace name)
To validate resources before deployment in helm
helm install -n database --values MariaDb_CustomValues.yml my-mariadb bitnami/mariadb --version 11.4.0 --dry-run ( --dry-run option: This will execute the first four stages of deployment workflow but not execute the last stage)
The above can be used to verify before deployment to check all the resources that will be deployed and verify the same.
The same can be achieved using helm template command but with helm template the yaml files generated can be directly deployed using k8s but with —dry-run the templates obtained might not be deployable with k8s.
If the above upgrade is not successful then the deployment will fail with —wait but if want helm to automatically rollout to previously successful deployment instead of failing we can use —atomic