In this example we are deloying a serverless kubernetes cluster using AWS EKS for the cluster control plane and AWS Fargate for running the containers. By using this approach the infrastructure that needs to be maintained is basically zero because we use AWS services that manage the underlying infrastructure for us.

Architecture Diagram



  • A Fargate Profile for EKS is locked to a single kubernetes namespace. If you need multiple namespaces to use fargate add more profiles to the cluster.
  • To run a "hybrid" namespace that runs both fargate and regular pods you need to use the labels parameter in the nclouds_tf_eks_fargate_profile module.

Modules used