fix: another round of ugrade fixes for 1.22

This commit is contained in:
Stefan Reimer 2022-05-04 16:59:17 +02:00
parent aad8a9c7f5
commit 825d2a9309
3 changed files with 18 additions and 4 deletions

View File

@ -134,7 +134,7 @@ spec:
memory: 20Mi
cpu: 10m
limits:
memory: 20Mi
memory: 64Mi
#cpu: 100m
volumeMounts:

View File

@ -84,8 +84,6 @@ Might take a while ...
4. Migrate ArgoCD KubeZero config for your cluster:
```cat <cluster/env/kubezero/application.yaml> | ./release/v1.22/migrate_agro.py```
Adjust as needed...
If the ECK operator is running in your cluster make sure to replace the CRDs *BEFORE* committing the new kubezero config !
```kubectl replace -f https://download.elastic.co/downloads/eck/2.1.0/crds.yaml```
- git add / commit / push
- Watch ArgoCD do its work.
@ -95,4 +93,11 @@ Eg. by doubling `desired` for each worker ASG,
once all new workers joined, drain old workers one by one,
finally reset `desired` for each worker ASG which will terminate the old workers.
## Known issues
## Known issues
### Metrics
- `metrics-prometheus-node-exporter` will go into `CreateContainerError`
on 1.21 nodes until the metrics module is upgraded, due to underlying OS changes
### Logging
- `logging-fluent-bit` will go into `CrashLoopBackoff` on 1.21 nodes, until logging module is upgraded, due to underlying OS changes

View File

@ -109,3 +109,12 @@ while true; do
sleep 3
done
kubectl delete pod kubezero-upgrade-${VERSION//.} -n kube-system
# Now lets rolling restart bunch of ds to make sure they picked up the changes
for ds in calico-node kube-multus-ds kube-proxy ebs-csi-node; do
kubectl rollout restart daemonset/$ds -n kube-system
kubectl rollout status daemonset/$ds -n kube-system
done
# Force replace the ECK CRDs
kubectl get crd elasticsearches.elasticsearch.k8s.elastic.co && kubectl replace -f https://download.elastic.co/downloads/eck/2.1.0/crds.yaml