signoz-operator
Helm chart for the SigNoz Kubernetes operator
About this chart
SigNoz Operator
The SigNoz Operator manages SigNoz resources as Kubernetes custom resources, so they can be version controlled and applied the same way as the rest of your manifests.
TL;DR;
helm repo add signoz https://charts.signoz.io
helm install signoz-operator signoz/signoz-operator \
--namespace signoz-operator --create-namespace
Introduction
This chart installs the SigNoz Operator and the CRDs it reconciles using the Helm package manager.
The operator does not run SigNoz itself — install the signoz chart, or point the operator at SigNoz Cloud. It reconciles nothing until it can reach a SigNoz API, which you configure with a ProviderConfig (namespaced) or a ClusterProviderConfig (cluster-wide).
Prerequisites
- Kubernetes 1.16+
- Helm 3.0+
Installing the Chart
To install the chart with the release name signoz-operator:
helm repo add signoz https://charts.signoz.io
helm install signoz-operator signoz/signoz-operator \
--namespace signoz-operator --create-namespace
Giving the release the same name as the chart keeps the generated resource names short — the Deployment, ServiceAccount and ClusterRole are all called signoz-operator rather than repeating the name twice.
Then create a ProviderConfig in the namespace holding your custom resources, or a cluster-wide ClusterProviderConfig, pointing at your SigNoz API. The fields it takes ship with the CRD:
kubectl explain providerconfigs.resources.signoz.io.spec
[!NOTE]
Custom Resource Definitions
The CRDs are regular templates in this chart, so
helm upgradekeeps them current — there is no separatekubectl applystep.They carry the
helm.sh/resource-policy: keepannotation by default, which meanshelm uninstallleaves both the CRDs and your custom resources in place. Setcrds.keep=falseif you want an uninstall to remove them, keeping in mind that deleting a CRD garbage collects every custom resource of that kind in the cluster.To let another tool own the CRDs, install with
crds.install=false.
Uninstalling the chart
To uninstall/delete the signoz-operator release:
helm uninstall signoz-operator --namespace signoz-operator
See the Helm docs for documentation on the helm uninstall command.
The command above removes the operator and its RBAC, but leaves the CRDs and your custom resources behind. To remove those as well:
kubectl delete crd -l app.kubernetes.io/instance=signoz-operator
Values
Deploy signoz-operator with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has signoz-operator 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 chartsignoz-operator is pinned at v0.0.5 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