Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENI Config Label/Annotation Def Concatenation #1207

Closed
tanguyfalconnet opened this issue Sep 11, 2020 · 19 comments
Closed

ENI Config Label/Annotation Def Concatenation #1207

tanguyfalconnet opened this issue Sep 11, 2020 · 19 comments

Comments

@tanguyfalconnet
Copy link

tanguyfalconnet commented Sep 11, 2020

What would you like to be added:
Currently, with Custom Networking, VPC CNI can easily use one subnet and security group per AZ when reading failure-domain.beta.kubernetes.io/zone label. But if we want to use multiple custom network per AZ, we can't rely on only one label. We should be able to concanate labels/annotations in ENI_CONFIG_LABEL_DEF and ENI_CONFIG_ANNOTATION_DEF.

Example of ENIConfig with 3 subnets :
name : eu-west-1a, subnet : 10.0.0.0/18
name : eu-west-1b, subnet : 10.0.64.0/18
name : eu-west-1c, subnet : 10.0.128.0/18
ENI_CONFIG_LABEL_DEF = failure-domain.beta.kubernetes.io/zone

Example of ENIConfig with 6 subnets :
name : sub1-eu-west-1a, subnet : 10.0.0.0/18
name : sub1-eu-west-1b, subnet : 10.0.64.0/18
name : sub1-eu-west-1c, subnet : 10.0.128.0/18
name : sub2-eu-west-1a, subnet : 10.1.0.0/18
name : sub2-eu-west-1b, subnet : 10.1.64.0/18
name : sub2-eu-west-1c, subnet : 10.1.128.0/18
ENI_CONFIG_LABEL_DEF = some_label_containing_sub_name,failure-domain.beta.kubernetes.io/zone

Why is this needed:
We would like to be able to use more IPs than provided by three /18 subnets for our pods.

@prabhushan
Copy link

This is really needed.. Can anyone check the status of this one?

@jayanthvn
Copy link
Contributor

Hi,

Sure I can discuss internally and we will prioritize this, so instead of sub1-eu-west-1a and sub2-eu-west-1a would it be fine if we have list of subnets something like -

cat <<EOF | kubectl apply -f -
apiVersion: crd.k8s.amazonaws.com/v1alpha1
kind: ENIConfig
metadata:
 name: $AZ2
spec:
  securityGroups: 
    - sg-xxxxxxxxxxxx
  subnet: 
    - $CUST_SNET1
    - $CUST_SNET2
EOF

@niroowns
Copy link

Hi @jayanthvn - any update on this?

@jayanthvn
Copy link
Contributor

@niroowns - Sorry we haven't got a chance to look into this enhancement. I will take a look next month and provide an update.

@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days

@sidewinder12s
Copy link

This is still a requirement.

@github-actions github-actions bot removed the stale Issue or PR is stale label May 27, 2022
@technotaff-nbs
Copy link

I was about to raise a ticket suggesting this feature and found it has already been requested.

This feature is required, we need to have the option of a per-nodeGroup subnet and/or security group.

Currently all the options are per-cluster (via ENVIRONMENT_VARIABLES), we need some way or extending the ENIConfig name with a prefix or suffix via a node label!

e.g. "k8s.amazonaws.com/eniConfigSuffix" = "-pci"

Would force vpc-cni in eu-west-2a to use the ENIConfig called "eu-west-2a-pci".

@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days

@github-actions github-actions bot added the stale Issue or PR is stale label Sep 21, 2022
@sidewinder12s
Copy link

/remove-lifecycle stale

@github-actions github-actions bot removed the stale Issue or PR is stale label Sep 22, 2022
@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days

@github-actions github-actions bot added the stale Issue or PR is stale label Nov 22, 2022
@elasticdotventures
Copy link

stale=not

@github-actions github-actions bot removed the stale Issue or PR is stale label Nov 23, 2022
@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days

@github-actions github-actions bot added the stale Issue or PR is stale label Jan 23, 2023
@sidewinder12s
Copy link

/remove-lifecycle stale

@jayanthvn jayanthvn assigned jdn5126 and unassigned jayanthvn Jan 30, 2023
@jdn5126 jdn5126 removed the stale Issue or PR is stale label Jan 30, 2023
@github-actions
Copy link

github-actions bot commented Apr 1, 2023

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days

@github-actions github-actions bot added the stale Issue or PR is stale label Apr 1, 2023
@jdn5126 jdn5126 removed the stale Issue or PR is stale label Apr 3, 2023
@github-actions
Copy link

github-actions bot commented Jun 3, 2023

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days

@github-actions github-actions bot added the stale Issue or PR is stale label Jun 3, 2023
@jdn5126 jdn5126 removed the stale Issue or PR is stale label Jun 5, 2023
@jdn5126 jdn5126 removed their assignment Jul 28, 2023
@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days

@github-actions github-actions bot added the stale Issue or PR is stale label Sep 27, 2023
@jdn5126 jdn5126 removed the stale Issue or PR is stale label Sep 27, 2023
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days

@github-actions github-actions bot added the stale Issue or PR is stale label Nov 27, 2023
@jdn5126 jdn5126 removed the stale Issue or PR is stale label Nov 27, 2023
@jdn5126
Copy link
Contributor

jdn5126 commented Jan 25, 2024

Closing this in favor of the container roadmap issue so that it gets prioritized properly: aws/containers-roadmap#1709

Please upvote the container roadmap issue to help with prioritization.

@jdn5126 jdn5126 closed this as completed Jan 25, 2024
Copy link

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants