shenyu icon indicating copy to clipboard operation
shenyu copied to clipboard

Things shenyu kubernetes controller may need to do

Open JooKS-me opened this issue 2 years ago • 2 comments

Volunteer help

Currently, we implement the ingress controller in the shenyu-kubernetes-controller module. It takes the form of spring-starter and is embedded in the gateway data plane. We still have a lot of work to do. The following is TODO list:

  1. Explore a true form of declarative control, using horizontal triggering to monitor Kubernetes resources and generate shenyu configurations. This requires the Shenyu data surface to have the ability to read, parse and apply global configuration, just like nginx reads the config file. This can be a big challenge.
  2. Provide richer controller architecture options, such as being in a different process from the data plane and communicating through the network. The advantage of the current embedded architecture is low deployment cost, but the disadvantage is obviously the overall instability. The explosion of the control plane will lead to the collapse of the data plane.
  3. Use java-native technology to optimize image size and memory usage, and shorten startup time. This is critical for Java cloud native gateways.
  4. Configure through CRD. Currently, the configuration of ingress uses a lot of annotations, which is complicated for users to use and also limits the capabilities of Shenyu.
  5. Implement the Gateway API of the Kubernetes community.

JooKS-me avatar Nov 05 '23 07:11 JooKS-me

Hello, I believe this is a challenging job, and I would like to be involved in solving it.

ggbocoder avatar Nov 06 '23 13:11 ggbocoder

Hello, I'm very interested in this idea! and I'm more than happy to contribute to ShenYu! Thank you!

runqi-zhao avatar Nov 08 '23 15:11 runqi-zhao