Configuration for engineering's ephemeral clusters
- terraform contains terraform for provisioning resources in the Engineering Sandbox AWS Account.
- eksctl-clusters contians scripts, templates, flux configuration, and clusters created by eksctl.
- An EditorConfig compatible editor.
-
File an issue on corp to request access to Engineering Sandbox AWS Account to assume
WeaveEksEditor
role (include your email in the issue). -
Authenticate in your CLI with
WeaveEksEditor
role:$ export GOOGLE_USERNAME=<YOUR_EMAIL> $ source ./env.sh ✔ Login successful! Environment configured, authenticated to AWS as arn:aws:iam::894516026745:role/WeaveEksEditor.
- Each cluster/environment has its own branch.
- Clusters are provisioned by creating a new
cluster-<CLUSTER_NAME>
branch and destroyed by deleting the branch. - Clusters branches and directories are created automatically after a user request a cluster. All values are set and user shouldn't need to add anything (unless he wants to customize his environment). The user can review the files before pushing the new branch in order to provision his cluster
- The cluster directory
./eksctl-clusters/clusters/<CLUSTER_NAME>
contains:- Eksctl cluster configurations.
- flux, gitops, other apps files.
We send slack notifications to #clusters-config channel. We notify for:
- Create a cluster
- Delete a cluster
- TTL is about to end.
To request a new cluster, follow the requesting a new cluster doc
This repository uses pre-commit hooks to run quick checks against it. Please install before use.