Commit Graph

264 Commits

Author SHA1 Message Date
Andrew Roth
b2da12dc6e Add instructions on how to enable the docker bridge network (#352)
Signed-off-by: Andrew Roth <roth.andy@gmail.com>
2019-04-18 09:26:13 +02:00
Max Williams
1a26f353d8 Release v3.0.0 (#347)
Also fixing AWS provider in examples
2019-04-15 17:39:37 +02:00
Jeffrey Rose
47c7e7ad6f Fix: ENI's prevent SecGrps from being destroyed on tf destroy (#311)
* Fix: remove ENI's on term fixes cluster destroy issues with security group still attached

* Fix: delete ENIs on term to allow sg destroy
2019-04-11 15:29:35 +02:00
Scott Crooks
18e00861e4 Adding EKS Control Plane logging options (#340)
* Adding EKS Control Plane logging options

* Added feature addition

* Removing 'optional'

* Adding documentation, and changing variable order

* Using pre-commit instead

* adding IAM instance profiles to outputs, addresses #323 (#329)

* adding IAM instance profiles to outputs

* updating changelog

* updated README
2019-04-11 15:21:09 +02:00
rverma-nikiai
b81a15ad41 Add support for placement group in launch template (#332)
* Update to 1.12

* Update workers_launch_template.tf

* Update local.tf

* Update CHANGELOG.md

* Update workers.tf

* Update workers.tf
2019-04-11 15:15:07 +02:00
soapergem
fb59e4fef4 adding IAM instance profiles to outputs, addresses #323 (#329)
* adding IAM instance profiles to outputs

* updating changelog

* updated README
2019-04-11 15:12:01 +02:00
chenrui
46ec636b36 Update eks module deps (#334) 2019-04-03 13:10:25 +02:00
Stijn De Haes
7a4484552f Update to 1.12 (#327) 2019-04-03 12:30:58 +02:00
Max Williams
f1858c81f1 New release: 2.3.1 (#321) 2019-03-26 17:26:08 +01:00
Max Williams
8b2e1c2dd8 Replacing enable_docker_bridge with a generic option called bootstrap_extra_args (#320)
* Replacing enable_docker_bridge with a generic option called bootstrap_extra_args

* making breaking change more obvious
2019-03-26 17:20:39 +01:00
Stijn De Haes
806edb6001 Add support for eks endpoint_private_access and endpoint_public_access (#314) 2019-03-25 12:05:32 +01:00
Scott Crooks
97c79643fb Adding minimum communication security group rule for Kubelet (#318)
* Adding minimum communication

The docs at https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html specify that port 10250 is needed at a minimum for communication between the control plane, and the worker nodes. If you specify a `worker_sg_ingress_from_port` as something like `30000`, then this minimum communication is never established.

* Adding description to CHANGELOG.md

* Adjusting the naming of the resources

* Ensuring creation is conditional on the value of `worker_sg_ingress_from_port`

* Mistake, should be greater than port 10250
2019-03-25 11:58:55 +01:00
Max Williams
a26a43ae63 Release v.2.3.0 (#309) 2019-03-20 13:54:42 +01:00
Matheus Fernandes
fd1f149432 Add support for placement groups (#306) 2019-03-20 13:38:41 +01:00
Nicolas Szalay
bef3c36a40 Allow additional policies to be attached to worker nodes (#308)
Example usage : we want our nodes to be able to update route53 record
for using external-dns.

```hcl
data "template_file" "eks_worker_additional_route53_policy" {
  template = "${file("iam/route53_policy.json.tpl")}"
}

resource "aws_iam_policy" "eks_worker_additional_route53_policy" {
  description = "Allow nodes to update our zone"
  name = "${module.k8s_cluster01_label.id}-additional-route53-policy"
  policy = "${data.template_file.eks_worker_additional_route53_policy.rendered}"
}
```

which defines the policy; then in the EKS module :
```hcl
module "cluster01" {
  cluster_name = "cluster01"
<snip>
  workers_addtional_policies = [
    "${aws_iam_policy.eks_worker_additional_route53_policy.arn}"
  ]
  workers_addtional_policies_count = 1
<snip>
```
2019-03-20 13:30:16 +01:00
Taylor Barrella
efaa3d8d60 Add cluster name and ephemeral storage tags for cluster autoscaler (#299) 2019-03-20 13:19:38 +01:00
michaelmccord
80085f50ab Add enable_docker_bridge (#302) 2019-03-13 17:30:41 +01:00
Brandon J. O'Connor
d02bbc5e1e Merge pull request #298 from skang0601/fix-cluster-autoscaler-role-for-launch-templates
add ec2:DescribeLaunchTemplateVersions action to worker node iam role
2019-03-07 10:31:35 -08:00
Brandon J. O'Connor
bb6921e3e2 Merge branch 'master' into fix-cluster-autoscaler-role-for-launch-templates 2019-03-07 09:57:42 -08:00
russki
3795811beb Adding workers_launch_template ebs encryption (#292)
* Adding workers_launch_template ebs encryption

* Update CHANGELOG.md
2019-03-07 15:58:59 +01:00
Sung Kang
28fd3c5530 add ec2:DescribeLaunchTemplateVersions action to worker node iam role 2019-03-07 07:39:44 -06:00
Brandon J. O'Connor
bb9c1b0b54 Merge pull request #284 from tekn0ir/iam_path
Add optional iam_path
2019-03-06 23:09:00 -08:00
Brandon J. O'Connor
9fe2cfd57f Merge pull request #296 from max-rocket-internet/ami_filter
Adding optional name filter variable to be able to pin worker AMI to a release
2019-03-06 22:51:59 -08:00
Max Williams
7f8ef9a3e3 fix changelog 2019-03-05 15:10:30 +01:00
Max Williams
95986471f0 Adding optional name filter variable to be able to pin worker AMI to a release 2019-03-05 14:57:22 +01:00
Anders Åslund
3728299161 Add optional iam_path 2019-03-05 12:31:35 +01:00
gad0lin
dcdf413bad typo fix (#293) 2019-03-05 08:58:57 +01:00
Steffen Pingel
d473b71024 Add outputs for cluster role ARN and name (#290)
This enables attaching additional policies, e.g. for using
encrypted volumes, to the cluster.

Signed-off-by: Steffen Pingel <steffen.pingel@tasktop.com>
2019-03-05 08:54:09 +01:00
Anton Babenko
87114b0bd0 Released 2.2.1 2019-02-18 17:51:00 +01:00
Anton Babenko
6005cecd8a Merge pull request #272 from syst0m/master
Added output for generated kubeconfig filename
2019-02-18 17:38:52 +01:00
Tomislav Tomašić
28bf0c14a4 Added handling for disabled kubeconfig 2019-02-18 16:32:37 +00:00
syst0m
e8071b361c Added output for generated kubeconfig filename. 2019-02-07 17:27:42 +00:00
Max Williams
ba90fba01f Release v2.2.0 (#270) 2019-02-07 16:51:55 +01:00
Dylan Hellems
a1a1644f80 Add optional permissions_boundary (#265)
* Add optional permissions_boundary

* Update CHANGELOG
2019-02-07 16:38:16 +01:00
skang0601
a23c43caf2 Updating example IAM docs to include Launch Template actions (#268) 2019-02-07 16:37:18 +01:00
yutachaos
d3c1bd6237 Added write_aws_auth_config option (#228)
* Added update aws auth configmap when manage_aws_auth set false case
and `write_aws_auth_config` variable for not create the aws_auth files option

* Add CHANGELOG

* Changed writing config file process for Windows compatibility.

* Apply terraform-docs and terraform fmt

* Fixed zsh-specific syntax

* Fixed CHANGELOG.md
2019-02-01 13:02:41 +01:00
Stefan Sedich
35747d707a Worker group tags (#252)
* Allow per worker group ASG tags to be set

* Format

* Set correct defaults

* Implement hack that will use the first item in the list if a matching item does not exist for the worker group

* Use a map that will map from the worker group name to the tags to get around the issue where list indexing does not work with a list of lists

* Format

* Cleanup

* Fix sample

* README
2019-01-31 15:38:53 +01:00
Stefan Sedich
eac4164c05 Adding the g3s.xlarge instance type ebs optimized mapping (#258)
* Adding the g3s.xlarge instance type ebs optimized mapping

* Changelog
2019-01-30 11:56:52 +01:00
Stefano Zaninetta
39f30e9d58 Add enabled_metrics attributes to autoscaling_group (#256)
* make enabled_metrics property configurable

* update changelog
2019-01-30 11:50:41 +01:00
leonsodhi-lf
dfd5a8f808 Use launch template defaults for launch template userdata (#255)
* User launch template defaults for launch template userdata

* Updated changelog
2019-01-30 11:42:31 +01:00
Stefan Sedich
8473c69f25 Enable create_before_destroy for ASG and enable force_delete to be configured (#250)
* Allow force_delete to be passed to the ASG, and set ASG so that it will create before deletion.

* Set default

* Adding CHANGELOG
2019-01-24 10:48:26 +01:00
Max Williams
89461903b4 Release v2.1.0 (#248)
* Release v2.1.0

🚒

* update this file. What's it for? No one knows.
2019-01-16 13:32:52 +01:00
Erik Lattimore
03c223131f Fix issue where ConfigMap isn't applied to new cluster (#235)
If you are trying to recover a cluster that was deleted, the current
code will not re-apply the ConfigMap because it is already rendered so
kubectl command won't get triggered.

This change adds the cluster endpoint (which should be different when
spinning up a new cluster even with the same name) so we will force a
re-render and cause the kubectl command to run.
2019-01-15 12:14:52 +01:00
Marcello Romani
91eb56f4aa Fix zsh-specific syntax in retry loop within null_resource.update_config_map_aws_auth (#245)
* Fixed zsh-specific syntax, fail if kubectl apply fails after 10 attempts

* Updated CHANGELOG
2019-01-15 12:11:24 +01:00
Jonathan Boulle
95d4e78f2f Fix variable description typo, regenerate README (#247) 2019-01-15 12:03:48 +01:00
skang0601
f3ab7c67da Allows worker groups to be created using AWS Launch Templates (#222) 2019-01-10 16:19:19 +01:00
Marcello Romani
646831423a Remove invalid action from policy (#239) 2019-01-10 16:02:37 +01:00
Brandon J. O'Connor
3fc7cd88f7 Merge pull request #221 from max-rocket-internet/readme_update
Making README example more complete
2018-12-19 23:11:26 -08:00
Max Williams
6810385237 Making README example more complete 2018-12-19 10:44:03 +01:00
Max Williams
982541a4ec Updates for v2.0.0 release (#216)
* Updates for version 2.0 release

* Updating readme

* update this version file that I've never seen before

* finish changelog updates
2018-12-17 10:50:21 +01:00