Skip to content

Commit 168bdb7

Browse files
committed
fix(charts): start minio error
1 parent fb5f448 commit 168bdb7

2 files changed

Lines changed: 14 additions & 6 deletions

File tree

charts/storage/templates/storage-statefulset.yaml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{- $zoneCount := int .Values.zones }}
2-
{{- $driveCount := int .Values.drives }}
2+
{{- $driveCount := int .Values.drivesPerNode }}
33
{{- $replicaCount := int .Values.replicas }}
44
apiVersion: apps/v1
55
kind: StatefulSet
@@ -60,9 +60,9 @@ spec:
6060
httpGet:
6161
path: /minio/health/live
6262
port: 9000
63-
initialDelaySeconds: 90
63+
initialDelaySeconds: 5
6464
periodSeconds: 5
65-
timeoutSeconds: 1
65+
timeoutSeconds: 5
6666
successThreshold: 1
6767
failureThreshold: 5
6868
readinessProbe:
@@ -73,6 +73,14 @@ spec:
7373
timeoutSeconds: 1
7474
successThreshold: 1
7575
failureThreshold: 5
76+
startupProbe:
77+
tcpSocket:
78+
port: 9000
79+
initialDelaySeconds: 0
80+
periodSeconds: 10
81+
timeoutSeconds: 5
82+
successThreshold: 1
83+
failureThreshold: 60
7684
args:
7785
- minio
7886
- server

charts/storage/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ podAntiAffinityPreset:
2626
extraMatchLabels:
2727
app: "drycc-storage"
2828

29+
# Number of replicas per zone
30+
replicas: 4
2931
# Minio zone count
3032
zones: 1
3133
# Device count of per replica
32-
drives: 1
33-
# Number of replicas per zone
34-
replicas: 4
34+
drivesPerNode: 1
3535

3636
# Access key and secret key for storage
3737
accesskey: ""

0 commit comments

Comments
 (0)