Kubernetes
Kubernetes is an orchestrator for our containerization system.
We're going to deploy to Kubernetes with Helm and Helmfile, which means that we'll push a series of interlocking Helm charts to run our application servers
Naming
Clusters
- Name: palolo-[env]
- Namespace: palolo-[env]
- Deployment (for now): Palolo-app
- K8s secret used to deploy: namespace/docker-secret
- Our Docker account is limited to one token for the moment, so it's the same everywhere.
To setup a new cluster, we'll need to setup the Terraform to take some extra vars, then automate the creation of the namespace and secret. But it's not hard, just time-consuming.
For further details, see Infra Setup
Get Kubeconfigs for every cluster
scripts/pull_kubeconfig.sh creates a folder in this directory called "kubeconfig",
then polls EKS for the clusters named palolo-[env] for alpha, demo, staging, and prod
For everything else, see Kubernetes and Helm commands in Notion