@grucloud/module-aws-eks
v2.3.1
Published
Grucloud module to manage an EKS Cluster
Downloads
14
Readme
GruCloud Module the the AWS EKS
The purpose of the module-aws-eks is to create the resources to run an application on kubernetes with EKS: Elastic Kubernetes Service
Resources
module-aws-vpc
This module depends on module-aws-vpc
IAM
EKS
Config
The default config sets cluster name and the tags for the vpc and subnets. These tags are required by the Aws Load Balancer Controller. This load balancer controller runs on your kunernetes cluster, his role is to create and destroy AWS load balancer.
const clusterName = "cluster";
module.exports = ({}) => ({
EKS: {
cluster: {
name: clusterName,
},
},
vpc: {
vpc: {
Tags: [{ Key: `kubernetes.io/cluster/${clusterName}`, Value: "shared" }],
},
subnets: {
privateTags: [
{
Key: `kubernetes.io/cluster/${clusterName}`,
Value: "shared",
},
{ Key: "kubernetes.io/role/internal-elb", Value: "1" },
],
publicTags: [
{
Key: `kubernetes.io/cluster/${clusterName}`,
Value: "shared",
},
{ Key: "kubernetes.io/role/elb", Value: "1" },
],
},
},
});
Dependency Graph
gc graph
Example
Look at the example to find out how to use this module.