2020-08-02 01:01:15 +00:00
|
|
|
# SeaweedFS Operator
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
## Development
|
|
|
|
|
2020-09-20 23:34:57 +00:00
|
|
|
Follow the instructions in https://sdk.operatorframework.io/docs/building-operators/golang/quickstart/
|
2020-08-02 01:01:15 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
$ 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
|
2020-08-02 06:27:46 +00:00
|
|
|
$ kubectl apply -f config/samples/seaweed_v1_seaweed.yaml
|
2020-08-02 01:01:15 +00:00
|
|
|
|
|
|
|
```
|