Zebrium's Kubernetes metrics collector sends metrics to Zebrium for automated Anomaly detection. Our github repository is located here.
- One step deployment using helm commands
- Sends metrics from all nodes in a Kubernetes cluster
- Runs metrics collector in a Kubernetes cluster.
kubectl create namespace zebrium
- If node-exporter has not been installed, install it first:
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
helm install node-exporter --namespace zebrium prometheus-community/prometheus-node-exporter
helm install zstats-collector zstats --namespace zebrium --repo https://raw.githubusercontent.com/zebrium/ze-stats/master/charts --set zebrium.collectorUrl=YOUR_ZE_STATS_API_URL,zebrium.authToken=YOUR_ZE_API_AUTH_TOKEN,zebrium.deployment=YOUR_DEPLOYMENT_NAME
Please note TCP port 9100 must be accessible from other kubernetes nodes in the same cluster.
- If node-exporter has not been installed, install it first:
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
helm install --namespace zebrium --name node-exporter prometheus-community/prometheus-node-exporter
helm install --namespace zebrium --name zstats-collector --repo https://raw.githubusercontent.com/zebrium/ze-stats/master/charts zstats --set zebrium.collectorUrl=YOUR_ZE_STATS_API_URL,zebrium.authToken=YOUR_ZE_API_AUTH_TOKEN,zebrium.deployment=YOUR_DEPLOYMENT_NAME
Please note TCP port 9100 must be accessible from other kubernetes nodes in the same cluster.
If you used the "helm install" command to install zlog-collector chart, you should use the following command to delete:
helm delete --purge zstats-collector
The Kubernetes metrics collector requires 4GiB memory for every 100 nodes in your Kubernetes Cluster.
For custom metrics, please run the command below to add Zebrium specific annotation for custom metrics:
kubectl annotate service CUSTOM_METRICS_SERVICE_NAME prometheus.zebrium.custom/scrape=true --namespace NAMESPACE
No special setup is required. By default Zebrium's Kubernetes metrics collector and collect metrics from every node.
Once the collector has been deployed in your Kubernetes environment, your metrics and anomaly detection will be available in the Zebrium UI.
- Anil Nanduri (Zebrium)
- Dara Hazeghi (Zebrium)
- Brady Zuo (Zebrium)