Skip to content

Latest commit

 

History

History
35 lines (19 loc) · 2.22 KB

034-EKS-Fargate.md

File metadata and controls

35 lines (19 loc) · 2.22 KB

34 EKS Fargate

Date: 2022-01-21

Status

🤔 Incomplete

Proposal

Move from EKS managed nodes to EKS Fargate.

Discussion

This is really attractive because:

  • to reduce our operational overhead
  • improve security isolation between pods (it uses Firecracker, so we can stop worrying about an attacker managing to escape a container).

However there’s plenty of things we’d need to tackle, to achieve this (copied from ADR022 EKS - Fargate considerations):

Pod limits - there is a quota limit of 500 Fargate pods per region per AWS Account which could be an issue, considering we currently run ~2000 pods. We can request AWS raise the limit - not currently sure what scope there is. With Multi-cluster stage 5, the separation of loads into different AWS accounts will settle this issue.

Daemonset functionality - needs replacement:

No EBS support - Prometheus will run still in a managed node group. Likely other workloads too to consider.

How people check the status of their deployments - to be investigated

Ingress can't be nginx? - just the load balancer in front - to be investigated. Would be fine with AWS Managed Ingress

If we don't use Fargate then we should take advantage of Spot instances for reduced costs. However Fargate is the priority, because the main driver here is engineer time, not EC2 cost.