mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
Helm: Add revision history limit for worker daemonset (#1797)
* Helm: Add revision history limit for worker daemonset Signed-off-by: Rouke Broersma <mobrockers@gmail.com> * Helm: Add revision history limit for topology updater daemonset Signed-off-by: Rouke Broersma <mobrockers@gmail.com> * chore: tidy table columns --------- Signed-off-by: Rouke Broersma <mobrockers@gmail.com>
This commit is contained in:
parent
876eea4374
commit
1230d607ac
4 changed files with 11 additions and 0 deletions
|
@ -12,6 +12,7 @@ metadata:
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
revisionHistoryLimit: {{ .Values.topologyUpdater.revisionHistoryLimit }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "node-feature-discovery.selectorLabels" . | nindent 6 }}
|
{{- include "node-feature-discovery.selectorLabels" . | nindent 6 }}
|
||||||
|
|
|
@ -12,6 +12,7 @@ metadata:
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
revisionHistoryLimit: {{ .Values.worker.revisionHistoryLimit }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "node-feature-discovery.selectorLabels" . | nindent 6 }}
|
{{- include "node-feature-discovery.selectorLabels" . | nindent 6 }}
|
||||||
|
|
|
@ -425,6 +425,9 @@ worker:
|
||||||
# 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 ControllerRevisions for the DaemonSet to retain.
|
||||||
|
revisionHistoryLimit:
|
||||||
|
|
||||||
rbac:
|
rbac:
|
||||||
create: true
|
create: true
|
||||||
|
|
||||||
|
@ -468,6 +471,10 @@ topologyUpdater:
|
||||||
create: true
|
create: true
|
||||||
annotations: {}
|
annotations: {}
|
||||||
name:
|
name:
|
||||||
|
|
||||||
|
# specify how many old ControllerRevisions for the DaemonSet to retain.
|
||||||
|
revisionHistoryLimit:
|
||||||
|
|
||||||
rbac:
|
rbac:
|
||||||
create: true
|
create: true
|
||||||
|
|
||||||
|
|
|
@ -168,6 +168,7 @@ API's you need to install the prometheus operator in your cluster.
|
||||||
| `worker.annotations` | dict | {} | NFD worker pod [annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/) |
|
| `worker.annotations` | dict | {} | NFD worker pod [annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/) |
|
||||||
| `worker.daemonsetAnnotations` | dict | {} | NFD worker daemonset [annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/) |
|
| `worker.daemonsetAnnotations` | dict | {} | NFD worker daemonset [annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/) |
|
||||||
| `worker.args` | array | [] | Additional [command line arguments](../reference/worker-commandline-reference.md) to pass to nfd-worker |
|
| `worker.args` | array | [] | Additional [command line arguments](../reference/worker-commandline-reference.md) to pass to nfd-worker |
|
||||||
|
| `worker.revisionHistoryLimit` | integer | | Specify how many old ControllerRevisions for this DaemonSet you want to retain. [revisionHistoryLimit](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/#DaemonSetSpec) |
|
||||||
|
|
||||||
### Topology updater parameters
|
### Topology updater parameters
|
||||||
|
|
||||||
|
@ -198,6 +199,7 @@ API's you need to install the prometheus operator in your cluster.
|
||||||
| `topologyUpdater.podSetFingerprint` | bool | true | Enables compute and report of pod fingerprint in NRT objects. |
|
| `topologyUpdater.podSetFingerprint` | bool | true | Enables compute and report of pod fingerprint in NRT objects. |
|
||||||
| `topologyUpdater.kubeletStateDir` | string | /var/lib/kubelet | Specifies kubelet state directory path for watching state and checkpoint files. Empty value disables kubelet state tracking. |
|
| `topologyUpdater.kubeletStateDir` | string | /var/lib/kubelet | Specifies kubelet state directory path for watching state and checkpoint files. Empty value disables kubelet state tracking. |
|
||||||
| `topologyUpdater.args` | array | [] | Additional [command line arguments](../reference/topology-updater-commandline-reference.md) to pass to nfd-topology-updater |
|
| `topologyUpdater.args` | array | [] | Additional [command line arguments](../reference/topology-updater-commandline-reference.md) to pass to nfd-topology-updater |
|
||||||
|
| `topologyUpdater.revisionHistoryLimit` | integer | | Specify how many old ControllerRevisions for this DaemonSet you want to retain. [revisionHistoryLimit](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/#DaemonSetSpec) |
|
||||||
|
|
||||||
### Garbage collector parameters
|
### Garbage collector parameters
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue