提交 ed112920 作者: 余乾开

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

上级 c1534584
...@@ -6,9 +6,7 @@ metadata: ...@@ -6,9 +6,7 @@ metadata:
spec: spec:
selector: selector:
app: ims app: ims
type: NodePort
ports: ports:
- protocol: TCP - protocol: TCP
port: 10001 port: 10001
targetPort: 10001 targetPort: 10001
\ No newline at end of file
NodePort: 30001
\ 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
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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论