- Thanos operator requires Kubernetes v1.14.x or later.
- For the Helm based installation you need Helm v3.0.2 or later.
Complete the following steps to deploy the Logging operator using Helm. Alternatively, you can also install the operator using Kubernetes manifests.
Note: For the Helm base installation you need Helm v3 or later.
- Create
monitor
namespacekubectl create namespace monitor
- Add the operator chart repository.
helm repo add banzaicloud-stable https://kubernetes-charts.banzaicloud.com helm repo update
- Install the Thanos Operator
helm install thanos-operator --namespace monitor banzaicloud-stable/thanos-operator
To verify that the installation was successful, complete the following steps.
- Check the status of the pods. You should see a new thanos-operator pod.
$ kubectl -n monitor get pods NAME READY STATUS RESTARTS AGE thanos-operator-7df8485bf6-gf5gk 1/1 Running 0 13s
- Check the CRDs. You should see the following six new CRDs.
$ kubectl get crd NAME CREATED AT objectstores.monitoring.banzaicloud.io 2021-04-11T08:38:26Z receivers.monitoring.banzaicloud.io 2021-04-11T08:38:26Z storeendpoints.monitoring.banzaicloud.io 2021-04-11T08:38:26Z thanos.monitoring.banzaicloud.io 2021-04-11T08:38:26Z thanosendpoints.monitoring.banzaicloud.io 2021-04-11T08:38:27Z thanospeers.monitoring.banzaicloud.io 2021-04-11T08:38:27Z