Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanFauble committed Jul 11, 2024
1 parent 392bce9 commit f1518e5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions modules/sage-aws-eks/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ module "eks" {
most_recent = true
}
vpc-cni = {
# TODO: ENABLE_POD_ENI=true
# https://aws.github.io/aws-eks-best-practices/networking/sgpp/
most_recent = true
configuration_values = jsonencode({
enableNetworkPolicy = "true",
Expand All @@ -69,7 +67,9 @@ module "eks" {
env = {
ENABLE_POD_ENI = "true",
POD_SECURITY_GROUP_ENFORCING_MODE = "standard",
AWS_VPC_K8S_CNI_EXTERNALSNAT = "true"
# TODO: Turn on strict mode when we are ready to enforce it
# POD_SECURITY_GROUP_ENFORCING_MODE = "strict",
AWS_VPC_K8S_CNI_EXTERNALSNAT = "true"
} })
}
}
Expand Down
8 changes: 4 additions & 4 deletions modules/sage-aws-k8s-node-autoscaler/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ module "ocean-aws-k8s" {
version = "1.2.0"

# Configuration
cluster_name = var.cluster_name
region = var.region
subnet_ids = var.private_vpc_subnet_ids
worker_instance_profile_arn = aws_iam_instance_profile.profile.arn
cluster_name = var.cluster_name
region = var.region
subnet_ids = var.private_vpc_subnet_ids
worker_instance_profile_arn = aws_iam_instance_profile.profile.arn
security_groups = [var.node_security_group_id]
is_aggressive_scale_down_enabled = true
max_scale_down_percentage = 33
Expand Down

0 comments on commit f1518e5

Please sign in to comment.