提交 ed112920 作者: 余乾开

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

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