提交 7c4c60da 作者: 余乾开

3

上级 3f7bdac9
......@@ -18,7 +18,7 @@ spec:
image: REGISTRY/NAMESPACE/IMAGE:TAG
resources:
limits:
memory: 1024Mi
memory: 4096Mi
cpu: 100m
ports:
- containerPort: 35150
......
......@@ -10,7 +10,10 @@ commonAnnotations:
note: This is dev!
patches:
- path: ./configMap.yaml
- path: ./service.yaml
- path: ./service-patch.yaml
target:
kind: Service
name: cms-svc
images:
- name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/cms
......
- op: replace
path: /spec/ports/0/nodePort
value: 30151
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: cms-svc
namespace: dev
spec:
selector:
app: cms
type: NodePort
ports:
- protocol: TCP
port: 35150
nodePort: 30151
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论