cloudposse-archives / reference-architectures

[WIP] Get up and running quickly with one of our reference architecture using our fully automated cold-start process.
https://cloudposse.com/accelerate
Apache License 2.0
154 stars 33 forks source link

[kops-private-topology] Align with current auto-scaler implementation #43

Closed Nuru closed 5 years ago

Nuru commented 5 years ago

what

In [kops-private-topology] template:

  1. Remove IAM permissions previously added to nodes to allow them to perform autoscaling
  2. Move autoscaling auto-discovery cloudLabels from kubeAPIServer to InstanceGroup for nodes
  3. Allow creation of 1 node instance group per availability zone rather than only 1 across all zones

why

  1. Autoscaler should be enabled via IAM role administered by kiam, not statically on all nodes
  2. Sync with current autoscaler chart v3.2.0
  3. Enable autoscaler to place new instances in zones that need them