From ce9dc2bee88c7cd6c2a0fd539cff856de7aa1714 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 8 Nov 2020 23:29:57 -0800 Subject: [PATCH] Update README.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 5ad73e6..018c2ee 100644 --- a/README.md +++ b/README.md @@ -32,3 +32,19 @@ $ kind load docker-image seaweedfs/operator:v0.0.1 $ 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 + +``` \ No newline at end of file