grafana-ui-server

by AppsCode Inc.

Helm chartv2022.6.14App v0.0.1Verified publisher

A Helm chart for grafana-ui-server by AppsCode

About this chart

Grafana UI Server

Grafana UI Server by AppsCode - Grafana UI Server for ByteBuilders

TL;DR;

$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm search repo appscode/grafana-ui-server --version=v2022.06.14
$ helm upgrade -i grafana-ui-server appscode/grafana-ui-server -n kubeops --create-namespace --version=v2022.06.14

Introduction

This chart deploys a Grafana UI Server on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.16+

Installing the Chart

To install/upgrade the chart with the release name grafana-ui-server:

$ helm upgrade -i grafana-ui-server appscode/grafana-ui-server -n kubeops --create-namespace --version=v2022.06.14

The command deploys a Grafana UI Server on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall the grafana-ui-server:

$ helm uninstall grafana-ui-server -n kubeops

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the grafana-ui-server chart and their default values.

ParameterDescriptionDefault
nameOverrideOverrides name template""
fullnameOverrideOverrides fullname template""
replicaCountNumber of Identity Server replicas to create (only 1 is supported)1
registryFQDNDocker registry fqdn used to pull KubeDB related images Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image}ghcr.io
image.registryDocker registry used to pull operator imageappscode
image.repositoryName of operator container imagegrafana-tools
image.tagOperator container image tag""
image.resourcesCompute Resources required by the operator container{}
image.securityContextSecurity options the operator container should run with{}
imagePullSecretsSpecify an array of imagePullSecrets. Secrets must be manually created in the namespace. Example: helm template charts/stash \ --set imagePullSecrets[0].name=sec0 \ --set imagePullSecrets[1].name=sec1[]
imagePullPolicyContainer image pull policyIfNotPresent
criticalAddonIf true, installs Stash operator as critical addonfalse
logLevelLog level for operator3
annotationsAnnotations applied to operator deployment{}
podAnnotationsAnnotations passed to operator pod(s).{}
nodeSelectorNode labels for pod assignment{}
tolerationsTolerations for pod assignment[]
affinityAffinity rules for pod assignment{}
podSecurityContextSecurity options the operator pod should run with.{"fsGroup":65535}
serviceAccount.createSpecifies whether a service account should be createdtrue
serviceAccount.annotationsAnnotations to add to the service account{}
serviceAccount.nameThe name of the service account to use. If not set and create is true, a name is generated using the fullname template
apiserver.groupPriorityMinimumThe minimum priority the webhook api group should have at least. Please see https://github.com/kubernetes/kube-aggregator/blob/release-1.9/pkg/apis/apiregistration/v1beta1/types.go#L58-L64 for more information on proper values of this field.10000
apiserver.versionPriorityThe ordering of the webhook api inside of the group. Please see https://github.com/kubernetes/kube-aggregator/blob/release-1.9/pkg/apis/apiregistration/v1beta1/types.go#L66-L70 for more information on proper values of this field15
apiserver.useKubeapiserverFqdnForAksIf true, uses kube-apiserver FQDN for AKS cluster to workaround https://github.com/Azure/AKS/issues/522 (default true)true
apiserver.healthcheck.enabledIf true, enables the readiness and liveliness probes for the operator pod.false
apiserver.servingCerts.generateIf true, generates on install/upgrade the certs that allow the kube-apiserver (and potentially ServiceMonitor) to authenticate operators pods. Otherwise specify certs in apiserver.servingCerts.{caCrt, serverCrt, serverKey}. See also: example terraformtrue
apiserver.servingCerts.caCrtCA certficate used by serving certificate of webhook server.

Deploy grafana-ui-server with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has grafana-ui-server on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartgrafana-ui-server is pinned at v2022.6.14 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply