From fe2fd33cb080097544cb8cc4e91f08dac56c6342 Mon Sep 17 00:00:00 2001 From: pvishwa3 Date: Fri, 13 Nov 2026 22:51:36 -0500 Subject: [PATCH] =?UTF-8?q?regress:=20drop=20probes,=20memory=20limit=20be?= =?UTF-8?q?low=20request,=20delete=20NetworkPolicy=20(expect=20BLOCK)=20?= =?UTF-8?q?=E2=80=94=20DO=20NOT=20MERGE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- k8s/deployment.yaml | 9 +-------- k8s/networkpolicy.yaml | 14 -------------- 2 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 k8s/networkpolicy.yaml diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index bd4310b..3dd1b11 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -37,14 +37,7 @@ spec: - {name: http, containerPort: 8080} resources: requests: {cpu: 80m, memory: 64Mi} - limits: {cpu: 200m, memory: 128Mi} - readinessProbe: - httpGet: {path: /, port: http} - periodSeconds: 5 - livenessProbe: - tcpSocket: {port: http} - initialDelaySeconds: 10 - periodSeconds: 10 + limits: {cpu: 200m, memory: 32Mi} securityContext: allowPrivilegeEscalation: false readOnlyRootFilesystem: true diff --git a/k8s/networkpolicy.yaml b/k8s/networkpolicy.yaml deleted file mode 100644 index 8f8522d..0000000 --- a/k8s/networkpolicy.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: NetworkPolicy -metadata: - name: gate-web - namespace: rtz-gate-demo -spec: - podSelector: - matchLabels: {app: gate-web} - policyTypes: [Ingress] - ingress: - - from: - - namespaceSelector: {} - ports: - - {port: 8080, protocol: TCP}