mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-15 17:50:49 +00:00
Merge pull request #1782 from omerap12/issue_1759
Helm: Add revision history limit for master replica
This commit is contained in:
commit
25ffe9c178
4 changed files with 12 additions and 2 deletions
|
@ -13,6 +13,7 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
replicas: {{ .Values.master.replicaCount }}
|
replicas: {{ .Values.master.replicaCount }}
|
||||||
|
revisionHistoryLimit: {{ .Values.master.revisionHistoryLimit }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "node-feature-discovery.selectorLabels" . | nindent 6 }}
|
{{- include "node-feature-discovery.selectorLabels" . | nindent 6 }}
|
||||||
|
|
|
@ -13,6 +13,7 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
replicas: {{ .Values.gc.replicaCount | default 1 }}
|
replicas: {{ .Values.gc.replicaCount | default 1 }}
|
||||||
|
revisionHistoryLimit: {{ .Values.gc.revisionHistoryLimit }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "node-feature-discovery.selectorLabels" . | nindent 6 }}
|
{{- include "node-feature-discovery.selectorLabels" . | nindent 6 }}
|
||||||
|
|
|
@ -89,6 +89,9 @@ master:
|
||||||
# If not set and create is true, a name is generated using the fullname template
|
# If not set and create is true, a name is generated using the fullname template
|
||||||
name:
|
name:
|
||||||
|
|
||||||
|
# specify how many old ReplicaSets for the Deployment to retain.
|
||||||
|
revisionHistoryLimit:
|
||||||
|
|
||||||
rbac:
|
rbac:
|
||||||
create: true
|
create: true
|
||||||
|
|
||||||
|
@ -542,6 +545,9 @@ gc:
|
||||||
deploymentAnnotations: {}
|
deploymentAnnotations: {}
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
|
# specify how many old ReplicaSets for the Deployment to retain.
|
||||||
|
revisionHistoryLimit:
|
||||||
|
|
||||||
# Optionally use encryption for worker <--> master comms
|
# Optionally use encryption for worker <--> master comms
|
||||||
# TODO: verify hostname is not yet supported
|
# TODO: verify hostname is not yet supported
|
||||||
#
|
#
|
||||||
|
|
|
@ -143,6 +143,7 @@ API's you need to install the prometheus operator in your cluster.
|
||||||
| `master.nfdApiParallelism` | integer | 10 | Specifies the maximum number of concurrent node updates. |
|
| `master.nfdApiParallelism` | integer | 10 | Specifies the maximum number of concurrent node updates. |
|
||||||
| `master.config` | dict | | NFD master [configuration](../reference/master-configuration-reference) |
|
| `master.config` | dict | | NFD master [configuration](../reference/master-configuration-reference) |
|
||||||
| `master.args` | array | [] | Additional [command line arguments](../reference/master-commandline-reference.md) to pass to nfd-master |
|
| `master.args` | array | [] | Additional [command line arguments](../reference/master-commandline-reference.md) to pass to nfd-master |
|
||||||
|
| `master.revisionHistoryLimit` | integer | | Specify how many old ReplicaSets for this Deployment you want to retain. [revisionHistoryLimit](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#revision-history-limit) |
|
||||||
|
|
||||||
### Worker pod parameters
|
### Worker pod parameters
|
||||||
|
|
||||||
|
@ -216,9 +217,10 @@ API's you need to install the prometheus operator in your cluster.
|
||||||
| `gc.nodeSelector` | dict | {} | Garbage collector pod [node selector](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector) |
|
| `gc.nodeSelector` | dict | {} | Garbage collector pod [node selector](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector) |
|
||||||
| `gc.tolerations` | dict | {} | Garbage collector pod [node tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) |
|
| `gc.tolerations` | dict | {} | Garbage collector pod [node tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) |
|
||||||
| `gc.annotations` | dict | {} | Garbage collector pod [annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/) |
|
| `gc.annotations` | dict | {} | Garbage collector pod [annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/) |
|
||||||
| `gc.deploymentAnnotations` | dict | {} | Garbage collector deployment [annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/) |
|
| `gc.deploymentAnnotations` | dict | {} | Garbage collector deployment [annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/) |
|
||||||
| `gc.affinity` | dict | {} | Garbage collector pod [affinity](https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/) |
|
| `gc.affinity` | dict | {} | Garbage collector pod [affinity](https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/) |
|
||||||
| `gc.args` | array | [] | Additional [command line arguments](../reference/gc-commandline-reference.md) to pass to nfd-gc |
|
| `gc.args` | array | [] | Additional [command line arguments](../reference/gc-commandline-reference.md) to pass to nfd-gc |
|
||||||
|
| `gc.revisionHistoryLimit` | integer | | Specify how many old ReplicaSets for this Deployment you want to retain. [revisionHistoryLimit](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#revision-history-limit) |
|
||||||
|
|
||||||
<!-- Links -->
|
<!-- Links -->
|
||||||
[rbac]: https://kubernetes.io/docs/reference/access-authn-authz/rbac/
|
[rbac]: https://kubernetes.io/docs/reference/access-authn-authz/rbac/
|
||||||
|
|
Loading…
Reference in a new issue