This commit is contained in:
owen 2024-07-29 11:07:45 +08:00
parent a04b227c2e
commit efd0cc3ace
4 changed files with 66 additions and 1 deletions

View File

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

View File

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

View File

@ -4,4 +4,6 @@ resources:
- h5gold-deployment.yaml
- h5gold-service.yaml
- h5blue-deployment.yaml
- h5blue-service.yaml
- h5blue-service.yaml
- h5blue61-deployment.yaml
- h5blue61-service.yaml

View File

@ -83,6 +83,30 @@ spec:
name: stock2-java-market-service
port:
number: 80
- host: h5blue61.gpdev.qq.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: stock2-web-h5blue61-service
port:
number: 80
- path: /api
pathType: Prefix
backend:
service:
name: stock2-java-api-service
port:
number: 80
- path: /api/market
pathType: Prefix
backend:
service:
name: stock2-java-market-service
port:
number: 80
- host: h5gold.gpdev.qq.com
http:
paths: