Skip to main content

Installation

Here is a minimal Helm chart usage example to install FleetDM on Kubernetes based on the official Fleet Helm chart and installation documentation:

text
# values.yaml (minimal example) fleet: mysql: host: fleet-database-mysql port: 3306 user: fleet password: yourpassword database: fleet redis: host: fleet-cache-redis-master port: 6379 imageTag: latest # Optional: enable ingress ingress: enabled: true hosts: - host: fleet.yourdomain.com paths: - /

Minimal install steps

  1. Create a namespace:

bash
kubectl create ns fleet-system
  1. Install required MySQL and Redis with Helm (or provide existing):

bash
helm install fleet-database bitnamicharts/mysql \ --namespace fleet-system \ --set auth.username=fleet,auth.password=yourpassword,auth.database=fleet helm install fleet-cache bitnamicharts/redis \ --namespace fleet-system \ --set persistence.enabled=false
  1. Add Fleet Helm repo and install Fleet:

bash
helm repo add fleet https://fleetdm.github.io/fleet/charts/ helm repo update helm install fleet fleet/fleet \ --namespace fleet-system \ --values values.yaml
  1. Check pods to verify Fleet is running:

bash
kubectl get pods -n fleet-system
  1. Access Fleet via the configured ingress host (e.g. https://fleet.yourdomain.com)

This setup uses external MySQL and Redis services installed in the cluster. Adjust credentials and hostnames as needed. You can also configure secrets instead of plain text passwords for production.

This is the minimal typical deployment approach for FleetDM on Kubernetes using Helm. For details and advanced configurations, see the official documentation at FleetDM.