seaweedfs kubernetes operator
152049b5cf
Signed-off-by: Howard Lau <howardlau1999@hotmail.com> |
||
---|---|---|
.github/workflows | ||
api/v1 | ||
config | ||
controllers | ||
hack | ||
.gitignore | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
main.go | ||
Makefile | ||
PROJECT | ||
README.md | ||
seaweedfs-operator.iml |
SeaweedFS Operator
Goals:
- Automatically deploy a SeaweedFS cluster with 3 masters, N volume servers, and M filers with customizable filer store managed by other operators.
- Auto rolling upgrade and restart.
- Ingress for volume server, filer and S3, to support HDFS, REST filer, S3 API and cross-cluster replication.
- Support all major cloud Kubernetes: AWS, Google, Azure.
- Scheduled backup to cloud storage: S3, Google Cloud Storage , Azure.
- Put warm data to cloud storage tier: S3, Google Cloud Storage , Azure.
- Grafana dashboard.
Installation
Development
Follow the instructions in https://sdk.operatorframework.io/docs/building-operators/golang/quickstart/
$ git clone https://github.com/seaweedfs/seaweedfs-operator
$ cd seaweedfs-operator
# register the CRD with the Kubernetes
$ make install
# run the operator locally outside the Kubernetes cluster
$ make run ENABLE_WEBHOOKS=false
# From another terminal in the same directory
$ kubectl apply -f config/samples/seaweed_v1_seaweed.yaml