提交 892d4751 作者: 余乾开

feat(Action):开发环境指定端口

上级 abedf1fa
...@@ -6,9 +6,7 @@ metadata: ...@@ -6,9 +6,7 @@ metadata:
spec: spec:
selector: selector:
app: cms app: cms
type: NodePort
ports: ports:
- protocol: TCP - protocol: TCP
port: 35150 port: 35150
targetPort: 35150 targetPort: 35150
NodePort: 30150 \ No newline at end of file
\ No newline at end of file
...@@ -10,3 +10,4 @@ commonAnnotations: ...@@ -10,3 +10,4 @@ commonAnnotations:
note: This is dev! note: This is dev!
patches: patches:
- configMap.yaml - configMap.yaml
- service.yaml
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: cms-svc
namespace: default
spec:
selector:
app: cms
type: NodePort
ports:
- protocol: TCP
port: 35150
targetPort: 35150
NodePort: 30150
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论