Skip to content

Commit 424dfe2

Browse files
juliusvonkohoutdroctothorpe
authored andcommitted
Update seaweedfs-deployment.yaml
Signed-off-by: Julius von Kohout <[email protected]>
1 parent d23855d commit 424dfe2

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

manifests/kustomize/third-party/seaweedfs/base/seaweedfs/seaweedfs-deployment.yaml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -25,34 +25,34 @@ spec:
2525
containers:
2626
- name: seaweedfs
2727
envFrom:
28-
- secretRef:
29-
name: mlpipeline-minio-artifact
30-
image: "chrislusf/seaweedfs:3.92"
28+
- secretRef:
29+
name: mlpipeline-minio-artifact
30+
image: "chrislusf/seaweedfs:3.98"
3131
args:
32-
- "server"
33-
- "-dir=/data"
34-
- "-s3"
35-
- "-iam"
36-
- "-filer"
37-
- "-master.volumePreallocate=false"
32+
- "server"
33+
- "-dir=/data"
34+
- "-s3"
35+
- "-iam"
36+
- "-filer"
37+
- "-master.volumePreallocate=false"
3838
lifecycle:
3939
postStart:
4040
exec:
4141
command:
42-
- /bin/sh
43-
- -ec
44-
- |
45-
# wait until seaweedfs master is ready
46-
for i in $(seq 1 120); do
47-
if wget -q --spider http://127.0.0.1:8333/status; then
48-
break
49-
fi
50-
sleep 2
51-
done
52-
# create bucket if not exists (ignore error if exists)
53-
echo "s3.bucket.create --name mlpipeline" | /usr/bin/weed shell || true
54-
# configure admin user using keys from secret
55-
echo "s3.configure -user kubeflow-admin -access_key $accesskey -secret_key $secretkey -actions Admin -apply" | /usr/bin/weed shell
42+
- /bin/sh
43+
- -ec
44+
- |
45+
# wait until seaweedfs master is ready
46+
for i in $(seq 1 120); do
47+
if wget -q --spider http://127.0.0.1:8333/status; then
48+
break
49+
fi
50+
sleep 2
51+
done
52+
# create bucket if not exists (ignore error if exists)
53+
echo "s3.bucket.create --name mlpipeline" | /usr/bin/weed shell || true
54+
# configure admin user using keys from secret
55+
echo "s3.configure -user kubeflow-admin -access_key $accesskey -secret_key $secretkey -actions Admin -apply" | /usr/bin/weed shell
5656
ports:
5757
- containerPort: 8333
5858
- containerPort: 8111

0 commit comments

Comments
 (0)