Skip to content

Commit

Permalink
headless PublishNotReadyAddresses
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Rodgers <[email protected]>
  • Loading branch information
com6056 committed Aug 2, 2024
1 parent e5425a5 commit 3f6cb3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions k8sutils/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ func generateServiceDef(serviceMeta metav1.ObjectMeta, epp exporterPortProvider,
}
if headless {
service.Spec.ClusterIP = "None"
service.Spec.PublishNotReadyAddresses = true
}
if exporterPort, ok := epp(); ok {
redisExporterService := enableMetricsPort(exporterPort)
Expand Down

0 comments on commit 3f6cb3d

Please sign in to comment.