-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
ingress: Support NodePort for dedicated Ingress #22974
Conversation
/test Job 'Cilium-PR-K8s-1.25-kernel-4.19' failed: Click to show.Test Name
Failure Output
If it is a flake and a GitHub issue doesn't already exist to track it, comment Job 'Cilium-PR-K8s-1.16-kernel-4.9' failed: Click to show.Test Name
Failure Output
If it is a flake and a GitHub issue doesn't already exist to track it, comment |
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.
Looks good as far as I can tell
@sayboras Why was release-blocker/1.13 added to this feature PR? We closed the window for new features about a month ago. |
We partially added this feature in #22583, hence I think we can just wrap it off for NodePort support. |
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.
Looking back over the PR, it looks like just adding parsing for a couple of extra service annotations and adding some minor translation code for that, and hence it fleshes out the remaining pieces of a brand new feature (ie no risk of breaking existing features). I'm not a big fan of sneaking PRs in this late during the cycle, but the PR does look innocent enough 😇
How do we test this and know it works? Is it just ensuring that when certain objects are ingested into operator/pkg/model/ingress, they are properly translated? Do we need some sort of dataplane / integration testing?
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.
Thank you Tam, looks good, just one suggestion, but I may not not noticed a check that is already present.
4aeb049
to
0d7a594
Compare
/test Job 'Cilium-PR-K8s-1.24-kernel-5.4' failed: Click to show.Test Name
Failure Output
If it is a flake and a GitHub issue doesn't already exist to track it, comment |
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.
The change itself LGTM, but I agree with Joe that it would be worth adding some extra tests:
- an e2e test that tests what happens when there's a mistake with the config (from the other comment). We should lock in the "you get an LB service instead" behavior with a test of some sort, so that if someone "fixes" that, we'll know.
- Some unit testing of the
GetAnnotation
functions would also be nice.
/mlh new-flake Cilium-PR-K8s-1.24-kernel-5.4 👍 created #23150 |
/test-1.24-5.4 |
0d7a594
to
3e0cef8
Compare
I haved address the lack of testing for this change, mainly unit tests on individual phases (e.g. annotations, ingestion, and translation). The lack of control plane tests will be tracked in #23234 |
/test |
3e0cef8
to
6dd9fe1
Compare
/test |
This commit is to support NodePort service in dedicated mode. Shared service NodePort can be configured via helm as per cilium#22583. Relates: cilium#22583 Signed-off-by: Tam Mach <tam.mach@cilium.io>
6dd9fe1
to
a39e186
Compare
/test |
Description
This commit is to support NodePort service in dedicated mode. Shared service NodePort can be configured via helm as per #22583.
Relates: #22583
Signed-off-by: Tam Mach tam.mach@cilium.io
Testing
Testing was done locally as per below
Sending traffic to NodePort service