prometheus: add thanos store
3 files changed, 51 insertions(+), 0 deletions(-) A monitoring/prometheus/deployment-store.yaml M monitoring/prometheus/kustomization.yaml A monitoring/prometheus/service-store.yaml
A monitoring/prometheus/deployment-store.yaml => monitoring/prometheus/deployment-store.yaml +38 -0
@@ 0,0 1,38 @@ apiVersion: apps/v1 kind: Deployment metadata: name: thanos-store spec: replicas: 1 selector: matchLabels: component: store template: metadata: annotations: prometheus.xdavidwu.link/instance: main labels: metrics: metrics component: store spec: containers: - name: store image: quay.io/thanos/thanos:THANOS_VERSION args: - store - --data-dir=/tmp - --objstore.config-file=/etc/thanos/objstore.yml ports: - name: metrics containerPort: 10902 readinessProbe: httpGet: port: metrics path: /-/ready volumeMounts: - name: thanos mountPath: /etc/thanos volumes: - name: thanos secret: secretName: thanos
M monitoring/prometheus/kustomization.yaml => monitoring/prometheus/kustomization.yaml +2 -0
@@ 13,6 13,8 @@ resources: - namespace.yaml - deployment.yaml - service.yaml - deployment-store.yaml - service-store.yaml - configmap.yaml - serviceaccount.yaml - clusterrole.yaml
A monitoring/prometheus/service-store.yaml => monitoring/prometheus/service-store.yaml +11 -0