Files
sealos/deploy/objectstorage/scripts/init.sh
T
yyandxuziyi 649c535284 feat: object storage cluster init. (#4510)
* feat: object storage cluster init.
Signed-off-by: yy <lingdie.yy@outlook.com>

Signed-off-by: yy <lingdie.yy@outlook.com>

* chore: add more manifests for minio and prometheus
Signed-off-by: yy <lingdie.yy@outlook.com>

Signed-off-by: yy <lingdie.yy@outlook.com>

* refine cluster image

* refine init.sh

* tmp images

* tmp images

* fix

* fix env

* rm ''

* fix

* test

* add env

* add env to Kubefile

* use sed to replace env

* fix path

* fix

* fix sed

* fix policy path

* add env

* fix mc admin remove user

* add app cr

* fix prometheus deploy.yaml error

* fix 1

* delete app cr and update images

* add ns

* fix

* change admin username to admin

* refine console ingress

* run tars/xxx.tar

---------

Signed-off-by: yy <lingdie.yy@outlook.com>
Co-authored-by: xuziyi <nowinkey@tom.com>
2024-02-26 15:57:05 +08:00

13 lines
446 B
Bash

#!/bin/bash
# 1. create minio instance
bash scripts/minio.sh
# 2. create prometheus instance
bash scripts/prometheus.sh
# 3. run objectstorage controller
sealos run tars/objectstorage-controller.tar -e cloudDomain=${cloudDomain}
# 4. run objectstorage frontend
sealos run tars/objectstorage-frontend.tar -e cloudDomain=${cloudDomain}
# 5. run objectstorage monitor service
sealos run tars/objectstorage-service.tar -e cloudDomain=${cloudDomain}