Skip to content

Instantly share code, notes, and snippets.

@Pothulapati
Created March 3, 2022 11:08
Show Gist options
  • Select an option

  • Save Pothulapati/cb490e74fd50a4455a083b2d809a6cf6 to your computer and use it in GitHub Desktop.

Select an option

Save Pothulapati/cb490e74fd50a4455a083b2d809a6cf6 to your computer and use it in GitHub Desktop.
diff --git a/eks-cluster.yaml b/eks-cluster.yaml
index b6ba331..ead1bd2 100644
--- a/eks-cluster.yaml
+++ b/eks-cluster.yaml
@@ -7,9 +7,9 @@ metadata:
# and k8s.io/cluster-autoscaler/<cluster name>: "owned"
# cluster-autoscaler will not be require additional labels in a future release.
# https://github.com/kubernetes/autoscaler/pull/3968
- name: gitpod
+ name: gitpod-tar
# Template, please change
- region: us-west-2
+ region: eu-west-2
version: "1.21"
iam:
@@ -33,9 +33,9 @@ iam:
autoScaler: true
availabilityZones:
- - us-west-2a
- - us-west-2b
- - us-west-2c
+ - eu-west-2a
+ - eu-west-2b
+ - eu-west-2c
# By default we create a dedicated VPC for the cluster
# You can use an existing VPC by supplying private and/or public subnets. Please check
@@ -77,12 +77,12 @@ managedNodeGroups:
# Use private subnets for nodes
# https://eksctl.io/usage/vpc-networking/#use-private-subnets-for-initial-nodegroup
privateNetworking: true
- ami: ami-009935ddbb32a7f3c
+ ami: ami-05f027fd3d0187541
tags:
# EC2 tags required for cluster-autoscaler auto-discovery
k8s.io/cluster-autoscaler/enabled: "true"
- k8s.io/cluster-autoscaler/gitpod: "owned"
+ k8s.io/cluster-autoscaler/gitpod-tar: "owned"
iam:
attachPolicyARNs: &attachPolicyARNs
- arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly
@@ -101,7 +101,7 @@ managedNodeGroups:
overrideBootstrapCommand: |
#!/bin/bash
- export CLUSTERNAME=gitpod
+ export CLUSTERNAME=gitpod-tar
export NODEGROUP=workspaces
declare -a LABELS=(
@@ -139,12 +139,12 @@ managedNodeGroups:
# Use private subnets for nodes
# https://eksctl.io/usage/vpc-networking/#use-private-subnets-for-initial-nodegroup
privateNetworking: true
- ami: ami-009935ddbb32a7f3c
+ ami: ami-05f027fd3d0187541
tags:
# EC2 tags required for cluster-autoscaler auto-discovery
k8s.io/cluster-autoscaler/enabled: "true"
- k8s.io/cluster-autoscaler/gitpod: "owned"
+ k8s.io/cluster-autoscaler/gitpod-tar: "owned"
iam:
attachPolicyARNs: *attachPolicyARNs
withAddonPolicies: *withAddonPolicies
@@ -153,7 +153,7 @@ managedNodeGroups:
overrideBootstrapCommand: |
#!/bin/bash
- export CLUSTERNAME=gitpod
+ export CLUSTERNAME=gitpod-tar
export NODEGROUP=services
declare -a LABELS=(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment