diff --git a/apps/monitoring/thanos-store.statefulset.yaml b/apps/monitoring/thanos-store.statefulset.yaml index 5147313..92589fc 100644 --- a/apps/monitoring/thanos-store.statefulset.yaml +++ b/apps/monitoring/thanos-store.statefulset.yaml @@ -53,3 +53,25 @@ spec: secretName: thanos-objstore-config - name: thanos-data emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + labels: + app.kubernetes.io/component: object-store-gateway + app.kubernetes.io/instance: thanos-store + app.kubernetes.io/name: thanos-store + name: thanos-store +spec: + clusterIP: None + ports: + - name: grpc + port: 10901 + targetPort: 10901 + - name: http + port: 10902 + targetPort: 10902 + selector: + app.kubernetes.io/component: object-store-gateway + app.kubernetes.io/instance: thanos-store + app.kubernetes.io/name: thanos-store \ No newline at end of file