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
feat: Gateway supports the configuration of forwarding tcp/udp traffic. #5445
Conversation
staging/src/kubesphere.io/api/gateway/v1alpha1/gateway_types.go
Outdated
Show resolved
Hide resolved
staging/src/kubesphere.io/api/gateway/v1alpha1/gateway_types.go
Outdated
Show resolved
Hide resolved
Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>
feca0ea
to
27eefd6
Compare
/lgtm |
LGTM label has been added. Git tree hash: 146df6eb8c563744470bcc5fbb22dd82485db02e
|
/cc @harrisonliu5
|
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hongzhouzi, wansir 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 |
…c. (kubesphere#5445) Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io> Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>
…c. (kubesphere#5445) Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io> Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>
Signed-off-by: hongzhouzi hongzhouzi@kubesphere.io
What type of PR is this?
/kind feature
What this PR does / why we need it:
Gateway supports the configuration of forwarding tcp/udp traffic.
Which issue(s) this PR fixes:
Fixes # #5406
Special notes for reviewers:
Add tcp/udp two configuration items below the configuration options on the gateway edit page, and add tcp/udp configuration in the following format when create and update a Gateway CR.
Configure key-value pairs in tcp/udp configuration, the key is the external port to use and the value indicates the service to expose using the format:
<namespace/service name>:<service port>:[PROXY]:[PROXY]
Reference: https://kubernetes.github.io/ingress-nginx/user-guide/exposing-tcp-udp-services/
Does this PR introduced a user-facing change?
Additional documentation, usage docs, etc.: