-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Fix pod to pod communication between different nodes #706
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍🏼
examples/karpenter/main.tf
Outdated
|
||
enable_karpenter = true | ||
enable_aws_node_termination_handler = true | ||
|
||
tags = local.tags | ||
|
||
depends_on = [module.eks_blueprints.managed_node_group_autoscaling_groups] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we want to avoid hard dependencies because any update to the managed node group will force the computed attributes in addons to be re-computed. This forces IRSA policies to be detached and re-attached but only after some time which results in failure to provision correctly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok will remove it
examples/karpenter/main.tf
Outdated
@@ -195,6 +232,7 @@ module "vpc" { | |||
private_subnets = [for k, v in local.azs : cidrsubnet(local.vpc_cidr, 8, k + 10)] | |||
|
|||
enable_nat_gateway = true | |||
create_igw = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the default so not needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok
examples/karpenter/main.tf
Outdated
@@ -208,12 +246,12 @@ module "vpc" { | |||
|
|||
public_subnet_tags = { | |||
"kubernetes.io/cluster/${local.name}" = "shared" | |||
"kubernetes.io/role/elb" = 1 | |||
"kubernetes.io/role/elb" = "1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just curious - why the change to string formatted?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was present elsewhere so wanted to have same thing here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You prefer to revert this ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the majority are in numeric format so lets try to stay consistent if you don't mind
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reverted
Signed-off-by: sallaman <sallaman@amazon.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the corrections and additions
not sure whats up with our CI runners today so merging ahead |
What does this PR do?
Motivation
More
pre-commit run -a
with this PRNote: Not all the PRs required examples and docs except a new pattern or add-on added.
For Moderators
Additional Notes