Skip to content

Commit

Permalink
Merge pull request #289 from aws-samples/fix/k8s-taint-updates
Browse files Browse the repository at this point in the history
Update k8s_taints documentation and taints fixes
  • Loading branch information
kcoleman731 authored Feb 26, 2022
2 parents 303ad25 + b61d23a commit 8a29e2c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 3 additions & 1 deletion docs/node-groups.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The below example demonstrates the minimum configuration required to deploy a ma
}
```

The below example demonstrates advanced configuration options for a manged node group.
The below example demonstrates advanced configuration options for a managed node group.

```hcl
managed_node_groups = {
Expand Down Expand Up @@ -49,6 +49,8 @@ The below example demonstrates advanced configuration options for a manged node
# 4> Node Group network configuration
subnet_ids = [] # Mandatory - # Define private/public subnets list with comma separated ["subnet1","subnet2","subnet3"]
k8s_taints = []
# optionally, configure a taint on the node group:
# k8s_taints = [{key= "purpose", value="execution", "effect"="NO_SCHEDULE"}]
k8s_labels = {
Environment = "preprod"
Zone = "dev"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ module "aws-eks-accelerator-for-terraform" {
subnet_ids = [] # Define your private/public subnets list with comma seprated subnet_ids = ['subnet1','subnet2','subnet3']
k8s_taints = {}
k8s_taints = []
k8s_labels = {
Environment = "preprod"
Zone = "dev"
Expand Down Expand Up @@ -334,7 +334,6 @@ module "aws-eks-accelerator-for-terraform" {
subnet_ids = [] # Define your private/public subnets list with comma seprated subnet_ids = ['subnet1','subnet2','subnet3']
k8s_taints = []
k8s_labels = {
Environment = "preprod"
Zone = "dev"
Expand Down Expand Up @@ -373,8 +372,6 @@ module "aws-eks-accelerator-for-terraform" {
subnet_ids = [] # Define your private/public subnets list with comma seprated subnet_ids = ['subnet1','subnet2','subnet3']
k8s_taints = []
k8s_labels = {
Environment = "preprod"
Zone = "dev"
Expand Down
1 change: 0 additions & 1 deletion modules/aws-eks-fargate-profiles/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ locals {
fargate_profile_namespaces = []
create_iam_role = true
k8s_labels = {}
k8s_taints = []
additional_tags = {}
subnet_ids = []
}
Expand Down
2 changes: 2 additions & 0 deletions modules/aws-eks-managed-node-groups/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ This module allows you to create ON-DEMAND, SPOT and BOTTLEROCKET(with custom am
subnet_ids = [] # Define your private/public subnets list with comma seprated subnet_ids = ['subnet1','subnet2','subnet3']
k8s_taints = []
# optionally, configure a taint on the node group:
# k8s_taints = [{key= "purpose", value="execution", "effect"="NO_SCHEDULE"}]
k8s_labels = {
Environment = "preprod"
Expand Down

0 comments on commit 8a29e2c

Please sign in to comment.