提交 de99f02a 作者: 余乾开

3

上级 0ab776be
......@@ -18,7 +18,7 @@ spec:
image: REGISTRY/NAMESPACE/IMAGE:TAG
resources:
limits:
memory: 2048Mi
memory: 4096Mi
cpu: 100m
ports:
- containerPort: 10001
......
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base
- ../../base
#namePrefix: dev-
namespace: dev
commonLabels:
......@@ -9,9 +9,12 @@ commonLabels:
commonAnnotations:
note: This is dev!
patches:
- path: ./configMap.yaml
- path: ./service.yaml
- path: ./configMap.yaml
- path: ./service.yaml
target:
kind: Service
name: ims-svc
images:
- name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/ims
newTag: 99771eb9e1021e994a34b56766ef0ffb65e544cb
- name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/ims
newTag: 99771eb9e1021e994a34b56766ef0ffb65e544cb
- op: replace
path: /spec/ports/0/nodePort
value: 30002
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: ims-svc
namespace: dev
spec:
selector:
app: ims
type: NodePort
ports:
- protocol: TCP
port: 10001
nodePort: 30002
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论