提交 90035afa 作者: 余乾开

feat(Config):Kustomization

上级 5a4934ba
......@@ -4,6 +4,8 @@ metadata:
name: oms-deployment
namespace: default
spec:
minReadySeconds: 250
revisionHistoryLimit: 2
replicas: 1
selector:
matchLabels:
......
apiVersion: apps/v1
kind: Deployment
metadata:
name: oms-deployment
spec:
replicas: 2
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
\ No newline at end of file
......@@ -9,4 +9,5 @@ commonLabels:
commonAnnotations:
note: This is dev!
patches:
- path: ./configMap.yaml
- path: ./increase_replicas.yaml
- path: ./configMap.yaml
\ No newline at end of file
apiVersion: apps/v1
kind: Deployment
metadata:
name: ims-deployment
name: oms-deployment
spec:
replicas: 1
\ No newline at end of file
replicas: 2
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论