Add base kubernetes support 3
This commit is contained in:
@@ -12,9 +12,12 @@ data:
|
||||
PROFILING_ENABLED: "true"
|
||||
MOCK_EXTERNAL_APIS: "true"
|
||||
|
||||
# CORS Configuration for Development
|
||||
CORS_ORIGINS: "http://frontend-service:3000,http://localhost:3000,http://localhost:3001,http://127.0.1:3000,http://127.0.0.1:3001,https://localhost,https://127.0.0.1"
|
||||
|
||||
# Frontend Development Configuration
|
||||
VITE_ENVIRONMENT: "development"
|
||||
VITE_API_URL: "http://gateway-service:8000"
|
||||
VITE_API_URL: ""
|
||||
|
||||
|
||||
---
|
||||
@@ -52,4 +55,4 @@ spec:
|
||||
service:
|
||||
name: gateway-service
|
||||
port:
|
||||
number: 8000
|
||||
number: 8000
|
||||
|
||||
@@ -86,11 +86,29 @@ patchesJson6902:
|
||||
path: /spec/template/spec/containers/0/resources
|
||||
value:
|
||||
requests:
|
||||
memory: "128Mi"
|
||||
cpu: "50m"
|
||||
memory: "64Mi"
|
||||
cpu: "25m"
|
||||
limits:
|
||||
memory: "256Mi"
|
||||
cpu: "200m"
|
||||
memory: "128Mi"
|
||||
cpu: "100m"
|
||||
- target:
|
||||
group: apps
|
||||
version: v1
|
||||
kind: Deployment
|
||||
name: gateway
|
||||
patch: |-
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/0/imagePullPolicy
|
||||
value: Never
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/0/resources
|
||||
value:
|
||||
requests:
|
||||
memory: "64Mi"
|
||||
cpu: "25m"
|
||||
limits:
|
||||
memory: "128Mi"
|
||||
cpu: "100m"
|
||||
- target:
|
||||
group: apps
|
||||
version: v1
|
||||
@@ -193,4 +211,4 @@ replicas:
|
||||
- name: gateway
|
||||
count: 1
|
||||
- name: frontend
|
||||
count: 1
|
||||
count: 1
|
||||
|
||||
Reference in New Issue
Block a user