提交 70856c32 作者: 余乾开

refactor(config):关闭NodePort

上级 dbbac7f0
......@@ -6,7 +6,6 @@ metadata:
spec:
selector:
app: web
type: NodePort
ports:
- protocol: TCP
port: 3000
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base
- ../../base
#namePrefix: dev-
namespace: dev
commonLabels:
......@@ -9,13 +9,9 @@ commonLabels:
commonAnnotations:
note: This is dev!
patches:
- path: ./increase_replicas.yaml
- path: ./configMap.yaml
- path: ./service-patch.yaml
target:
kind: Service
name: web-svc
- path: ./increase_replicas.yaml
- path: ./configMap.yaml
images:
- name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/web
newTag: 77270e47557893868df1d07a8f3ff7b5d15f4371
- name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/web
newTag: 77270e47557893868df1d07a8f3ff7b5d15f4371
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base
- ../../base
namespace: prod
#namePrefix: prod-
commonLabels:
......@@ -9,13 +9,9 @@ commonLabels:
commonAnnotations:
note: This is prod!
patches:
- path: increase_replicas.yaml
- path: configMap.yaml
- path: service-patch.yaml
target:
kind: Service
name: web-svc
- path: increase_replicas.yaml
- path: configMap.yaml
images:
- name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly/web
newTag: 7110f0af1a0657f441ec58e77895eda43be109c5
- name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly/web
newTag: 7110f0af1a0657f441ec58e77895eda43be109c5
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论