cloudfoundry-incubator / kubecf

Cloud Foundry on Kubernetes
Apache License 2.0
115 stars 62 forks source link

fix: CC: use native DNS resolver for gRPC #1650

Closed mook-as closed 3 years ago

mook-as commented 3 years ago

Description

When the log-cache pod goes down, the gRPC endpoint used by CC goes down; it appears that the default c-ares DNS resolver used does not correctly recover when DNS successfully resolves again. Switching to using the native DNS resolver instead appears to cause it to do proper exponential backoff instead, meaning that it will eventually recover.

Motivation and Context

This fixes issues where we become unable to restart applications after the log-cache role goes down; see #1547 for details.

How Has This Been Tested?

Types of changes

Checklist: