Hello @Testa
You can use the atomic flag and rollback feature in both Helm charts and Cloud Native Application Bundle (CNAB) deployments.
In Helm, the atomic flag is used to ensure that the release is installed or upgraded atomically. This means that if the installation or upgrade fails, the release is rolled back to the previous version. You can use the --atomic
flag with the helm install
or helm upgrade
command to enable this feature.
Similarly, in CNAB, you can use the atomic
flag in the bundle definition file to ensure that the installation or upgrade is atomic. If the installation or upgrade fails, the bundle is rolled back to the previous version. You can also use the rollback
feature in CNAB to specify the rollback behavior in case of a failure.
Regarding your second question, yes, you can write YAML files and templates in the same way for both Helm charts and CNAB deployments. Both Helm and CNAB use YAML files to define the deployment configuration and templates to define the resources to be deployed.
However, there are some differences between Helm and CNAB in terms of their architecture and features. Helm is a package manager for Kubernetes, while CNAB is a specification for packaging and deploying distributed applications. CNAB provides more flexibility and portability compared to Helm, as it can be used to deploy applications across multiple platforms and environments.
<If this does answer your question, please accept it as the answer as a token of appreciation.>