From 6aaf5eaa3f7ed7c59771c1a7092f07e24fe1fbcf Mon Sep 17 00:00:00 2001 From: Nga <92612527+NgaNaNa@users.noreply.github.com> Date: Sat, 24 May 2025 20:28:11 +0930 Subject: [PATCH] increase capacity to t3.small --- infra/eks/_variables.tf | 2 +- k8s/deployment.yaml | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/infra/eks/_variables.tf b/infra/eks/_variables.tf index 7fea446..dca4979 100644 --- a/infra/eks/_variables.tf +++ b/infra/eks/_variables.tf @@ -24,7 +24,7 @@ variable "alb_public_subnet_ids" { variable "instance_type" { type = string - default = "t2.micro" + default = "t3.small" } # variable "desired_capacity" { diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index a6ea2a0..b729f8e 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -17,16 +17,16 @@ spec: image: nrampling/demo-node-app:1.0.3 ports: - containerPort: 3000 ---- -apiVersion: v1 -kind: Service -metadata: - name: demo-node-app-svc -spec: - selector: - app: demo-node-app - ports: - - protocol: TCP - port: 3000 - targetPort: 3000 - type: NodePort +# --- +# apiVersion: v1 +# kind: Service +# metadata: +# name: demo-node-app-svc +# spec: +# selector: +# app: demo-node-app +# ports: +# - protocol: TCP +# port: 3000 +# targetPort: 3000 +# type: NodePort