This commit is contained in:
owen 2024-07-11 20:16:08 +08:00
parent 457b87c766
commit 6307fbc2ea
11 changed files with 60 additions and 44 deletions

View File

@ -1,21 +1,19 @@
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: stock2-web-h5blue name: stock2-web-h5
spec:
replicas: 1 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: stock2-web-h5blue app: stock2-web-h5
template: template:
metadata: metadata:
labels: labels:
app: stock2-web-h5blue app: stock2-web-h5
spec: spec:
containers: containers:
- name: stock2-web-h5blue - name: stock2-web-h5
image: juyou.tencentcloudcr.com/juyoutech/stock2_web_h5blue57:latest image: juyou.tencentcloudcr.com/juyoutech/stock2_web_h5blue:latest
imagePullPolicy: Always
ports: ports:
- containerPort: 80 - containerPort: 80
resources: resources:

View File

@ -0,0 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: stock2-web-h5-service
spec:
ports:
- port: 80
targetPort: 80
name: stock2-web-h5
selector:
app: stock2-web-h5

View File

@ -1,7 +1,7 @@
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: stock2-web-h5redred name: stock2-web-h5red
spec: spec:
replicas: 1 replicas: 1
selector: selector:

View File

@ -9,4 +9,6 @@ resources:
- market-deployment.yaml - market-deployment.yaml
- market-service.yaml - market-service.yaml
- task-deployment.yaml - task-deployment.yaml
- task-service.yaml - task-service.yaml
- h5-deployment.yaml
- h5-service.yaml

View File

@ -32,7 +32,7 @@ spec:
pathType: Prefix pathType: Prefix
backend: backend:
service: service:
name: stock2-web-h5blue-service name: stock2-web-h5-service
port: port:
number: 80 number: 80
- path: /api - path: /api

View File

@ -4,7 +4,6 @@ namespace: gp057
resources: resources:
- ../base/projects/stock2 - ../base/projects/stock2
- ../base/projects/stock2/h5
- ../base/redis - ../base/redis
- ingress.yaml - ingress.yaml
@ -24,4 +23,4 @@ patches:
- path: patch/market-deployment_patch.yaml - path: patch/market-deployment_patch.yaml
- path: patch/task-deployment_patch.yaml - path: patch/task-deployment_patch.yaml
- path: patch/agent-deployment_patch.yaml - path: patch/agent-deployment_patch.yaml
- path: patch/h5blue-deployment_patch.yaml - path: patch/h5-deployment_patch.yaml

View File

@ -0,0 +1,18 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: stock2-web-h5
spec:
replicas: 1
selector:
matchLabels:
app: stock2-web-h5
template:
metadata:
labels:
app: stock2-web-h5
spec:
containers:
- name: stock2-web-h5
image: juyou.tencentcloudcr.com/juyoutech/stock2_web_h5blue57:latest
imagePullPolicy: Always

View File

@ -32,7 +32,7 @@ spec:
pathType: Prefix pathType: Prefix
backend: backend:
service: service:
name: stock2-web-h5blue-service name: stock2-web-h5-service
port: port:
number: 80 number: 80
- path: /api - path: /api

View File

@ -4,7 +4,6 @@ namespace: gp059
resources: resources:
- ../base/projects/stock2 - ../base/projects/stock2
- ../base/projects/stock2/h5
- ../base/redis - ../base/redis
- ingress.yaml - ingress.yaml
@ -24,4 +23,4 @@ patches:
- path: patch/market-deployment_patch.yaml - path: patch/market-deployment_patch.yaml
- path: patch/task-deployment_patch.yaml - path: patch/task-deployment_patch.yaml
- path: patch/agent-deployment_patch.yaml - path: patch/agent-deployment_patch.yaml
- path: patch/h5blue-deployment_patch.yaml - path: patch/h5-deployment_patch.yaml

View File

@ -0,0 +1,18 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: stock2-web-h
spec:
replicas: 1
selector:
matchLabels:
app: stock2-web-h5
template:
metadata:
labels:
app: stock2-web-h5
spec:
containers:
- name: stock2-web-h5
image: juyou.tencentcloudcr.com/juyoutech/stock2_web_h5blue59:latest
imagePullPolicy: Always

View File

@ -1,29 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: stock2-web-h5blue
spec:
replicas: 1
selector:
matchLabels:
app: stock2-web-h5blue
template:
metadata:
labels:
app: stock2-web-h5blue
spec:
containers:
- name: stock2-web-h5blue
image: juyou.tencentcloudcr.com/juyoutech/stock2_web_h5blue59:latest
imagePullPolicy: Always
ports:
- containerPort: 80
resources:
requests:
cpu: "0.125"
memory: "125Mi"
limits:
cpu: "0.25"
memory: "250Mi"
imagePullSecrets:
- name: juyou-docker-tcr-secret