Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

k8s: Terraform deployment for GKE clusters #33

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 28, 2022

  1. k8s: Terraform deployment for GKE clusters

    This provides a Terraform configuration for deploying our Kubernetes
    clusters to GKE. We deploy an identical cluster to each of a list of
    regions, with one small node for admin purposes due to a requirement to
    not use spot instances for the main node group for the and two
    autoscaling groups one with small 8 core nodes for most jobs and one
    with bigger nodes for the more resource intensive ones.
    
    This is different to our current scheme where each cluster has a single
    node group and we direct jobs in Jenkins. With this scheme we allow the
    Kubernetes scheduler to place jobs, or we can still direct them to
    specific node sizes using nodeSelector in the jobs and the labels that
    are assigned to the nodegroups. This is a more Kubernetes way of doing
    things and decouples further from Jenkins.
    
    Signed-off-by: Mark Brown <[email protected]>
    broonie committed Nov 28, 2022
    Configuration menu
    Copy the full SHA
    3ac3f5b View commit details
    Browse the repository at this point in the history