1
This commit is contained in:
parent
a04b227c2e
commit
efd0cc3ace
28
base/projects/stock2/h5/h5blue61-deployment.yaml
Normal file
28
base/projects/stock2/h5/h5blue61-deployment.yaml
Normal 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
|
||||||
11
base/projects/stock2/h5/h5blue61-service.yaml
Normal file
11
base/projects/stock2/h5/h5blue61-service.yaml
Normal 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
|
||||||
@ -5,3 +5,5 @@ resources:
|
|||||||
- h5gold-service.yaml
|
- h5gold-service.yaml
|
||||||
- h5blue-deployment.yaml
|
- h5blue-deployment.yaml
|
||||||
- h5blue-service.yaml
|
- h5blue-service.yaml
|
||||||
|
- h5blue61-deployment.yaml
|
||||||
|
- h5blue61-service.yaml
|
||||||
@ -83,6 +83,30 @@ spec:
|
|||||||
name: stock2-java-market-service
|
name: stock2-java-market-service
|
||||||
port:
|
port:
|
||||||
number: 80
|
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
|
- host: h5gold.gpdev.qq.com
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user