Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
Deploy GEL on Kubernetes with Helm
The Helm charts for Grafana Enterprise Logs allows you to configure, install, and upgrade Grafana Enterprise Logs within a Kubernetes cluster.
To install Grafana Enterprise Logs on Kubernetes, use the Grafana Helm chart documentation.
License
You need a license to run Grafana Enterprise Logs. Your Grafana Labs representative should have provided you with a license.jwt
license file for the cluster name you provided. The following section details various ways of setting the license for the Helm chart. Choose the one most appropriate for you.
The text “found a valid license” can be found in the logs of the Grafana Enterprise Logs components if the license has been specified correctly.
Once you have obtained your license, do either of the following:
- Configure the license in the Helm values file
- Store the license in a Kubernetes secret
Configure the license in the Helm values file
- Add the following section to the Helm chart values file:
enterprise:
enabled: true
cluster_name: <cluster name>
license:
contents: <content of license.jwt>
Store the license in a Kubernetes secret
Run the following command to load your GEL license file (
license.jwt
) as a Kubernetes secret.kubectl create secret generic ge-logs-license --from-file license.jwt
Verify you have successfully created the secret by running the following command:
kubectl get secret ge-logs-license -oyaml
The preceding command prints a Kubernetes Secret object with a
license.jwt
field that contains a long base64-encoded value string.Add the following section to the Helm chart values file:
enterprise: enabled: true cluster_name: <cluster name> useExternalLicense: true externalLicenseName: ge-logs-license