You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change intents to synchronize w/ CLB the health check attributes for
API LB, and use the correct health check path when using HTTP or HTTPS.
The following target group health check attributes for ELBv2
are setting based in the CLB configuration for all protocols:
- interval: current(30) want(10)
- timeout: current(10) want(5)
- health threshold count: current(5) want(5)
- unhealthy threshold count: current(2) want(3)
When using HTTP or HTTPS, the following attributes will be fixed:
- path: current("/") want("/readyz")
*'current' is the default values set by AWS, 'want' is the value set
in the CLB.
// The default API health check is TCP, allowing customization to HTTP or HTTPS when HealthCheckProtocol is set.
176
+
apiHealthCheckProtocol:=infrav1.ELBProtocolTCP
177
+
iflbSpec!=nil&&lbSpec.HealthCheckProtocol!=nil {
178
+
s.scope.Trace("Found API health check protocol override in the Load Balancer spec, applying it to the API Target Group", "api-server-elb", lbSpec.HealthCheckProtocol)
0 commit comments