Skip to content

Develop #40

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

Merged
merged 5 commits into from
Apr 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions 07-fargate-app-deployment/eks-fargate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig

metadata:
name: pomodoroapp-fargate
region: us-east-1
name: private-fargate-cluster
region: us-west-2

vpc:
id: "vpc-09cda2c938e687f27"
cidr: "10.0.0.0/16"
subnets:
private:
us-east-1a: { id: subnet-045d0562c6a1d8233 }
us-east-1b: { id: subnet-06dd483abe9150717 }
us-west-2a: { id: subnet-045d0562c6a1d8233 }
us-west-2b: { id: subnet-06dd483abe9150717 }

clusterEndpoints:
publicAccess: false
Expand All @@ -25,3 +25,7 @@ fargateProfiles:
selectors:
- namespace: default
- namespace: kube-system

- name: fp-game
selectors:
- namespace: game-ns
4 changes: 2 additions & 2 deletions 07-fargate-app-deployment/fp-game.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig

metadata:
name: pomodoroapp-fargate
region: us-east-1
name: private-fargate-cluster
region: us-west-2

fargateProfiles:
- name: fp-game
Expand Down
4 changes: 2 additions & 2 deletions 07-fargate-app-deployment/tf-vpc/vpc.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

environment = "fargate"
vpc_cidr = "10.0.0.0/16"
region = "us-east-1"
region = "us-west-2"
public_subnets_cidr = ["10.0.1.0/24", "10.0.2.0/24"]
private_subnets_cidr = ["10.0.3.0/24", "10.0.4.0/24"]
availability_zones = ["us-east-1a", "us-east-1b"]
availability_zones = ["us-west-2a", "us-west-2b"]