From 7843edaa84144c54948532427507acf1774e2073 Mon Sep 17 00:00:00 2001 From: "William.Z" Date: Tue, 23 Dec 2025 20:14:43 +0800 Subject: [PATCH] 2523 --- gp2523/down-service.yaml | 11 +++++++++++ gp2523/down.yaml | 29 +++++++++++++++++++++++++++++ gp2523/ingress.yaml | 4 ++-- gp2523/kustomization.yaml | 2 ++ 4 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 gp2523/down-service.yaml create mode 100644 gp2523/down.yaml diff --git a/gp2523/down-service.yaml b/gp2523/down-service.yaml new file mode 100644 index 0000000..af9d477 --- /dev/null +++ b/gp2523/down-service.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: Service +metadata: + name: download-cos-proxy-service +spec: + ports: + - port: 80 + targetPort: 80 + name: download-cos-proxy + selector: + app: download-cos-proxy \ No newline at end of file diff --git a/gp2523/down.yaml b/gp2523/down.yaml new file mode 100644 index 0000000..eb5ce7f --- /dev/null +++ b/gp2523/down.yaml @@ -0,0 +1,29 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: download-cos-proxy +spec: + replicas: 1 + selector: + matchLabels: + app: download-cos-proxy + template: + metadata: + labels: + app: download-cos-proxy + spec: + containers: + - name: download-cos-proxy + image: juyou.tencentcloudcr.com/juyoutech/stock2_cos_download_proxy: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 \ No newline at end of file diff --git a/gp2523/ingress.yaml b/gp2523/ingress.yaml index 480b4ad..cb6b748 100644 --- a/gp2523/ingress.yaml +++ b/gp2523/ingress.yaml @@ -177,13 +177,13 @@ spec: name: haproxy-service port: number: 8280 - - host: resign-g2523.qq.com + - host: down-g2523.qq.com http: paths: - path: / pathType: Prefix backend: service: - name: app-resign-api-service + name: download-cos-proxy-service port: number: 80 \ No newline at end of file diff --git a/gp2523/kustomization.yaml b/gp2523/kustomization.yaml index 18165cd..1803f3e 100644 --- a/gp2523/kustomization.yaml +++ b/gp2523/kustomization.yaml @@ -5,6 +5,8 @@ namespace: gp2523 resources: - api2.yaml - api2-service.yaml + - down.yaml + - down-service.yaml - market-endpoints.yaml - market-service.yaml - ../base/projects/stock2