Available in editions: EE
The module lifecycle stage: General Availability
For the ServiceWithHealthchecks load balancers you create to work, the following conditions must be met:
-
The network policy of the custom project in which the ServiceWithHealthchecks will be created must include a rule allowing incoming traffic from all pods in the
d8-service-with-healthchecksnamespace:ingress: - from: - namespaceSelector: matchLabels: kubernetes.io/metadata.name: d8-service-with-healthchecksFor more information on network policies, see the Configuring Network Policies section.
-
The cluster role used in ClusterRoleBinding and RoleBinding when assigning permissions to users and service accounts for the ServiceWithHealthchecks resource must be extended with the following rules:
getlistwatchcreateupdatepatchdelete.
For more details, see the section Granting permissions to users and service accounts.
Enabling the module does not automatically replace existing Service resources with ServiceWithHealthcheck resources. To replace existing services with ServiceWithHealthcheck, follow these steps:
- Create ServiceWithHealthcheck resources with the same names and parameters as the existing Service resources you want to replace. When creating a ServiceWithHealthcheck, specify the required
healthchecksparameters. - Delete the Service resources that you want to replace with ServiceWithHealthcheck.
The module is not enabled by default in any bundles.
Parameters
Schema version: 1
- objectsettings
- booleansettings.debug
If set, enables debug logging level for the controller and agent, providing more verbose log output including caller information.
Default:
false - booleansettings.verboseStatus
If true, the agent will update the lastProbeTime field in the ServiceWithHealthchecks status on every health check (every periodSeconds). This can be useful for debugging but causes high API server load. If false, only state transitions are recorded.
Default:
false

