Install via Kubernetes Helm¶
Prerequisites
- Kubernetes >= 1.14
- Helm >= 3.0+
Select DataWay Gateway Address¶
DataWay is the data gateway for Guance. All data collected by collectors must be reported to Guance through the DataWay gateway.
Install DataKit via Helm¶
$ helm install datakit datakit
--repo https://pubrepo.guance.com/chartrepo/datakit
-n datakit --create-namespace
--set datakit.dataway_url="https://openway.guance.com?token=tkn_7f5********fda8681"
You can define some DataKit configurations during the installation phase by adding environment variables to the installation command.
Check Deployment Status¶
After installation, the system will automatically create a DaemonSet deployment for DataKit.
Upgrade / Uninstall¶
1. Upgrade
$ helm -n datakit get values datakit -o yaml > values.yaml
$ helm upgrade datakit datakit
--repo https://pubrepo.guance.com/chartrepo/datakit
-n datakit
-f values.yaml
2. Uninstall