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

feat: Add support for service_ipv4_cidr for the EKS cluster #1139

Merged
merged 2 commits into from
Jan 28, 2021
Merged

feat: Add support for service_ipv4_cidr for the EKS cluster #1139

merged 2 commits into from
Jan 28, 2021

Conversation

nasuku
Copy link
Contributor

@nasuku nasuku commented Dec 8, 2020

PR o'clock

Description

This change adds support for service_ipv4_cidr that has been added to terraform-provider-aws last week.
( please see hashicorp/terraform-provider-aws#15505 )

This allows the user to specify the ipv4 CIDR for the k8s services (resolves #1056 )

Checklist

@nasuku
Copy link
Contributor Author

nasuku commented Dec 15, 2020

The linter failures (which are happening on top of tree) are fixed in a separate pr #1140 .

@pcantea
Copy link

pcantea commented Dec 21, 2020

Is there a rough time estimate of when this might get merged? Looks like a rather benign change, but it's blocking our prod EKS deployment :)

@im-nonedone
Copy link

@nasuku we forked you repo to use it. With the new Service IPv4 CIDR, we ran into --dns-cluster-ip issue. We were getting 172.20.0.10 as the cluster DNS on the pods, which is not the subnet we are using. This also needs to be looked into on bootstrap.sh in amazon-eks-ami.

As a workaround we specified this --dns-cluster-ip <ip> in bootstap_extra_args referenced in local.tf

@nasuku
Copy link
Contributor Author

nasuku commented Dec 22, 2020

@im-nonedone thanks for mentioning it. Yes. I too was passsing the dns-cluster-ip in bootstrap_extra_args.
I felt that this was more like a bug/enhancement in bootstrap.sh than handling in terraform.
if no fix comes from aws, then may be, a separate PR which accepts dns_cluster_ip as another variable would be a better option.

@nasuku
Copy link
Contributor Author

nasuku commented Jan 5, 2021

thanks for the review @barryib . Made changes per your suggestion and rebased to master branch.

@barryib barryib changed the title feat: add support for service_ipv4_cidr feat: Add support for service_ipv4_cidr for the EKS cluster Jan 28, 2021
@barryib barryib merged commit d48ff6d into terraform-aws-modules:master Jan 28, 2021
ArchiFleKs pushed a commit to ArchiFleKs/terraform-aws-eks that referenced this pull request Apr 16, 2021
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

supports configurable Kubernetes service IP address range
4 participants