-
Notifications
You must be signed in to change notification settings - Fork 532
Use Case: Use Kubernetes to deploy a network operation as a Service leveraging the Gateway API #1052
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
Comments
I think that "Using a Gateway to define a DMZ" is another way to describe this use case, maybe? |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
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. |
Overview
The current implementation of the Gateway API appears to be based on a network proxy model as its core networking construct. This use case/issue makes the case to broaden the scope of the Gateway API to a non proxy model.
Kubernetes provides an environment to deploy, orchestrate and auto scale services. This use case is to investigate the requirements for using Kubernetes as a vehicle for providing network services, such as IPS,IDS,Encrypt/Decrypt, NAT, Content Inspection/Enhancement. The key differentiator from other use cases is that the service within Kubernetes is not a network endpoint but rather a network service that acts on the flow and forwards it to its intended destination. The rules that are applied by the network service will depend on the original src/dst network parameters. Typically default rules are applied to all traffic and then more specific rules are applied to segments of the traffic.
Another way to look at this use case would be to enable Kubernetes using the Gateway API to deploy a similar solution to the AWS Gateway Load Balancer
Examples could be:
All traffic from this subnet should be sent to an IPS before delivery to the final destination. The original network parameters (src/dst etc) must be preserved as the rules applied depend on the src/dst.
Add traffic that matches a set of conditions should be enhanced before delivery to an external destination.
Requirements
Possible Implementations
The external load balancer of the Kubernetes cluster would be the next hop for all traffic between subnet A and B. The traffic goes through the gateway where it gets enhanced by adding a tunnel with appropriate metadata and sent to a network service Pod. The network service Pod receives the flow and applies the appropriate logic, swaps the src and dst of the tunnel and sends it back to the gateway. The gateway removes the tunnel header, perhaps applying some logic based on metadata and forwards the flow to its original destination.
The text was updated successfully, but these errors were encountered: