aws / aws-cloud-map-mcs-controller-for-k8s

K8s controller implementing Multi-Cluster Services API based on AWS Cloud Map.
https://aws.amazon.com/blogs/opensource/kubernetes-multi-cluster-service-discovery-using-open-source-aws-cloud-map-mcs-controller/
Apache License 2.0
88 stars 28 forks source link

Connection Disruption During Rollout Restart #269

Closed devsecops-estl closed 1 year ago

devsecops-estl commented 1 year ago

Hello,

We exported service A from cluster A and import it to cluster B for pod B to call service A. When we do rollout restart for deployment A, pod B will encounter failed TCP connection issues to call service A, even though rollout restart shouldn't affect the availability of service A. The disruption will recover after a short while.

We noticed there are endpoints registering/de-registering operations from cloud-map-mcs-controller-manager during the restart, and we don't have Health check configured in cloud map, so some traffic may send to the old endpoints before it get de-registered, will it be the cause of connection disruption?

If yes, may I know if cloud-map-mcs-controller-for-k8s supports configuration of Health check? If no, can we request for this feature?

Thanks in advance and your answers will be much appreciated!