Skip to content

Commit 1573abb

Browse files
authored
Merge pull request #885 from esierra-stratio/chore/improve_apiserver_lb_hc
chore: improve apiserver loadbalancer healthcheck
2 parents 40bbd4c + aa63a56 commit 1573abb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cloud/scope/cluster.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,10 +314,11 @@ func (s *ClusterScope) ForwardingRuleSpec() *compute.ForwardingRule {
314314
func (s *ClusterScope) HealthCheckSpec() *compute.HealthCheck {
315315
return &compute.HealthCheck{
316316
Name: fmt.Sprintf("%s-%s", s.Name(), infrav1.APIServerRoleTagValue),
317-
Type: "SSL",
318-
SslHealthCheck: &compute.SSLHealthCheck{
317+
Type: "HTTPS",
318+
HttpsHealthCheck: &compute.HTTPSHealthCheck{
319319
Port: 6443,
320320
PortSpecification: "USE_FIXED_PORT",
321+
RequestPath: "/readyz",
321322
},
322323
CheckIntervalSec: 10,
323324
TimeoutSec: 5,

0 commit comments

Comments
 (0)