mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-29 16:14:42 +00:00
27 lines
729 B
YAML
27 lines
729 B
YAML
|
|
{{- if .Values.clickhouseOperator.enabled }}
|
||
|
|
# Template Parameters:
|
||
|
|
#
|
||
|
|
# NAMESPACE=posthog
|
||
|
|
# COMMENT=
|
||
|
|
#
|
||
|
|
# Setup ClusterIP Service to provide monitoring metrics for Prometheus
|
||
|
|
# Service would be created in kubectl-specified namespace
|
||
|
|
# In order to get access outside of k8s it should be exposed as:
|
||
|
|
# kubectl --namespace prometheus port-forward service/prometheus 9090
|
||
|
|
# and point browser to localhost:9090
|
||
|
|
kind: Service
|
||
|
|
apiVersion: v1
|
||
|
|
metadata:
|
||
|
|
name: clickhouse-operator-metrics
|
||
|
|
namespace: {{ .Values.clickhouseOperator.namespace | default .Release.Namespace }}
|
||
|
|
labels:
|
||
|
|
app: clickhouse-operator
|
||
|
|
spec:
|
||
|
|
ports:
|
||
|
|
- port: 8888
|
||
|
|
name: clickhouse-operator-metrics
|
||
|
|
selector:
|
||
|
|
app: clickhouse-operator
|
||
|
|
|
||
|
|
{{- end }}
|