提交 7143f04e 作者: 余乾开

feat(config):增加内存、副本配置

上级 b94522e5
......@@ -18,7 +18,7 @@ spec:
image: REGISTRY/NAMESPACE/IMAGE:TAG
resources:
limits:
memory: 4096Mi
memory: 8192Mi
cpu: 100m
ports:
- containerPort: 10001
......
apiVersion: apps/v1
kind: Deployment
metadata:
name: ims-deployment
spec:
replicas: 2
\ No newline at end of file
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base
- ../../base
namespace: prod
#namePrefix: prod-
commonLabels:
......@@ -9,12 +9,13 @@ commonLabels:
commonAnnotations:
note: This is prod!
patches:
- path: configMap.yaml
- path: service-patch.yaml
target:
kind: Service
name: ims-svc
- path: increase_replicas.yaml
- path: configMap.yaml
- path: service-patch.yaml
target:
kind: Service
name: ims-svc
images:
- name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly/ims
newTag: d39b5a94225527270920384fde1448bbe58a61c3
- name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly/ims
newTag: d39b5a94225527270920384fde1448bbe58a61c3
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论