Skip to content

use of downward API to set host name #91

Description

@rptaylor

In kube-vip/kube-vip#811 , the downward API is used to set the nodeName config flag to the kubernetes node name.
This was an important fix, but only applied via the YAML generator, not in the helm chart.
This is another case of incurring a cost with diverging deployment methods.

In the helm chart you can do e.g.

envValueFrom:
  # Explicitly use the k8s node name (kubectl get node) as the identifier for matching endpointslices.
  # See https://github.com/kube-vip/kube-vip/pull/811
  vip_nodename:
    fieldRef:
      fieldPath: spec.nodeName

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions