提交 50300cdb 作者: 余乾开

Update increase_replicas.yaml

上级 8e83403d
...@@ -3,4 +3,17 @@ kind: Deployment ...@@ -3,4 +3,17 @@ kind: Deployment
metadata: metadata:
name: cms-deployment name: cms-deployment
spec: spec:
replicas: 2 replicas: 1
\ No newline at end of file template:
spec:
nodeSelector:
on-master: "true"
# affinity:
# podAntiAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# - labelSelector:
# matchExpressions:
# - key: nodeName
# operator: Eq
# values:
# - master
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论