Skip to content

Proper setup procedure of eniConfig? #264

Closed
@yuanlinios

Description

@yuanlinios

Customized security groups and subnets are required for my pods, so I need the eniConfig as it is documented here https://docs.aws.amazon.com/eks/latest/userguide/cni-custom-network.html

From the PR #165, I realize the eni config only applies to new ENI allocated after worker node is annotated.

The problem is: after I join worker nodes to EKS cluster, and before I apply the eniConfig, the IPAMD in worker nodes already allocated ENI and ip addresses. So even I annotate worker node properly, before a new ENI is allocated, all my pods created with IP addresses already allocated will still be placed in wrong subnets.

Is there any proper procedure to avoid this problem?

Metadata

Metadata

Assignees

No one assigned

    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