Skip to content

Allow setting healthCheckNodePort in GatewayAPI #4718

@sebhoss

Description

@sebhoss

In our setup, we do not rely upon node ports. We can already set gatewayService.spec.allocateLoadBalancerNodePorts: false to close one node port, however the healthCheckNodePort is still opened. Since it cannot be closed, how about allowing setting the HCNP port manually instead of letting Kubernetes pick a random port number. The manually selected port number is easier to use in network policies. Something like this would be perfect for us:

apiVersion: operator.tigera.io/v1
kind: GatewayAPI
metadata:
  name: default
spec:
  gatewayClasses:
    - name: calico
      gatewayService:
        spec:
          healthCheckNodePort: 12345

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions