Skip to content
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

Remove ingress-nginx default backend #4786

Merged
merged 1 commit into from
Jul 30, 2019
Merged

Remove ingress-nginx default backend #4786

merged 1 commit into from
Jul 30, 2019

Conversation

reegnz
Copy link
Contributor

@reegnz reegnz commented Jul 17, 2019

It's not needed since nginx 0.20.0.

See the following pull-requests for context:

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jul 17, 2019
@k8s-ci-robot
Copy link
Contributor

Hi @reegnz. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 17, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: reegnz
To complete the pull request process, please assign medyagh
You can assign the PR to them by writing /assign @medyagh in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@minikube-bot
Copy link
Collaborator

Can one of the admins verify this patch?

Copy link
Contributor

@tstromberg tstromberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@tstromberg
Copy link
Contributor

@minikube-bot OK to test

@medyagh
Copy link
Member

medyagh commented Jul 17, 2019

Thanks for the contribution @reegnz the integration test for ingress fails after this change, I am curious if this is because the test needs to be updated ? or does this chance actually breaks the ingress?

  --- FAIL: TestFunctional/IngressController (671.91s)
        addons_test.go:133: waiting for default-http-backend to be up: waiting for default-http-backend deployment to stabilize: timed out waiting for the con

@medyagh medyagh changed the title Remove ingress-nginx default backend WIP (needs to pass test): Remove ingress-nginx default backend Jul 17, 2019
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 17, 2019
@medyagh medyagh changed the title WIP (needs to pass test): Remove ingress-nginx default backend WIP (failing test): Remove ingress-nginx default backend Jul 17, 2019
@reegnz
Copy link
Contributor Author

reegnz commented Jul 18, 2019

@medyagh the default backend does not exist anymore in this PR so I'll have to remove those assertions from the tests.

@tstromberg
Copy link
Contributor

tstromberg commented Jul 19, 2019

@reegnz - For this failure:

    --- FAIL: TestFunctional/IngressController (665.00s)
        addons_test.go:133: waiting for default-http-backend to be up: waiting for default-http-backend deployment to stabilize: timed out waiting for the condition

You'll want to adjust this function:

if err := commonutil.WaitForDeploymentToStabilize(client, "kube-system", "default-http-backend", time.Minute*10); err != nil {

To quickly re-run this broken test locally, you can use:

env TEST_ARGS="-test.run TestFunctional/IngressController --alsologtostderr" make integration

@medyagh
Copy link
Member

medyagh commented Jul 20, 2019

@reegnz Are you still working on this ?

@reegnz
Copy link
Contributor Author

reegnz commented Jul 21, 2019

Yupp, gonna have a look this week.

@RA489
Copy link

RA489 commented Jul 22, 2019

@minikube-bot OK to test

@reegnz
Copy link
Contributor Author

reegnz commented Jul 22, 2019

OK, I think I managed to find the broken test and removed the code that became unnecessary.
@tstromberg thanks for the hints, they were really helpful!

@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 22, 2019
@reegnz reegnz changed the title WIP (failing test): Remove ingress-nginx default backend Remove ingress-nginx default backend Jul 22, 2019
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 22, 2019
@reegnz
Copy link
Contributor Author

reegnz commented Jul 22, 2019

/retest this please

@reegnz
Copy link
Contributor Author

reegnz commented Jul 22, 2019

No idea what those breaking builds mean. :(

@RA489
Copy link

RA489 commented Jul 28, 2019

@minikube-bot OK to test

It's not needed since nginx 0.20.0.

See the following pull-requests for context:
* kubernetes/ingress-nginx#3126
* kubernetes/ingress-nginx#3156
@reegnz
Copy link
Contributor Author

reegnz commented Jul 30, 2019

@medyagh I rebased on master, but I have no idea why the KVM tests fail, doesn't seem to be ingress-related though. Would you give some hints please? (once the build has finished it will surely come up again).

@medyagh
Copy link
Member

medyagh commented Jul 30, 2019

@medyagh I rebased on master, but I have no idea why the KVM tests fail, doesn't seem to be ingress-related though. Would you give some hints please? (once the build has finished it will surely come up again).

Tests are passing now ! thank you for following up on this PR ! I approve this !

@medyagh medyagh merged commit 9916d7a into kubernetes:master Jul 30, 2019
@reegnz reegnz deleted the remove-nginx-ingress-default-backend branch August 1, 2019 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants