Skip to content

Commit

Permalink
fix wait_for seaweedfs
Browse files Browse the repository at this point in the history
  • Loading branch information
yashgorana committed Apr 17, 2024
1 parent 4d5deca commit c06911a
Showing 1 changed file with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,25 @@ spec:
{{- if .Values.seaweedfs.env }}
{{- toYaml .Values.seaweedfs.env | nindent 12 }}
{{- end }}
ports:
- name: mount-api-port
containerPort: 4001
- name: master-port
containerPort: 9333
startupProbe:
httpGet:
path: /?probe=startupProbe
port: mount-api-port
failureThreshold: 30
periodSeconds: 10
livenessProbe:
httpGet:
path: /cluster/healthz?probe=livenessProbe
port: master-port
periodSeconds: 60
timeoutSeconds: 5
failureThreshold: 3
readinessProbe: null
volumeMounts:
# master + filer + volume data
- mountPath: /data/
Expand Down

0 comments on commit c06911a

Please sign in to comment.