readme: Add note about server-side apply in the quickstart

This commit is contained in:
Joseph Daniel
2022-07-30 20:41:21 +05:30
committed by GitHub
parent 1fc4bc7e36
commit 6fdb9b40a2

View File

@@ -59,6 +59,8 @@ Though for a quickstart a compiled version of the Kubernetes [manifests](manifes
```shell
# Create the namespace and CRDs, and then wait for them to be available before creating the remaining resources
# Note that due to some CRD size we are using kubectl server-side apply feature which is generally available since kubernetes 1.22.
# If you are using previous kubernetes versions this feature may not be available and you would need to use kubectl create instead.
kubectl apply --server-side -f manifests/setup
until kubectl get servicemonitors --all-namespaces ; do date; sleep 1; echo ""; done
kubectl apply -f manifests/