diff --git a/base/projects/stock2/h5/h5blue61-deployment.yaml b/base/projects/stock2/h5/h5blue61-deployment.yaml new file mode 100644 index 0000000..aee476a --- /dev/null +++ b/base/projects/stock2/h5/h5blue61-deployment.yaml @@ -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 \ No newline at end of file diff --git a/base/projects/stock2/h5/h5blue61-service.yaml b/base/projects/stock2/h5/h5blue61-service.yaml new file mode 100644 index 0000000..42f7397 --- /dev/null +++ b/base/projects/stock2/h5/h5blue61-service.yaml @@ -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 \ No newline at end of file diff --git a/base/projects/stock2/h5/kustomization.yaml b/base/projects/stock2/h5/kustomization.yaml index 7ee850c..17e1bb8 100644 --- a/base/projects/stock2/h5/kustomization.yaml +++ b/base/projects/stock2/h5/kustomization.yaml @@ -4,4 +4,6 @@ resources: - h5gold-deployment.yaml - h5gold-service.yaml - h5blue-deployment.yaml - - h5blue-service.yaml \ No newline at end of file + - h5blue-service.yaml + - h5blue61-deployment.yaml + - h5blue61-service.yaml \ No newline at end of file diff --git a/gpdev/ingress.yaml b/gpdev/ingress.yaml index f21612b..2a7c555 100644 --- a/gpdev/ingress.yaml +++ b/gpdev/ingress.yaml @@ -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: