Erwan de Lépinau
3 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
13 additions and
1 deletions
-
k8s/charts/seaweedfs/templates/filer-statefulset.yaml
-
k8s/charts/seaweedfs/templates/s3-deployment.yaml
|
@ -249,6 +249,14 @@ spec: |
|
|
name: metrics |
|
|
name: metrics |
|
|
- containerPort: {{ .Values.filer.grpcPort }} |
|
|
- containerPort: {{ .Values.filer.grpcPort }} |
|
|
#name: swfs-filer-grpc |
|
|
#name: swfs-filer-grpc |
|
|
|
|
|
{{- if .Values.filer.s3.enabled }} |
|
|
|
|
|
- containerPort: {{ .Values.filer.s3.port }} |
|
|
|
|
|
name: swfs-s3 |
|
|
|
|
|
{{- if .Values.filer.s3.httpsPort }} |
|
|
|
|
|
- containerPort: {{ .Values.filer.s3.httpsPort }} |
|
|
|
|
|
name: swfs-s3-tls |
|
|
|
|
|
{{- end }} |
|
|
|
|
|
{{- end }} |
|
|
{{- if .Values.filer.readinessProbe.enabled }} |
|
|
{{- if .Values.filer.readinessProbe.enabled }} |
|
|
readinessProbe: |
|
|
readinessProbe: |
|
|
httpGet: |
|
|
httpGet: |
|
|
|
@ -176,9 +176,13 @@ spec: |
|
|
ports: |
|
|
ports: |
|
|
- containerPort: {{ .Values.s3.port }} |
|
|
- containerPort: {{ .Values.s3.port }} |
|
|
name: swfs-s3 |
|
|
name: swfs-s3 |
|
|
|
|
|
{{- if .Values.s3.httpsPort }} |
|
|
|
|
|
- containerPort: {{ .Values.s3.httpsPort }} |
|
|
|
|
|
name: swfs-s3-tls |
|
|
|
|
|
{{- end }} |
|
|
{{- if .Values.s3.metricsPort }} |
|
|
{{- if .Values.s3.metricsPort }} |
|
|
- containerPort: {{ .Values.s3.metricsPort }} |
|
|
- containerPort: {{ .Values.s3.metricsPort }} |
|
|
name: "metrics" |
|
|
|
|
|
|
|
|
name: metrics |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
{{- if .Values.s3.readinessProbe.enabled }} |
|
|
{{- if .Values.s3.readinessProbe.enabled }} |
|
|
readinessProbe: |
|
|
readinessProbe: |
|
|