fleet/tools/kubequery
Zach Wasserman 486b67caca
Add initial support for kubequery (#6863)
Configuration and fixes for the Fleet server and frontend to add support
for https://github.com/Uptycs/kubequery.

Co-authored-by: Michal Nicpon <michal@fleetdm.com>
2022-09-15 10:02:17 -06:00
..
kubequery-fleet.yml Add initial support for kubequery (#6863) 2022-09-15 10:02:17 -06:00
README.md Add initial support for kubequery (#6863) 2022-09-15 10:02:17 -06:00

Kubequery and Fleet

Use the provided configuration file (kubequery-fleet.yml) to get a kubequery instance connected to Fleet.

Before deploying, first retrieve the enroll secret from Fleet by opening a web browser to the Fleet URL, going to the Hosts page, and clicking on the "Manage enroll secret" button. Alternatively, you can get the enroll secret using fleetctl using fleetctl get enroll-secret. Update the enroll.secret in the ConfigMap. In production, you will also need to update the tls_hostname and fleet.pem to the appropriate values. Finally, deploy kubequery using kubectl

kubectl apply -f kubequery-fleet.yml

Kubernetes clusters will show up in Fleet with hostnames like kubequery <CLUSTER NAME>.