9a4df148b8 | ||
---|---|---|
api/v1 | ||
config | ||
controllers | ||
hack | ||
.gitignore | ||
Dockerfile | ||
Makefile | ||
PROJECT | ||
README.md | ||
go.mod | ||
go.sum | ||
main.go | ||
seaweedfs-operator.iml |
README.md
SeaweedFS Operator
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