Skip to content

Commit

Permalink
Merge pull request #4 from htc-demo-0103/fix-eks-naming
Browse files Browse the repository at this point in the history
fix: references to EKS / EC2 instead of AKS / Agents
  • Loading branch information
johanneswuerbach authored Feb 6, 2024
2 parents 3849160 + a5e72c7 commit 4d22048
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ Check for the existence of key elements of the reference architecture. This is a
export HUMANITEC_ORG="my-humanitec-org"
```

2. Verify the existence of the Resource Definition for the EKS cluster in your Humanitec Organization:
2. Verify the existence of the Resource Definition for the AKS cluster in your Humanitec Organization:

```
curl -s https://api.humanitec.io/orgs/${HUMANITEC_ORG}/resources/defs/ref-arch \
Expand Down Expand Up @@ -216,7 +216,7 @@ Once you are finished with the reference architecture, you can remove all provis
| humanitec\_org\_id | Humanitec Organization ID | `string` | n/a | yes |
| location | Azure region to deploy into | `string` | n/a | yes |
| subscription\_id | Azure Subscription (ID) to use | `string` | n/a | yes |
| vm\_size | List of EC2 instances types to use for EKS nodes | `string` | `"Standard_D2_v2"` | no |
| vm\_size | The Azure VM instances type to use as "Agents" (aka Kubernetes Nodes) in AKS | `string` | `"Standard_D2_v2"` | no |
<!-- END_TF_DOCS -->

## Learn more
Expand Down
4 changes: 2 additions & 2 deletions modules/base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ Module that provides the reference architecture.
|------|-------------|------|---------|:--------:|
| <a name="input_location"></a> [location](#input\_location) | Azure region to deploy into | `string` | n/a | yes |
| <a name="input_subscription_id"></a> [subscription\_id](#input\_subscription\_id) | Azure Subscription (ID) to use | `string` | n/a | yes |
| <a name="input_cluster_name"></a> [cluster\_name](#input\_cluster\_name) | Name for the EKS cluster | `string` | `"ref-arch"` | no |
| <a name="input_cluster_name"></a> [cluster\_name](#input\_cluster\_name) | Name for the AKS cluster | `string` | `"ref-arch"` | no |
| <a name="input_environment"></a> [environment](#input\_environment) | Name of the environment to be deployed into | `string` | `"development"` | no |
| <a name="input_ingress_nginx_min_unavailable"></a> [ingress\_nginx\_min\_unavailable](#input\_ingress\_nginx\_min\_unavailable) | Number of allowed unavaiable replicas for the ingress-nginx controller | `number` | `1` | no |
| <a name="input_ingress_nginx_replica_count"></a> [ingress\_nginx\_replica\_count](#input\_ingress\_nginx\_replica\_count) | Number of replicas for the ingress-nginx controller | `number` | `2` | no |
| <a name="input_resource_group_name"></a> [resource\_group\_name](#input\_resource\_group\_name) | Name of the resource group to create | `string` | `"ref-arch"` | no |
| <a name="input_vm_size"></a> [vm\_size](#input\_vm\_size) | List of EC2 instances types to use for EKS nodes | `string` | `"Standard_D2_v2"` | no |
| <a name="input_vm_size"></a> [vm\_size](#input\_vm\_size) | The Azure VM instances type to use as "Agents" (aka Kubernetes Nodes) in AKS | `string` | `"Standard_D2_v2"` | no |

## Outputs

Expand Down
4 changes: 2 additions & 2 deletions modules/base/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ variable "resource_group_name" {
}

variable "cluster_name" {
description = "Name for the EKS cluster"
description = "Name for the AKS cluster"
type = string
default = "ref-arch"
}

variable "vm_size" {
description = "List of EC2 instances types to use for EKS nodes"
description = "The Azure VM instances type to use as \"Agents\" (aka Kubernetes Nodes) in AKS"
type = string
default = "Standard_D2_v2"
}
Expand Down
2 changes: 1 addition & 1 deletion terraform.tfvars.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ location = ""
# Azure Subscription (ID) to use
subscription_id = ""

# List of EC2 instances types to use for EKS nodes
# The Azure VM instances type to use as "Agents" (aka Kubernetes Nodes) in AKS
vm_size = "Standard_D2_v2"
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ variable "humanitec_org_id" {
}

variable "vm_size" {
description = "List of EC2 instances types to use for EKS nodes"
description = "The Azure VM instances type to use as \"Agents\" (aka Kubernetes Nodes) in AKS"
type = string
default = "Standard_D2_v2"
}

0 comments on commit 4d22048

Please sign in to comment.