let's try with query as well
This commit is contained in:
		| @@ -13,7 +13,8 @@ resources: | ||||
|   - prometheus.yaml | ||||
|   - thanos-objstore-config.sealedsecret.yaml | ||||
|   # thanos deployment from kube-thanos project | ||||
|   - thanos.statefulset.yaml | ||||
|   - thanos-store.statefulset.yaml | ||||
|   - thanos-query.deployment.yaml | ||||
|  | ||||
| images: | ||||
|   - name: thanos | ||||
|   | ||||
							
								
								
									
										52
									
								
								apps/monitoring/thanos-query.deployment.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										52
									
								
								apps/monitoring/thanos-query.deployment.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,52 @@ | ||||
| apiVersion: apps/v1 | ||||
| kind: Deployment | ||||
| metadata: | ||||
|   name: thanos-querier | ||||
|   labels: | ||||
|     app: thanos-querier | ||||
| spec: | ||||
|   replicas: 1 | ||||
|   selector: | ||||
|     matchLabels: | ||||
|       app: thanos-querier | ||||
|   template: | ||||
|     metadata: | ||||
|       labels: | ||||
|         app: thanos-querier | ||||
|     spec: | ||||
|       containers: | ||||
|       - name: thanos | ||||
|         image: quay.io/thanos/thanos:v0.8.0 | ||||
|         args: | ||||
|         - query | ||||
|         - --log.level=debug | ||||
|         - --query.replica-label=replica | ||||
|         - --store=dnssrv+thanos-store-gateway:10901 | ||||
|         ports: | ||||
|         - name: http | ||||
|           containerPort: 10902 | ||||
|         - name: grpc | ||||
|           containerPort: 10901 | ||||
|         livenessProbe: | ||||
|           httpGet: | ||||
|             port: http | ||||
|             path: /-/healthy | ||||
|         readinessProbe: | ||||
|           httpGet: | ||||
|             port: http | ||||
|             path: /-/ready | ||||
| --- | ||||
| apiVersion: v1 | ||||
| kind: Service | ||||
| metadata: | ||||
|   labels: | ||||
|     app: thanos-querier | ||||
|   name: thanos-querier | ||||
| spec: | ||||
|   ports: | ||||
|   - port: 9090 | ||||
|     protocol: TCP | ||||
|     targetPort: http | ||||
|     name: http | ||||
|   selector: | ||||
|     app: thanos-querier | ||||
		Reference in New Issue
	
	Block a user