Add instructions for end-user deployment

This commit is contained in:
Howard Lau 2020-11-15 11:18:19 +08:00
parent 62be67dfda
commit 8f40aee634
No known key found for this signature in database
GPG Key ID: A78F0B26773D2068
2 changed files with 19 additions and 0 deletions

View File

@ -1,6 +1,7 @@
domain: seaweedfs.com domain: seaweedfs.com
layout: go.kubebuilder.io/v2 layout: go.kubebuilder.io/v2
repo: github.com/seaweedfs/seaweedfs-operator repo: github.com/seaweedfs/seaweedfs-operator
projectName: seaweedfs-operator
resources: resources:
- group: seaweed - group: seaweed
kind: Seaweed kind: Seaweed

View File

@ -11,6 +11,24 @@ Goals:
## Installation ## Installation
This operator uses `kustomize` to deploy. The installation process will install one for you if you do not have one.
By default, the defaulting and validation webhooks are disabled. We strongly recommend that the webhooks be enabled.
First clone the repository:
```bash
$ git clone https://github.com/seaweedfs/seaweedfs-operator --depth=1
```
To deploy the operator with webhooks enabled, follow the instructions in the `config/default/kustomization.yaml` file to uncomment the components you need.
Then run the command to deploy the operator into your cluster:
```
$ make deploy
```
## Development ## Development
Follow the instructions in https://sdk.operatorframework.io/docs/building-operators/golang/quickstart/ Follow the instructions in https://sdk.operatorframework.io/docs/building-operators/golang/quickstart/