Skip to content

Latest commit

 

History

History
55 lines (43 loc) · 2.06 KB

deployment.md

File metadata and controls

55 lines (43 loc) · 2.06 KB

Requirements

  • Thanos operator requires Kubernetes v1.14.x or later.
  • For the Helm based installation you need Helm v3.0.2 or later.

Deploy Thanos operator with Helm

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.

  1. Create monitor namespace
    kubectl create namespace monitor
  2. Add the operator chart repository.
    helm repo add banzaicloud-stable https://kubernetes-charts.banzaicloud.com
    helm repo update
  3. Install the Thanos Operator
    helm install thanos-operator --namespace monitor banzaicloud-stable/thanos-operator

Check the Thanos operator deployment

To verify that the installation was successful, complete the following steps.

  1. 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
  2. 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