2. Deploy Stack

  1. Checkout to working directory

    cd deploy-as-code/helm/charts/monitoring

  2. Preview Manifest Templates Generate and preview Kubernetes manifests to see what will be applied.

    helmfile -f monitoring-helmfile.yaml -e <environment> template

  3. Compare Current and Desired State Compare the current state with the new changes to see what will be modified.

    helmfile -f monitoring-helmfile.yaml -e <environment> diff

  4. Apply Changes to Cluster Apply the changes to the Kubernetes cluster, updating resources as needed.

    helmfile -f monitoring-helmfile.yaml -e <environment> apply

In above commands use the environment as set in monitoring-helmfile.yaml, in this case it’ll be “demo“. eg:- helmfile -f monitoring-helmfile.yaml -e demo apply

Last updated

Was this helpful?