提交 ceeb7220 作者: 余乾开

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

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