Change APIServer healthcheck to SSL protocol
When the healthcheck protocl is TCP the APIServer logs are
constantly spammed with Handshake EOF errors. This alters the
healthcheck target from TCP:6443 to SSL:6443.
@@ -148,7 +148,7 @@ func (s *Service) getAPIServerClassicELBSpec() *v1alpha2.ClassicELB {
},
},
HealthCheck: &v1alpha2.ClassicELBHealthCheck{
- Target: fmt.Sprintf("%v:%d", v1alpha2.ClassicELBProtocolTCP, 6443),
+ Target: fmt.Sprintf("%v:%d", v1alpha2.ClassicELBProtocolSSL, 6443),
Interval: 10 * time.Second,
Timeout: 5 * time.Second,
HealthyThreshold: 5,
