提交 00a18500 作者: 杨大同

更新 deployment-pred.yaml

上级 522f7833
流水线 #44573 已取消 于阶段
in 1 分 10 秒
```yaml
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: APPNAME-ing
namespace: pred
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: pred
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:
......@@ -91,4 +52,3 @@ spec:
memory: "300Mi"
limits:
memory: "1024Mi"
```
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论