mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-11-11 03:01:20 +00:00
Say that nginx-ingress updateStrategy depends on Kubernetes version
This commit is contained in:
1 parent
d5f5f3a9f9
commit
30ee7c983d
1 file changed
+1
-1
@@ -81,7 +81,7 @@ As of Rancher v2.3.0, the Kubernetes metadata feature was added, which allows Ra
|
||||
|
||||
### Upgrading ingress-nginx
|
||||
|
||||
For RKE v0.1.8+, the `ingress-nginx` YAML does not contain an upgrade policy, which makes the update strategy `RollingUpdate` by default. This policy allows the daemonset to restart the pods.
|
||||
For RKE v0.1.8+, the `ingress-nginx` YAML does not contain an `updateStrategy`. Therefore, the `updateStrategy` is the default value that is set by the Kubernetes API version. For example, the default `updateStrategy` for Kubernetes v1.13 was `onDelete`. When RKE v0.3.2 began supporting Kubernetes v1.16, the `updateStrategy` for `ingress-nginx` became `RollingUpdate` by default for RKE clusters with Kubernetes 1.16. This policy allows the daemonset to restart the pods.
|
||||
|
||||
For RKE prior to v0.1.8, the `updateStrategy` directive in the `ingress-nginx` YAML was set to `OnDelete` because RKE did not yet support updating ingress and addons. In that case, you will need to delete these pods to get the correct version for your deployment.
|
||||
|
||||
|
||||
Reference in new issue
Block a user