Merge branch 'main' into staging
This commit is contained in:
@@ -109,7 +109,7 @@ function main() {
|
|||||||
minikube kubectl -- $@
|
minikube kubectl -- $@
|
||||||
}
|
}
|
||||||
|
|
||||||
minikube start --driver kvm2 --cpus 4 --memory 4Gib
|
minikube start --driver kvm2 --cpus 2 --memory 4Gib
|
||||||
minikube addons enable ingress-dns
|
minikube addons enable ingress-dns
|
||||||
minikube addons enable ingress
|
minikube addons enable ingress
|
||||||
|
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: backend
|
app: backend
|
||||||
spec:
|
spec:
|
||||||
nodeSelector:
|
|
||||||
${WORKER_NODE_LABEL}
|
|
||||||
containers:
|
containers:
|
||||||
- name: backend
|
- name: backend
|
||||||
image: yoshiunfriendly/backend-hideyoshi.com
|
image: yoshiunfriendly/backend-hideyoshi.com
|
||||||
@@ -25,7 +23,7 @@ spec:
|
|||||||
cpu: "250m"
|
cpu: "250m"
|
||||||
limits:
|
limits:
|
||||||
memory: "256Mi"
|
memory: "256Mi"
|
||||||
cpu: "500m"
|
cpu: "250m"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8070
|
- containerPort: 8070
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
|
|||||||
@@ -15,19 +15,17 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: frontend
|
app: frontend
|
||||||
spec:
|
spec:
|
||||||
nodeSelector:
|
|
||||||
${WORKER_NODE_LABEL}
|
|
||||||
containers:
|
containers:
|
||||||
- name: frontend
|
- name: frontend
|
||||||
image: yoshiunfriendly/frontend-hideyoshi.com:latest
|
image: yoshiunfriendly/frontend-hideyoshi.com:latest
|
||||||
imagePullPolicy: "Always"
|
imagePullPolicy: "Always"
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "256Mi"
|
memory: "128Mi"
|
||||||
cpu: "250m"
|
cpu: "75m"
|
||||||
limits:
|
limits:
|
||||||
memory: "256Mi"
|
memory: "128Mi"
|
||||||
cpu: "250m"
|
cpu: "75m"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 5000
|
- containerPort: 5000
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -19,9 +19,5 @@ spec:
|
|||||||
memory: "128Mi"
|
memory: "128Mi"
|
||||||
cpu: "75m"
|
cpu: "75m"
|
||||||
|
|
||||||
affinity:
|
|
||||||
nodeSelector:
|
|
||||||
${MASTER_NODE_LABEL}
|
|
||||||
|
|
||||||
monitoring:
|
monitoring:
|
||||||
enablePodMonitor: true
|
enablePodMonitor: true
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: storage-processor
|
app: storage-processor
|
||||||
spec:
|
spec:
|
||||||
nodeSelector:
|
|
||||||
${WORKER_NODE_LABEL}
|
|
||||||
containers:
|
containers:
|
||||||
- name: storage-processor
|
- name: storage-processor
|
||||||
image: yoshiunfriendly/storage-hideyoshi.com:latest
|
image: yoshiunfriendly/storage-hideyoshi.com:latest
|
||||||
@@ -22,11 +20,11 @@ spec:
|
|||||||
imagePullPolicy: "Always"
|
imagePullPolicy: "Always"
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "256Mi"
|
memory: "128Mi"
|
||||||
cpu: "250m"
|
cpu: "75m"
|
||||||
limits:
|
limits:
|
||||||
memory: "256Mi"
|
memory: "128Mi"
|
||||||
cpu: "250m"
|
cpu: "75m"
|
||||||
env:
|
env:
|
||||||
- name: ALLOWED_ORIGINS
|
- name: ALLOWED_ORIGINS
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|||||||
@@ -13,19 +13,17 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: storage
|
app: storage
|
||||||
spec:
|
spec:
|
||||||
nodeSelector:
|
|
||||||
${WORKER_NODE_LABEL}
|
|
||||||
containers:
|
containers:
|
||||||
- name: storage
|
- name: storage
|
||||||
image: yoshiunfriendly/storage-hideyoshi.com:latest
|
image: yoshiunfriendly/storage-hideyoshi.com:latest
|
||||||
imagePullPolicy: "Always"
|
imagePullPolicy: "Always"
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "256Mi"
|
memory: "128Mi"
|
||||||
cpu: "250m"
|
cpu: "100m"
|
||||||
limits:
|
limits:
|
||||||
memory: "256Mi"
|
memory: "128Mi"
|
||||||
cpu: "250m"
|
cpu: "100m"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8000
|
- containerPort: 8000
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
|
|||||||
Reference in New Issue
Block a user