grafana-opscenter
Grafana Opscenter by AppsCode
About this chart
Grafana Opscenter
Grafana Opscenter by AppsCode - Grafana Opscenter
TL;DR;
$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm search repo appscode/grafana-opscenter --version=v2023.03.23
$ helm upgrade -i grafana-opscenter appscode/grafana-opscenter -n kubeops --create-namespace --version=v2023.03.23
Introduction
This chart deploys a Grafana Opscenter 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-opscenter:
$ helm upgrade -i grafana-opscenter appscode/grafana-opscenter -n kubeops --create-namespace --version=v2023.03.23
The command deploys a Grafana Opscenter 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-opscenter:
$ helm uninstall grafana-opscenter -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-opscenter chart and their default values.
| Parameter | Description | Default |
|---|---|---|
| global.registry | Docker registry used to pull KubeDB related images | "" |
| global.registryFQDN | Docker registry fqdn used to pull KubeDB related images. Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} | "" |
| global.imagePullSecrets | Specify an array of imagePullSecrets. Secrets must be manually created in the namespace. Example: helm template charts/grafana-opscenter \ --set global.imagePullSecrets[0].name=sec0 \ --set global.imagePullSecrets[1].name=sec1 | [] |
| global.monitoring.agent | Name of monitoring agent (one of "prometheus.io", "prometheus.io/operator", "prometheus.io/builtin") | "" |
| global.monitoring.serviceMonitor.labels | Specify the labels for ServiceMonitor. Prometheus crd will select ServiceMonitor using these labels. Only usable when monitoring agent is prometheus.io/operator. | {} |
| grafana-operator.enabled | If enabled, installs the grafana-operator chart | true |
| grafana-ui-server.enabled | If enabled, installs the grafana-ui-server chart | true |
| kube-grafana-dashboards.enabled | If enabled, installs the kube-grafana-dashboards chart | true |
Specify each parameter using the --set key=value[,key=value] argument to helm upgrade -i. For example:
$ helm upgrade -i grafana-opscenter appscode/grafana-opscenter -n kubeops --create-namespace --version=v2023.03.23 --set -- generate from values file --
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example:
$ helm upgrade -i grafana-opscenter appscode/grafana-opscenter -n kubeops --create-namespace --version=v2023.03.23 --values values.yaml
Deploy grafana-opscenter with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has grafana-opscenter 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartgrafana-opscenter is pinned at v2023.3.23 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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