Update README.md

This commit is contained in:
Chris Lu 2020-11-08 23:29:57 -08:00
parent 5a4f61591d
commit ce9dc2bee8
1 changed files with 16 additions and 0 deletions

View File

@ -32,3 +32,19 @@ $ kind load docker-image seaweedfs/operator:v0.0.1
$ kubectl apply -f config/samples/seaweed_v1_seaweed.yaml $ kubectl apply -f config/samples/seaweed_v1_seaweed.yaml
``` ```
Update the operator
```
# delete the existing operator
$ kubectl delete namespace seaweedfs-operator-system
# rebuild the operator image
$ make docker-build
# load the image into Kind cluster
$ kind load docker-image seaweedfs/operator:v0.0.1
# register the CRD with the Kubernetes
$ make deploy
```