Hi! I'm attempting to deploy Fleet on Kubernetes, ...
# fleet
y
Hi! I'm attempting to deploy Fleet on Kubernetes, following the guide below: https://fleetdm.com/guides/deploy-fleet-on-kubernetes I completed installing the infrastructure dependencies using Helm. • mysql, redis, tls secret When deploying a Fleet using Helm, an error occurred during migration. Even if I delete mysql, pv, and pvc and repeat, the same thing happens. Please help me. 🫠
Copy code
kubectl get pod
NAME                           READY   STATUS    RESTARTS   AGE
fleet-cache-redis-master-0     1/1     Running   0          13h
fleet-cache-redis-replicas-0   1/1     Running   0          13h
fleet-cache-redis-replicas-1   1/1     Running   0          13h
fleet-cache-redis-replicas-2   1/1     Running   0          13h
fleet-database-mysql-0         1/1     Running   0          8m53s
fleet-migration-2gl9p          0/1     Error     0          3m7s
fleet-migration-4pd94          0/1     Error     0          2m27s
fleet-migration-crphz          0/1     Error     0          3m43s
fleet-migration-r7t25          0/1     Error     0          67s
fleet-migration-r8d68          0/1     Error     0          3m27s

# kubectl logs fleet-migration-2gl9p
2024/05/29 17:05:05 [2022-09-15] Apple MDM Tables
2024/05/29 17:05:05 FAIL 20220915165115_AppleMDMTables.go (failed to apply nanomdm schema: Error 1050 (42S01): Table 'nano_devices' already exists), quitting migration
b
Migrations should be run as a distinct task without any replicas (think job vs replica)
From the pasted output it seems like there are many tasks attempting migrations.