chart: Set admin metrics port to http port (#7936)

* chart: Set admin metrics port to http port

* remove metrics reference
This commit is contained in:
Sheya Bernstein
2026-01-02 20:15:33 +00:00
committed by GitHub
parent 7b20d7da3c
commit c0188db7cc
4 changed files with 1 additions and 14 deletions

View File

@@ -25,12 +25,6 @@ spec:
port: {{ .Values.admin.grpcPort }}
targetPort: {{ .Values.admin.grpcPort }}
protocol: TCP
{{- if .Values.admin.metricsPort }}
- name: "metrics"
port: {{ .Values.admin.metricsPort }}
targetPort: {{ .Values.admin.metricsPort }}
protocol: TCP
{{- end }}
selector:
app.kubernetes.io/name: {{ template "seaweedfs.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}

View File

@@ -1,5 +1,4 @@
{{- if .Values.admin.enabled }}
{{- if .Values.admin.metricsPort }}
{{- if .Values.global.monitoring.enabled }}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
@@ -22,7 +21,7 @@ metadata:
spec:
endpoints:
- interval: 30s
port: metrics
port: http
scrapeTimeout: 5s
selector:
matchLabels:
@@ -30,4 +29,3 @@ spec:
app.kubernetes.io/component: admin
{{- end }}
{{- end }}
{{- end }}

View File

@@ -213,10 +213,6 @@ spec:
name: http
- containerPort: {{ .Values.admin.grpcPort }}
name: grpc
{{- if .Values.admin.metricsPort }}
- containerPort: {{ .Values.admin.metricsPort }}
name: metrics
{{- end }}
{{- if .Values.admin.readinessProbe.enabled }}
readinessProbe:
httpGet:

View File

@@ -1099,7 +1099,6 @@ admin:
replicas: 1
port: 23646 # Default admin port
grpcPort: 33646 # Default gRPC port for worker connections
metricsPort: 9327
loggingOverrideLevel: null
# Admin authentication