Skip to content

Correction of Custom Networking - Automate Configuration with Availability Zone Labels #435

Open
@asjarre

Description

@asjarre

Describe the problem

In step 2 of the Automate Configuration with Availability Zone Labels documentation, it recommends running this command to enable automatic configuration of the ENI config based on the AZ.

kubectl set env daemonset aws-node -n kube-system AWS_VPC_K8S_CNI_CUSTOM_NETWORK_CFG=true

I believe the command is meant to be:

kubectl set env daemonset aws-node -n kube-system ENI_CONFIG_LABEL_DEF=topology.kubernetes.io/zone

As it currently reads, the implication is that setting AWS_VPC_K8S_CNI_CUSTOM_NETWORK_CFG=true would be enough but I don't think that's true. Please correct me if I'm wrong.

References

Setting the ENI_CONFIG_LABEL_DEF is in line with the official AWS docs on custom networking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions