Menu
Enterprise

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

  1. Add the following section to the Helm chart values file:
yaml
enterprise:
  enabled: true
  cluster_name: <cluster name>
license:
  contents: <content of license.jwt>

Store the license in a Kubernetes secret

  1. Run the following command to load your GEL license file (license.jwt) as a Kubernetes secret.

    bash
    kubectl create secret generic ge-logs-license --from-file license.jwt
  2. Verify you have successfully created the secret by running the following command:

    bash
    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.

  3. Add the following section to the Helm chart values file:

    yaml
    enterprise:
      enabled: true
      cluster_name: <cluster name>
      useExternalLicense: true
      externalLicenseName: ge-logs-license