let's try with query as well
This commit is contained in:
53
apps/monitoring/thanos-store.statefulset.yaml
Normal file
53
apps/monitoring/thanos-store.statefulset.yaml
Normal file
@@ -0,0 +1,53 @@
|
||||
apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
name: thanos-store-gateway
|
||||
labels:
|
||||
app: thanos-store-gateway
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: thanos-store-gateway
|
||||
serviceName: thanos-store-gateway
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: thanos-store-gateway
|
||||
thanos-store-api: "true"
|
||||
spec:
|
||||
containers:
|
||||
- name: thanos
|
||||
image: thanos
|
||||
args:
|
||||
- "store"
|
||||
- "--log.level=debug"
|
||||
- "--data-dir=/data"
|
||||
- "--objstore.config-file=/etc/secret/thanos.yaml"
|
||||
- "--index-cache-size=500MB"
|
||||
- "--chunk-pool-size=500MB"
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 10902
|
||||
- name: grpc
|
||||
containerPort: 10901
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
port: 10902
|
||||
path: /-/healthy
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
port: 10902
|
||||
path: /-/ready
|
||||
volumeMounts:
|
||||
- name: thanos-objstore-config
|
||||
mountPath: /etc/secret
|
||||
readOnly: true
|
||||
- name: thanos-data
|
||||
mountPath: /data
|
||||
volumes:
|
||||
- name: thanos-objstore-config
|
||||
secret:
|
||||
secretName: thanos-objstore-config
|
||||
- name: thanos-data
|
||||
emptyDir: {}
|
Reference in New Issue
Block a user