A batteries included EKS cluster following best practices.
Project description
Pulumi LBr Labs EKS
This repo provides a multi-language component that creates a "batteries included" cluster ready for you to attach your EKS nodes to.
:warning: This is a work in progress
It creates:
- an EKS cluster with CloudTrail logging enabled, and secret encryption enabled
- Installs an operator that eases the process of adding Role Mappings to the aws-auth
- A node group designed to run "system" workloads with a taint
- The AWS EBS CSI Addon with an IAM role using IAM Roles for Service accounts
- The AWS VPC CBI Addon with an IAM role using IAM Roles for Service accounts
- The CoreDNS Addon
- An internal and external NGINX ingress controller with relevant ingress classes
- External DNS, with an IAM role that can modify Route53 domains using IAM Roles for service accounts
- Cert Manager, with an IAM role that can modify Route53 domains using IAM Roles for service accounts
It is designed to be an opinionated implementation of EKS, without the overhead of having to install all of the things required for your cluster to be functional.
It also provides a mechanism to quickly attached a workload node to your newly created cluster, and create an IAM role for Service accounts with your cluster's OIDC provider.
Examples
Examples for all languages are in the examples directory.
Note, you need to create a VPC, and also add your worker nodes.
FAQs
Can you add support for X
Add an issue, but this is mainly designed to be useful for workloads I run, so I reserve the right to refuse.
Can you make X optional?
I have no plans to make any of the batteries included optional at this time
Installing
This package is available in many languages in the standard packaging formats.
Node.js (Java/TypeScript)
To use from JavaScript or TypeScript in Node.js, install using either npm
:
$ npm install @lbrlabs/pulumi-eks
or yarn
:
$ yarn add @lbrlabs/pulumi-eks
Python
To use from Python, install using pip
:
$ pip install lbrlabs_pulumi_eks
Go
To use from Go, use go get
to grab the latest version of the library
$ go get github.com/lbrlabs/pulumi-lbrlabs-eks/sdk/go/...
.NET
To use from Dotnet, use dotnet add package
to install into your project. You must specify the version if it is a pre-release version.
$ dotnet add package Lbrlabs.PulumiPackage.Eks
Reference
See the Pulumi registry for API docs:
https://www.pulumi.com/registry/packages/lbrlabs-eks/api-docs/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for lbrlabs_pulumi_eks-0.0.6a1688428879.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86fcf134f9e1ada5b0c992c1423696704f63eaedd41141a8aae2eae5774a4e7d |
|
MD5 | 0c6193e46e9a59b2265f449a6e398784 |
|
BLAKE2b-256 | dcd4524683879e407ebff6f4c1b2a2636de168bfe60244849ae15ff4ad76308d |