-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tcp-services-configmap and udp-services-configmap are not applied upon upgrade to k8s version using nginx-0.49.3-rancher1 #35943
Comments
Could be a regression in nginx-0.49.3-rancher1 compared to nginx-v0.48.1.go (https://github.com/rancher/kontainer-driver-metadata/blob/dev-v2.6/rke/templates/nginx-v0.49.3.go) in which case it should be a higher priority. |
Issue: Current default behavior for charts is the flags get passed by default, But RKE1 uses static deploy yaml files where the flags and config maps were removed. Solution
|
Validated on rancher version v2.6.3Observed following results: Validation scenario 1: k8s cluster use nginx version 0.35-rancher2 and 0.49.3-rancher1
Validation scenario 2: k8s cluster use nginx version 0.49.3-rancher1
Validation scenario 3: k8s cluster use nginx version 1.1.0-rancher1
|
Waiting on @kinarashah to add this issue to Release note to close it out. |
@vivek-infracloud Can you validate this usecase
|
Validated on rancher version v2.6.3 and KDM pointing to dev-v2.6Observed following results:
|
@kinarashah On inspection of nginx template files in KDM, I noticed that it sets |
This issue also impacted Rancher v2.5.12 |
@samkulkarni20 Thanks for looking into it, we changed the network mode to Could we test this for dev-2.5 as well? Since the same new template was also introduced for 2.5.x as well. I created a backport issue for the validation. #36433 |
RKE [v1.3.7] v1.22.6-rancher1-1 The problem remains. |
@samkulkarni20 In reference to the above comment, could we test this on 1.22.6-rancher1-1 with RKE v1.3.7 and make sure it works? cc @slickwarren |
Validated this on
Created another
|
Issue description:
Upon upgrade of a Rancher-provisioned Kubernetes cluster to a version that uses rancher/nginx-ingress-controller:nginx-0.49.3-rancher1, e.g. Kubernetes v1.20.12 or v1.19.16, the following args are absent from the nginx-ingress-controller DaemonSet and any configured tcp-services and udp-services will stop working
Business impact:
Any configured tcp-services and udp-services break
Troubleshooting steps:
N/A
Repro steps:
Actual behavior:
tcp-services and udp-services stop working
Expected behavior:
tcp-services and udp-services continue to work
Files, logs, traces:
N/A
Additional notes:
Workaround is to set tcp-services-configmap and udp-services-configmap arguments via extra_args:
ingress:
extra_args:
tcp-services-configmap: $(POD_NAMESPACE)/tcp-services
udp-services-configmap: $(POD_NAMESPACE)/udp-services
JIRA ID: SURE-3636, SURE-3696
The text was updated successfully, but these errors were encountered: