Fix: fix argocd warnings for istio, upgrades doc

This commit is contained in:
Stefan Reimer 2021-07-15 13:54:49 +02:00
parent ee60f45558
commit 1c16122184
2 changed files with 19 additions and 8 deletions

View File

@ -28,7 +28,10 @@ global:
kind: MutatingWebhookConfiguration kind: MutatingWebhookConfiguration
jsonPointers: jsonPointers:
- /webhooks/0/clientConfig/caBundle - /webhooks/0/clientConfig/caBundle
- /webhooks/0/failurePolicy - /webhooks/1/clientConfig/caBundle
- /webhooks/2/clientConfig/caBundle
- /webhooks/3/clientConfig/caBundle
{{- end }} {{- end }}
{{ include "kubezero-app.app" . }} {{ include "kubezero-app.app" . }}

View File

@ -59,20 +59,28 @@ and verify your config via `aws sts get-caller-identity` and `kubectl cluster-in
- replace worker nodes in a rolling fashion via. drain / terminate and rinse-repeat - replace worker nodes in a rolling fashion via. drain / terminate and rinse-repeat
# Upgrade KubeZero # Upgrade KubeZero
1. Update CRDs of all enabled components: 1. Prepare upgrade
`./bootstrap.sh crds all clusters/$CLUSTER`
2. Prepare upgrade
- Remove legacy monitoring configmaps - Remove legacy monitoring configmaps
- Remove previous Grafana stateful config
- Remove legacy Istio Envoyfilter
``` ```
kubectl delete cm -n monitoring -l grafana_dashboard=1 kubectl delete cm -n monitoring -l grafana_dashboard=1
```
- Remove previous Grafana stateful config
```
kubectl delete pvc metrics-grafana -n monitoring kubectl delete pvc metrics-grafana -n monitoring
```
- Remove legacy Istio Envoyfilter
```
kubectl delete envoyfilter -A -l operator.istio.io/version=1.6.9 kubectl delete envoyfilter -A -l operator.istio.io/version=1.6.9
``` ```
- ensure that the latest kubezero.yaml output from CloudBender is present under `clusters/$CLUSTER` and no legacy cloudbender.yaml is around anymore.
If ArgoCD is used make sure the `valuesFiles` settings in the top-level values.yaml matches the files under `clusters/$CLUSTER`
2. Update CRDs of all enabled components:
`./bootstrap.sh crds all clusters/$CLUSTER`
3. Upgrade all KubeZero modules: 3. Upgrade all KubeZero modules:
- without ArgoCD: - without ArgoCD:
- `./bootstrap.sh deploy all clusters/$CLUSTER` - `./bootstrap.sh deploy all clusters/$CLUSTER`