added tolerations, nodeSelectors and affinity
This commit is contained in:
parent
ad6893449f
commit
e148499a5f
3 changed files with 25 additions and 0 deletions
|
@ -35,6 +35,10 @@ $ helm install --name my-release argo/argo-rollouts
|
||||||
| controller.image.repository | string | `"argoproj/argo-rollouts"` | |
|
| controller.image.repository | string | `"argoproj/argo-rollouts"` | |
|
||||||
| controller.image.tag | string | `"v0.8.0"` | |
|
| controller.image.tag | string | `"v0.8.0"` | |
|
||||||
| controller.name | string | `"argo-rollouts"` | |
|
| controller.name | string | `"argo-rollouts"` | |
|
||||||
|
| controller.resources | Resource limits and requests for the controller pods. | `{}` |
|
||||||
|
| controller.tolerations | [Tolerations for use with node taints](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/) | `[]` |
|
||||||
|
| controller.affinity | [Assign custom affinity rules to the deployment](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) | `{}` |
|
||||||
|
| controller.nodeSelector | [Node selector](https://kubernetes.io/docs/user-guide/node-selection/) | `{}` |
|
||||||
| imagePullSecrets | list | `[]` | |
|
| imagePullSecrets | list | `[]` | |
|
||||||
| installCRDs | bool | `true` | |
|
| installCRDs | bool | `true` | |
|
||||||
| podAnnotations | object | `{}` | |
|
| podAnnotations | object | `{}` | |
|
||||||
|
|
|
@ -38,6 +38,20 @@ spec:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: tmp
|
- name: tmp
|
||||||
mountPath: /tmp
|
mountPath: /tmp
|
||||||
|
resources:
|
||||||
|
{{- toYaml .Values.controller.resources | nindent 10 }}
|
||||||
|
{{- if .Values.controller.nodeSelector }}
|
||||||
|
nodeSelector:
|
||||||
|
{{- toYaml .Values.controller.nodeSelector | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.controller.tolerations }}
|
||||||
|
tolerations:
|
||||||
|
{{- toYaml .Values.controller.tolerations | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.controller.affinity }}
|
||||||
|
affinity:
|
||||||
|
{{- toYaml .Values.controller.affinity | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: tmp
|
- name: tmp
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
|
|
|
@ -5,6 +5,13 @@ clusterInstall: true
|
||||||
controller:
|
controller:
|
||||||
name: argo-rollouts
|
name: argo-rollouts
|
||||||
component: rollouts-controller
|
component: rollouts-controller
|
||||||
|
## Node selectors and tolerations for server scheduling to nodes with taints
|
||||||
|
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
|
||||||
|
##
|
||||||
|
nodeSelector:
|
||||||
|
dubizzle.com/group: ops
|
||||||
|
tolerations: []
|
||||||
|
affinity: {}
|
||||||
image:
|
image:
|
||||||
repository: argoproj/argo-rollouts
|
repository: argoproj/argo-rollouts
|
||||||
tag: v0.8.0
|
tag: v0.8.0
|
||||||
|
|
Loading…
Reference in a new issue