提交 4d88aba8 作者: 杨大同

更新 deployment-prod.yaml

上级 53a05cab
流水线 #44566 已失败 于阶段
in 3 分 32 秒
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: APPNAME-ing
namespace: prod
labels:
ing: APPNAME-ing
annotations:
kubernetes.io/ingress.class: "nginx"
spec:
rules:
- host: DOMAIN.allhome.com.cn
http:
paths:
- backend:
serviceName: APPNAME-svc
servicePort: CONPORT
tls:
- secretName: allhome-tls
---
apiVersion: v1
kind: Service
metadata:
name: APPNAME-svc
namespace: prod
labels:
svc: APPNAME-svc
spec:
clusterIP: None
ports:
- name: http
port: CONPORT
targetPort: 80
protocol: TCP
selector:
app: APPNAME
type: ClusterIP
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: APPNAME
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论