Prerequisites
- A Kubernetes cluster with Flux CD installed
kubectlconfigured for your cluster- A Git repository containing your Helm chart
Step 1: Prepare a Git Branch
Switch to the application source and create a new branch called5-demo based on 4-demo:
block-buster-helm-app chart at version 7.5.0.
Step 2: Inspect the Helm Chart
Open Chart.yaml to view the chart metadata:The
templates/ directory includes standard Kubernetes manifests like Deployment and Service.Step 3: Create a GitRepository Source
Tell Flux where to fetch your chart by defining aGitRepository:
flux-clusters/dev-cluster/5-demo-source-git-bb-app.yaml:
Step 4: Override Chart Values
Add a5-demo-values.yaml file in your Flux cluster repo to customize deployment:
Step 5: Define the HelmRelease
Create aHelmRelease that combines your source and values:
Ensure unique manifest names across your repo to avoid reconciliation conflicts.
Summary of Flux Resources
Step 6: Commit and Reconcile
Push your manifests to the Flux cluster repo:Step 7: Validate in Kubernetes
Check the new namespace and resources:Step 8: Inspect the Packaged Helm Chart
Flux creates HelmChart artifacts—list and view them:Step 9: Access the Application
Point your browser tohttp://<node-ip>:30005. Version 7.5.0 includes a Start Game button to launch the game manually.
