提交 cd4ac3f0 作者: 余乾开

refactor(config):关闭NodePort

上级 751d3266
......@@ -6,7 +6,6 @@ metadata:
spec:
selector:
app: pms
type: NodePort
ports:
- port: 8099
#nodePort: 30199
\ No newline at end of file
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base
- ../../base
#namePrefix: dev-
namespace: dev
commonLabels:
......@@ -9,13 +9,13 @@ commonLabels:
commonAnnotations:
note: This is dev!
patches:
- path: ./increase_replicas.yaml
- path: ./configMap.yaml
- path: ./service-patch.yaml
target:
kind: Service
name: pms-svc
- path: ./increase_replicas.yaml
- path: ./configMap.yaml
#- path: ./service-patch.yaml
# target:
# kind: Service
# name: pms-svc
images:
- name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/pms
newTag: 52d8be6d96c5022b3a7060b7064e3f4e85a6eb6c
- name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/pms
newTag: 52d8be6d96c5022b3a7060b7064e3f4e85a6eb6c
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base
- ../../base
namespace: prod
#namePrefix: prod-
commonLabels:
......@@ -9,13 +9,13 @@ commonLabels:
commonAnnotations:
note: This is prod!
patches:
- path: ./increase_replicas.yaml
- path: ./configMap.yaml
- path: ./service-patch.yaml
target:
kind: Service
name: pms-svc
- path: ./increase_replicas.yaml
- path: ./configMap.yaml
#- path: ./service-patch.yaml
# target:
# kind: Service
# name: pms-svc
images:
- name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly/pms
newTag: 5e9165eda0f547dc245accbd881d1cbdcf00f20d
- name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly/pms
newTag: 5e9165eda0f547dc245accbd881d1cbdcf00f20d
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论