While working on Kubernetes maintenance, I have to redeploy Rancher. While doing it, I usually get this message:
Re-Deployment: cattle-cluster-agent
---
Warning: spec.template.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].key:
beta.kubernetes.io/os is deprecated since v1.14; use “
kubernetes.io/os” instead
deployment.apps/cattle-cluster-agent restarted
How can I update to
kubernetes.io/os in the app? I’m running Rancher 2.7.6.
Thanks in advance,
-Stephane