Skip to content

Commit

Permalink
feat: added default eks addons
Browse files Browse the repository at this point in the history
fix: ebs encryption setting
feat: additional security-group
  • Loading branch information
h1manshu98 committed Aug 4, 2023
1 parent 0bb4afa commit 416b3a6
Show file tree
Hide file tree
Showing 10 changed files with 788 additions and 240 deletions.
29 changes: 12 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ environment = "test"
label_order = ["environment", "name"]
enabled = true
kubernetes_version = "1.25"
kubernetes_version = "1.27"
endpoint_private_access = true
endpoint_public_access = true
enabled_cluster_log_types = ["api", "audit", "authenticator", "controllerManager", "scheduler"]
Expand Down Expand Up @@ -154,16 +154,16 @@ self_node_groups = {
min_size = 2
max_size = 2 # Retains current max size
desired_size = 2
start_time = "2023-05-15T19:00:00Z"
end_time = "2023-05-19T19:00:00Z"
start_time = "2023-08-15T19:00:00Z"
end_time = "2023-08-19T19:00:00Z"
timezone = "Europe/Amsterdam"
recurrence = "0 7 * * 1"
},
scale-down = {
min_size = 0
max_size = 0 # Retains current max size
desired_size = 0
start_time = "2023-05-12T12:00:00Z"
start_time = "2023-08-12T12:00:00Z"
end_time = "2024-03-05T12:00:00Z"
timezone = "Europe/Amsterdam"
recurrence = "0 7 * * 5"
Expand Down Expand Up @@ -215,32 +215,27 @@ managed_node_group = {
apply_config_map_aws_auth = true
map_additional_iam_users = [
{
userarn = "arn:aws:iam::xxxxxx:user/nikita@clouddrove.com"
username = "nikita@clouddrove.com"
groups = ["system:masters"]
},
{
userarn = "arn:aws:iam::xxxxxx:user/sohan@clouddrove.com"
username = "sohan@clouddrove.com"
groups = ["system:masters"]
}
]
userarn = "arn:aws:iam::123456789:user/hello@clouddrove.com"
username = "hello@clouddrove.com"
groups = ["system:masters"]
}
]
# Schdule EKS Managed Auto Scaling node group
schedules = {
scale-up = {
min_size = 2
max_size = 2 # Retains current max size
desired_size = 2
start_time = "2023-05-15T19:00:00Z"
end_time = "2023-05-19T19:00:00Z"
start_time = "2023-08-15T19:00:00Z"
end_time = "2023-08-19T19:00:00Z"
timezone = "Europe/Amsterdam"
recurrence = "0 7 * * 1"
},
scale-down = {
min_size = 0
max_size = 0 # Retains current max size
desired_size = 0
start_time = "2023-05-12T12:00:00Z"
start_time = "2023-08-12T12:00:00Z"
end_time = "2024-03-05T12:00:00Z"
timezone = "Europe/Amsterdam"
recurrence = "0 7 * * 5"
Expand Down
Loading

0 comments on commit 416b3a6

Please sign in to comment.