提交 ceeb7220 作者: 余乾开

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

上级 2ee49374
......@@ -6,9 +6,7 @@ metadata:
spec:
selector:
app: pms
type: NodePort
ports:
- protocol: TCP
port: 8099
targetPort: 8099
NodePort: 30099
\ No newline at end of file
targetPort: 8099
\ No newline at end of file
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base
- ../../base
#namePrefix: dev-
namespace: dev
commonLabels:
......@@ -9,8 +9,9 @@ commonLabels:
commonAnnotations:
note: This is dev!
patchesStrategicMerge:
- configMap.yaml
- configMap.yaml
- service.yaml
images:
- name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly/pms
newTag: e0e98241eca5fc5cf94bef650298b69275e6b44d
- name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly/pms
newTag: e0e98241eca5fc5cf94bef650298b69275e6b44d
apiVersion: v1
kind: Service
metadata:
name: pms-svc
namespace: default
spec:
selector:
app: pms
type: NodePort
ports:
- protocol: TCP
port: 8099
targetPort: 8099
NodePort: 30099
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论