From f02ef01029090a8952f6ce7c1acd8d5d47da8f0c Mon Sep 17 00:00:00 2001 From: qxsugar Date: Sun, 27 Apr 2025 14:46:47 +0800 Subject: [PATCH] updated: 2025-04-27 14:46:47 --- uat/design/deployment.yaml | 31 +++++++++++++++++++++++++++++++ uat/design/ingress.yaml | 22 ++++++++++++++++++++++ uat/design/service.yaml | 12 ++++++++++++ 3 files changed, 65 insertions(+) create mode 100644 uat/design/deployment.yaml create mode 100644 uat/design/ingress.yaml create mode 100644 uat/design/service.yaml diff --git a/uat/design/deployment.yaml b/uat/design/deployment.yaml new file mode 100644 index 0000000..0d73af7 --- /dev/null +++ b/uat/design/deployment.yaml @@ -0,0 +1,31 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: juno-design +spec: + replicas: 1 + selector: + matchLabels: + app: juno-design + template: + metadata: + labels: + app: juno-design + spec: + imagePullSecrets: + - name: ccr + containers: + - name: app + image: ccr.ccs.tencentyun.com/juno/basic:nginx + imagePullPolicy: IfNotPresent + ports: + - containerPort: 80 + name: http + protocol: TCP + resources: + limits: + cpu: "2" + memory: 2Gi + requests: + cpu: 1m + memory: 1Mi \ No newline at end of file diff --git a/uat/design/ingress.yaml b/uat/design/ingress.yaml new file mode 100644 index 0000000..4e2ab6f --- /dev/null +++ b/uat/design/ingress.yaml @@ -0,0 +1,22 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: juno-design + annotations: + cert-manager.io/cluster-issuer: letsencrypt-prod +spec: + tls: + - hosts: + - design.lingpaike.com + secretName: design.lingpaike.com + rules: + - host: design.lingpaike.com + http: + paths: + - pathType: Prefix + path: "/" + backend: + service: + name: juno-design + port: + number: 80 \ No newline at end of file diff --git a/uat/design/service.yaml b/uat/design/service.yaml new file mode 100644 index 0000000..a641d13 --- /dev/null +++ b/uat/design/service.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: Service +metadata: + name: juno-design +spec: + selector: + app: juno-design + ports: + - name: http + port: 80 + protocol: TCP + targetPort: http