Shipping Kubernetes monitoring data to FusionReactor Cloud¶
Introduction¶
This guide explains how to deploy the Kubernetes-Prometheus-Stack to send metric data from your Kubernetes cluster(s) directly to FusionReactor Cloud. This data can then be visualized in the Kubernetes dashboard set.
The Kubernetes-Prometheus-Stack is a deployable Helm chart which enables monitoring of Kubernetes clusters in FusionReactor Cloud.
Many aspects of the deployment can be customized using the Helm values
input file.
Learn more
Prerequisites¶
Prior to beginning, ensure you have the following:
-
Access to your cluster via
kubectl
andhelm
. -
A valid FusionReactor Cloud account, and an API key for the account.
-
A valid FusionReactor Cloud user in your account, with access to FusionReactor Cloud.
Tip
API keys can be managed under FusionReactor Cloud > User Menu > Account > API Keys
Procedure¶
This is the procedure for configuring the Kubernetes-Prometheus-Stack to ship metrics data directly to FusionReactor Cloud.
Step 1: Download files¶
Download the following files from our GitHub repo.
-
fr-cloud-kps-values.yaml
-
fr-cloud-kps-authentication-secret.yaml
Step 2: Customize the two files for installation¶
fr-cloud-kps-values.yaml
Change CLUSTER_NAME
to your Kubernetes cluster name.
fr-cloud-authentication-secret.yaml
Change PASSWORD
to your FR Cloud API key.
Tip
Ensure you copy and paste the entire key.
Step 3: Create new namespace to hold & deploy stack¶
Run the following commands to create a new namespace to hold & deploy the stack
kubectl create namespace kube-prometheus-stack
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
kubectl apply -n kube-prometheus-stack -f fr-cloud-kps-authentication-secret.yaml
helm upgrade --install -n kube-prometheus-stack -f fr-cloud-kps-values.yaml kube-prometheus-stack prometheus-community/kube-prometheus-stack
If the stack deploys correctly, it will begin shipping data to FusionReactor Cloud.
Tip
Check this using kubectl get pods -n kube-prometheus-stack
.
Step 4: View your data¶
This data can be viewed in FusionReactor Cloud > Dashboards > Kubernetes
Tip
The Kubernetes Node Exporter for Clusters dashboard allows you to troubleshoot cluster problems right down to the VM level.
Need more help?
Contact support in the chat bubble and let us know how we can assist.