-
Notifications
You must be signed in to change notification settings - Fork 301
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
Welcome defaultbackend to the ingress-gce repo #503
Conversation
This commit introduces the 404-server to the ingress-gce repository. Previously, it was held in the kubernetes/ingress-nginx repo, but the nginx ingress controller no longer requires it. Fixes #498 Signed-off-by: Jonathan Pulsifer <[email protected]>
@bowei friendly ping |
@jonpulsifer -- is it possible to split into two commits:
It's hard to review in the github UI otherwise |
/ok-to-test |
This PR just introduces the new code, there's nothing wired in. What changes need to be made for this to be wired in? 😄 |
@jonpulsifer Thanks for the PR. If I may, I'd like to make a suggestion on how to better structure this PR in order to be more consistent w/ how we structure the other binaries we manage in this repo. You can take the echo server binary as an example (cmd/echo). Specifically, I would like to see the actual server code under cmd/404 or something like that w/ a corresponding Dockerfile + Makefile target in the top level. There is also no need for a cloudbuild.yaml given that we have our own internal build + push process. Also, we don't really care for the prometheus metrics so is it possible to just get rid of that? That will save us from Godep as well. Let me know if you have any questions. |
Signed-off-by: Jonathan Pulsifer <[email protected]>
Signed-off-by: Jonathan Pulsifer <[email protected]>
Pardon the delay 😄 I think this is ok now? A few things:
The last nit, I think, is that the image builds with the following image name I assume we would like it to maintain its original name Ref https://console.cloud.google.com/gcr/images/google_containers/GLOBAL/defaultbackend |
cmd/404-server/OWNERS
Outdated
@@ -0,0 +1,12 @@ | |||
approvers: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need a separate OWNERS for this. The top level OWNERS should suffice.
@jonpulsifer Can you also add the binary name to the Makefile? Regarding the naming of the image, i'll ask around and get back to you ASAP |
Signed-off-by: Jonathan Pulsifer <[email protected]>
The binary was added in 4bb3afe and the owners have been removed |
@jonpulsifer Thanks alot, this looks great! /lgtm Will get back to you today regarding naming of the image. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jonpulsifer, rramkumar1 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@jonpulsifer Naming is fine. I'll take care of updating any stale references /hold remove |
/hold cancel |
This commit introduces the 404-server to the ingress-gce repository.
Previously, it was held in the kubernetes/ingress-nginx repo, but the
nginx ingress controller no longer requires it.
Fixes #498
Signed-off-by: Jonathan Pulsifer [email protected]