From ae4518e69b257e6366017085124e3e850a520e60 Mon Sep 17 00:00:00 2001 From: Cobbgcall Date: Fri, 19 Apr 2024 15:24:28 -0500 Subject: [PATCH 1/2] Update api.yaml Reduce api replicas. --- k8s-manifests/api.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s-manifests/api.yaml b/k8s-manifests/api.yaml index d094aa45..f05086b1 100644 --- a/k8s-manifests/api.yaml +++ b/k8s-manifests/api.yaml @@ -20,7 +20,7 @@ metadata: labels: app: api spec: - replicas: 5 + replicas: 3 selector: matchLabels: app: api @@ -34,4 +34,4 @@ spec: image: dockersamples/wordsmith-api ports: - containerPort: 8080 - name: api \ No newline at end of file + name: api From a3d0f6ce99feabc528a7b72a47471ab3ba4fd3bb Mon Sep 17 00:00:00 2001 From: Cobbgcall Date: Wed, 15 May 2024 06:03:59 -0500 Subject: [PATCH 2/2] Update web.yaml --- k8s-manifests/web.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s-manifests/web.yaml b/k8s-manifests/web.yaml index ecad38be..5d3c42c3 100644 --- a/k8s-manifests/web.yaml +++ b/k8s-manifests/web.yaml @@ -11,7 +11,7 @@ spec: name: web selector: app: web - type: LoadBalancer + type: ClusterIP --- apiVersion: apps/v1 kind: Deployment