The module lifecycle stage: Generally available version
The module has requirements for installation
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 ServiceWithHealthchecks resources. To replace existing services with ServiceWithHealthchecks, follow these steps:
- Create ServiceWithHealthchecks resources with the same names and parameters as the existing Service resources you want to replace. The
healthchecksection is optional: add it to enable active health probing, or omit it to publish endpoints based on pod readiness alone, like a plain Service. - Delete the Service resources that you want to replace with ServiceWithHealthchecks.
Requirements
To the Deckhouse Platform version: 1.78 and above.
Parameters
Schema version: 1
-
-
booleansettings.debugIf set, enables debug logging level for the controller and agent, providing more verbose log output including caller information.
Default:
false -
booleansettings.verboseStatusIf 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
-