shenyu icon indicating copy to clipboard operation
shenyu copied to clipboard

[Question] <kubernetes implement>

Open ljucas10 opened this issue 2 years ago • 3 comments

Question

I'm new for kubernetes, I want to know how do shenyu send request in kubernetes : send http request to service or directly send to pod, thank you for your reply!

ljucas10 avatar Oct 19 '23 10:10 ljucas10

send http request to service in shenyu-k8s-ingress

runqi-zhao avatar Oct 20 '23 04:10 runqi-zhao

thank you for you reply,and I have two following questions:1. why not shenyu send request directly to pod like spring-cloud-kubernetes? 2. if send http request to service, how to implement Canary releas and A/B test and request warm up(when java application start send a few requests and then Gradually Increase to the same as other servers by a period of time) by shenyu?

ljucas10 avatar Oct 26 '23 07:10 ljucas10

@ljucas10

  1. you can see this : https://gist.github.com/JooKS-me/e9ddf46708be8f4248fdd4d5c7ab2c54 https://shenyu.apache.org/zh/docs/user-guide/kubernetes-controller/config https://gist.github.com/runqi-zhao/174890890fe31b09d191270bf0e8c2ac
image-20230318121248737 image-20230318121309814
  1. A/B testing with request warm up has not been implemented yet, if you are interested, feel free to submit pr

runqi-zhao avatar Oct 26 '23 15:10 runqi-zhao