Deployment

  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.

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