updated: 2025-04-27 14:46:47

This commit is contained in:
qxsugar 2025-04-27 14:46:47 +08:00
parent cad633481f
commit f02ef01029
3 changed files with 65 additions and 0 deletions

View File

@ -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

22
uat/design/ingress.yaml Normal file
View File

@ -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

12
uat/design/service.yaml Normal file
View File

@ -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