Skip to content

Commit

Permalink
kubeconfig, disk_size and autoscaler (cloudposse#6)
Browse files Browse the repository at this point in the history
* kubeconfig, disk_size and autoscaler

* Update main.tf

* revert kubeconfig_path, make readme and terraform fmt
  • Loading branch information
omerfsen authored and aknysh committed Jan 21, 2020
1 parent 610a538 commit bf5080d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow.

## Copyright

Copyright © 2017-2019 [Cloud Posse, LLC](https://cpco.io/copyright)
Copyright © 2017-2020 [Cloud Posse, LLC](https://cpco.io/copyright)



Expand Down
1 change: 1 addition & 0 deletions examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,5 @@ module "eks_node_group" {
cluster_name = module.eks_cluster.eks_cluster_id
kubernetes_version = var.kubernetes_version
kubernetes_labels = var.kubernetes_labels
disk_size = var.disk_size
}
6 changes: 6 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ locals {
var.tags,
{
"kubernetes.io/cluster/${var.cluster_name}" = "owned"
},
{
"k8s.io/cluster-autoscaler/${var.cluster_name}" = "owned"
},
{
"k8s.io/cluster-autoscaler/enabled" = "true"
}
)
}
Expand Down

0 comments on commit bf5080d

Please sign in to comment.