polaris-controller
polaris-controller copied to clipboard
K8s Controller for K8s Service Sync and Polaris Sidecar Injection
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0. Commits c48da13 http2: fix TestServerContinuationFlood flakes 762b58d http2: fix tipos in comment ba87210 http2: close connections when receiving too many headers ebc8168 all: fix...
Bumps [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.35.1 to 0.44.0. Release notes Sourced from go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp's releases. Release v1.20.0/v0.45.0/v0.14.0 Added Set the description for the rpc.server.duration metric in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#4302) Add NewServerHandler and NewClientHandler that...
sidecar的启动和业务容器的启动顺序存在依赖关系,kubelet拉起pod内的多容器并不能保证envoy就绪后再启动主容器,这会导致主容器在启动时因为envoy未就绪而失败,虽然我们可以通过提高代码的健壮性例如循环调用等方法来解决这个问题,但也应该有比较通用型的解决方法 调整顺序,envoy和polaris-sidecar的顺序在主容器之前并且在确保envoy ready后再启动业务容器,envoy v1.26.2的官方文档有:15000/ready可以用来当作envoy的readiness探针,参考istio的旧版解决方法,在sidecar注入时在poststart中假如等待envoyreadiness探针返回200再启动业务容器 add.Lifecycle = &corev1.Lifecycle{ PostStart: &corev1.LifecycleHandler{ Exec: &corev1.ExecAction{ Command: []string{"/bin/bash", "-c", "while (($(curl -s -o /dev/null -w ''%{http_code}'' 127.0.0.1:15000/ready) !=\"200\")); do echo Waiting for Sidecar;sleep 1; done;"},...
**What is the feature you want to add?** **Why do you want to add this feature?** **How to implement this feature?** **Additional context** Add any other context or screenshots about...
使用polaris controller 同步k8s服务的时候有个别服务报错,错误信息:[{"code":500,"info":"Failed to marsh request [test-space/datasource-web-service-polaris] [1/1], err json: cannot unmarshal string into Go struct field HealthCheck.responses.instance.healthCheck.type of type int."}] DeleteInstances UpdateInstances
**What is the feature you want to add?** Periodically resync should add batch size limit **Why do you want to add this feature?** If there are many resources need to...
**What is the feature you want to add?** polarismesh.cn/aliasNamespace这个annotation可以打到namespace上对整个namespace生效 **Why do you want to add this feature?** 减少重复性标记 **How to implement this feature?** **Additional context** Add any other context or...