Skip to content

Commit e0c96ec

Browse files
cicd: release Network Operator v26.1.0-beta.3 (#2034)
Created by the [*create-release-pr* job](https://github.com/Mellanox/network-operator/actions/runs/21138349059).
2 parents 76015af + 604ee65 commit e0c96ec

17 files changed

+518
-90
lines changed

deployment/network-operator/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
22
name: network-operator
3-
version: 26.1.0-beta.2
3+
version: 26.1.0-beta.3
44
kubeVersion: '>= 1.21.0'
5-
appVersion: v26.1.0-beta.2
5+
appVersion: v26.1.0-beta.3
66
description: Nvidia network operator
77
type: application
88
keywords:

deployment/network-operator/charts/node-feature-discovery/README.md

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -200,20 +200,23 @@ NFD.
200200
| master.podDisruptionBudget.enable | bool | `false` | Configure PodDisruptionBudget for the nfd-master Deployment. |
201201
| master.podDisruptionBudget.minAvailable | int | `1` | Minimum number (or percentage) of pods that must be available after the eviction. |
202202
| master.podDisruptionBudget.unhealthyPodEvictionPolicy | string | `"AlwaysAllow"` | Policy to evict unhealthy pods when a PodDisruptionBudget is defined. |
203+
| master.networkPolicy.enabled | bool | `false` | Should a networkPolicy be deployed for the nfd-master pods |
204+
| master.networkPolicy.egress | list | `[{"ports":[{"port":80,"protocol":"TCP"},{"port":443,"protocol":"TCP"},{"port":53,"protocol":"TCP"},{"port":53,"protocol":"UDP"},{"port":6443,"protocol":"TCP"}]}]` | [Egress](https://kubernetes.io/docs/concepts/services-networking/network-policies/#network-traffic-filtering) for the nfd-master pods. The minimum egress ports required to function are: DNS (53/udp, 53/tcp, API server (80/tcp, 443/tcp, 6443/tcp). NOTE: OKD and Openshift use 6443/tcp |
205+
| master.networkPolicy.ingress | list | `[{"ports":[{"port":"http","protocol":"TCP"}]}]` | [Ingress](https://kubernetes.io/docs/concepts/services-networking/network-policies/#network-traffic-filtering) for the nfd-master pods. |
203206
| master.annotations | object | `{}` | [Annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations) to add to the nfd-master pods. |
204207
| master.labels | object | `{}` | [Labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/) to add to the nfd-master pods. |
205208
| master.affinity | object | `{"nodeAffinity":{"preferredDuringSchedulingIgnoredDuringExecution":[{"preference":{"matchExpressions":[{"key":"node-role.kubernetes.io/control-plane","operator":"In","values":[""]}]},"weight":1}]}}` | [Affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity) for the nfd-master pods. |
206-
| master.startupProbe | object | | Startup probe configuration. [More information](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-startup-probes). |
209+
| master.startupProbe | object | - | Startup probe configuration. [More information](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-startup-probes). |
207210
| master.startupProbe.initialDelaySeconds | int | `nil` | The number of seconds after the container has started before probe is initiated. |
208211
| master.startupProbe.timeoutSeconds | int | `nil` | The number of seconds after which the probe times out. |
209212
| master.startupProbe.periodSeconds | int | `nil` | How often (in seconds) to perform the probe. |
210213
| master.startupProbe.failureThreshold | int | `30` | The number of consecutive failures for the probe before considering the pod as not ready. |
211-
| master.livenessProbe | object | | Liveness probe configuration. [More information](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-liveness-probes). |
214+
| master.livenessProbe | object | - | Liveness probe configuration. [More information](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-liveness-probes). |
212215
| master.livenessProbe.initialDelaySeconds | int | `nil` | The number of seconds after the container has started before probe is initiated. |
213216
| master.livenessProbe.timeoutSeconds | int | `nil` | The number of seconds after which the probe times out. |
214217
| master.livenessProbe.periodSeconds | int | `nil` | How often (in seconds) to perform the probe. |
215218
| master.livenessProbe.failureThreshold | int | `nil` | Minimum consecutive successes for the probe before considering the pod as ready. |
216-
| master.readinessProbe | object | | Readiness probe configuration. [More information](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-readiness-probes). |
219+
| master.readinessProbe | object | - | Readiness probe configuration. [More information](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-readiness-probes). |
217220
| master.readinessProbe.initialDelaySeconds | int | `nil` | The number of seconds after the container has started before probe is initiated. |
218221
| master.readinessProbe.timeoutSeconds | int | `nil` | The number of seconds after which the probe times out. |
219222
| master.readinessProbe.periodSeconds | int | `nil` | How often (in seconds) to perform the probe. |
@@ -234,12 +237,12 @@ NFD.
234237
| worker.daemonsetAnnotations | object | `{}` | [Annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations) to add to the nfd-worker DaemonSet. |
235238
| worker.podSecurityContext | object | `{}` | [Pod SecurityContext](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod) of the nfd-worker pods. |
236239
| worker.securityContext | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true}` | [SecurityContext](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container) of the nfd-worker container. |
237-
| worker.livenessProbe | object | | Liveness probe configuration. [More information](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-liveness-probes). |
240+
| worker.livenessProbe | object | - | Liveness probe configuration. [More information](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-liveness-probes). |
238241
| worker.livenessProbe.initialDelaySeconds | int | `10` | The number of seconds after the container has started before probe is initiated. |
239242
| worker.livenessProbe.timeoutSeconds | int | `nil` | The number of seconds after which the probe times out. |
240243
| worker.livenessProbe.periodSeconds | int | `nil` | How often (in seconds) to perform the probe. |
241244
| worker.livenessProbe.failureThreshold | int | `nil` | Minimum consecutive successes for the probe before considering the pod as ready. |
242-
| worker.readinessProbe | object | | Readiness probe configuration. [More information](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-readiness-probes). |
245+
| worker.readinessProbe | object | - | Readiness probe configuration. [More information](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-readiness-probes). |
243246
| worker.readinessProbe.initialDelaySeconds | int | `5` | The number of seconds after the container has started before probe is initiated. |
244247
| worker.readinessProbe.timeoutSeconds | int | `nil` | The number of seconds after which the probe times out. |
245248
| worker.readinessProbe.periodSeconds | int | `nil` | How often (in seconds) to perform the probe. |
@@ -260,6 +263,9 @@ NFD.
260263
| worker.affinity | object | `{}` | [Affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity) for the nfd-worker pods. |
261264
| worker.priorityClassName | string | `nil` | The name of the PriorityClass to be used for the nfd-worker pods. |
262265
| worker.updateStrategy | object | `{}` | Update strategy for the nfd-worker DaemonSet. [More info](https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set) |
266+
| worker.networkPolicy.enabled | bool | `false` | Should a networkPolicy be deployed for the nfd-worker pods |
267+
| worker.networkPolicy.egress | list | `[{"ports":[{"port":80,"protocol":"TCP"},{"port":443,"protocol":"TCP"},{"port":53,"protocol":"TCP"},{"port":53,"protocol":"UDP"},{"port":6443,"protocol":"TCP"}]}]` | [Egress](https://kubernetes.io/docs/concepts/services-networking/network-policies/#network-traffic-filtering) for the nfd-worker pods. The minimum egress ports required to function are: DNS (53/udp, 53/tcp, API server (80/tcp, 443/tcp, 6443/tcp). NOTE: OKD and Openshift use 6443/tcp |
268+
| worker.networkPolicy.ingress | list | `[{"ports":[{"port":"http","protocol":"TCP"}]}]` | [Ingress](https://kubernetes.io/docs/concepts/services-networking/network-policies/#network-traffic-filtering) for the nfd-worker pods. |
263269

264270
### NFD-Topology-Updater
265271

@@ -285,12 +291,12 @@ NFD.
285291
| topologyUpdater.kubeletStateDir | string | `"/var/lib/kubelet"` | The kubelet state directory path for watching state and checkpoint files. Empty value disables kubelet state tracking. |
286292
| topologyUpdater.podSecurityContext | object | `{}` | [Pod SecurityContext](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod) of the nfd-topology-updater pods. |
287293
| topologyUpdater.securityContext | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsUser":0}` | [SecurityContext](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container) of the nfd-topology-updater container. |
288-
| topologyUpdater.livenessProbe | object | | Liveness probe configuration. [More information](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-liveness-probes). |
294+
| topologyUpdater.livenessProbe | object | - | Liveness probe configuration. [More information](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-liveness-probes). |
289295
| topologyUpdater.livenessProbe.initialDelaySeconds | int | `10` | The number of seconds after the container has started before probe is initiated. |
290296
| topologyUpdater.livenessProbe.timeoutSeconds | int | `nil` | The number of seconds after which the probe times out. |
291297
| topologyUpdater.livenessProbe.periodSeconds | int | `nil` | How often (in seconds) to perform the probe. |
292298
| topologyUpdater.livenessProbe.failureThreshold | int | `nil` | Minimum consecutive successes for the probe before considering the pod as ready. |
293-
| topologyUpdater.readinessProbe | object | | Readiness probe configuration. [More information](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-readiness-probes). |
299+
| topologyUpdater.readinessProbe | object | - | Readiness probe configuration. [More information](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-readiness-probes). |
294300
| topologyUpdater.readinessProbe.initialDelaySeconds | int | `5` | The number of seconds after the container has started before probe is initiated. |
295301
| topologyUpdater.readinessProbe.timeoutSeconds | int | `nil` | The number of seconds after which the probe times out. |
296302
| topologyUpdater.readinessProbe.periodSeconds | int | `nil` | How often (in seconds) to perform the probe. |
@@ -305,6 +311,9 @@ NFD.
305311
| topologyUpdater.daemonsetAnnotations | object | `{}` | [Annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations) to add to the nfd-topology-updater DaemonSet. |
306312
| topologyUpdater.affinity | object | `{}` | [Affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity) for the nfd-topology-updater pods. |
307313
| topologyUpdater.podSetFingerprint | bool | `true` | Enables compute and report of pod fingerprint in NRT objects. |
314+
| topologyUpdater.networkPolicy.enabled | bool | `false` | Should a networkPolicy be deployed for the nfd-topology pods |
315+
| topologyUpdater.networkPolicy.egress | list | `[{"ports":[{"port":80,"protocol":"TCP"},{"port":443,"protocol":"TCP"},{"port":53,"protocol":"TCP"},{"port":53,"protocol":"UDP"},{"port":6443,"protocol":"TCP"}]}]` | [Egress](https://kubernetes.io/docs/concepts/services-networking/network-policies/#network-traffic-filtering) for the nfd-topology pods. The minimum egress ports required to function are: DNS (53/udp, 53/tcp, API server (80/tcp, 443/tcp, 6443/tcp). NOTE: OKD and Openshift use 6443/tcp |
316+
| topologyUpdater.networkPolicy.ingress | list | `[{"ports":[{"port":"http","protocol":"TCP"}]}]` | [Ingress](https://kubernetes.io/docs/concepts/services-networking/network-policies/#network-traffic-filtering) for the nfd-topology pods. |
308317

309318
### NFD-GC
310319

@@ -322,12 +331,12 @@ NFD.
322331
| gc.rbac.create | bool | `true` | Create [RBAC](https://kubernetes.io/docs/reference/access-authn-authz/rbac/) configuration for nfd-gc. |
323332
| gc.interval | string | `"1h"` | Time between periodic garbage collector runs. |
324333
| gc.podSecurityContext | object | `{}` | [Pod SecurityContext](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod) of the nfd-gc pods. |
325-
| gc.livenessProbe | object | | Liveness probe configuration. [More information](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-liveness-probes). |
334+
| gc.livenessProbe | object | - | Liveness probe configuration. [More information](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-liveness-probes). |
326335
| gc.livenessProbe.initialDelaySeconds | int | `10` | The number of seconds after the container has started before probe is initiated. |
327336
| gc.livenessProbe.timeoutSeconds | int | `nil` | The number of seconds after which the probe times out. |
328337
| gc.livenessProbe.periodSeconds | int | `nil` | How often (in seconds) to perform the probe. |
329338
| gc.livenessProbe.failureThreshold | int | `nil` | Minimum consecutive successes for the probe before considering the pod as ready. |
330-
| gc.readinessProbe | object | | Readiness probe configuration. [More information](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-readiness-probes). |
339+
| gc.readinessProbe | object | - | Readiness probe configuration. [More information](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-readiness-probes). |
331340
| gc.readinessProbe.initialDelaySeconds | int | `5` | The number of seconds after the container has started before probe is initiated. |
332341
| gc.readinessProbe.timeoutSeconds | int | `nil` | The number of seconds after which the probe times out. |
333342
| gc.readinessProbe.periodSeconds | int | `nil` | How often (in seconds) to perform the probe. |
@@ -346,6 +355,9 @@ NFD.
346355
| gc.podDisruptionBudget.minAvailable | int | `1` | Minimum number (or percentage) of pods that must be available after the eviction. |
347356
| gc.podDisruptionBudget.unhealthyPodEvictionPolicy | string | `"AlwaysAllow"` | Policy to evict unhealthy pods when a PodDisruptionBudget is defined. |
348357
| gc.revisionHistoryLimit | int | `nil` | Specifies the number of old history for the Deployment to retain to allow rollback. |
358+
| gc.networkPolicy.enabled | bool | `false` | Should a networkPolicy be deployed for the nfd-gc pods |
359+
| gc.networkPolicy.egress | list | `[{"ports":[{"port":80,"protocol":"TCP"},{"port":443,"protocol":"TCP"},{"port":53,"protocol":"TCP"},{"port":53,"protocol":"UDP"},{"port":6443,"protocol":"TCP"}]}]` | [Egress](https://kubernetes.io/docs/concepts/services-networking/network-policies/#network-traffic-filtering) for the nfd-gc pods. The minimum egress ports required to function are: DNS (53/udp, 53/tcp, API server (80/tcp, 443/tcp, 6443/tcp). NOTE: OKD and Openshift use 6443/tcp |
360+
| gc.networkPolicy.ingress | list | `[{"ports":[{"port":"http","protocol":"TCP"}]}]` | [Ingress](https://kubernetes.io/docs/concepts/services-networking/network-policies/#network-traffic-filtering) for the nfd-gc pods. |
349361

350362
### Prometheus
351363

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{{- if .Values.master.networkPolicy.enabled }}
2+
apiVersion: networking.k8s.io/v1
3+
kind: NetworkPolicy
4+
metadata:
5+
name: {{ template "node-feature-discovery.fullname" . }}-master-network-policy
6+
namespace: {{ include "node-feature-discovery.namespace" . }}
7+
labels:
8+
{{- include "node-feature-discovery.labels" . | nindent 4 }}
9+
role: master
10+
spec:
11+
egress:
12+
{{- with .Values.master.networkPolicy.egress }}
13+
{{- toYaml . | nindent 4 }}
14+
{{- end }}
15+
ingress:
16+
{{- with .Values.master.networkPolicy.ingress }}
17+
{{- toYaml . | nindent 4 }}
18+
{{- end }}
19+
podSelector:
20+
matchLabels:
21+
{{- include "node-feature-discovery.selectorLabels" . | nindent 6 }}
22+
role: master
23+
policyTypes:
24+
- Egress
25+
- Ingress
26+
{{- end }}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{{- if .Values.gc.networkPolicy.enabled }}
2+
apiVersion: networking.k8s.io/v1
3+
kind: NetworkPolicy
4+
metadata:
5+
name: {{ template "node-feature-discovery.fullname" . }}-gc-network-policy
6+
namespace: {{ include "node-feature-discovery.namespace" . }}
7+
labels:
8+
{{- include "node-feature-discovery.labels" . | nindent 4 }}
9+
role: gc
10+
spec:
11+
egress:
12+
{{- with .Values.gc.networkPolicy.egress }}
13+
{{- toYaml . | nindent 4 }}
14+
{{- end }}
15+
ingress:
16+
{{- with .Values.gc.networkPolicy.ingress }}
17+
{{- toYaml . | nindent 4 }}
18+
{{- end }}
19+
podSelector:
20+
matchLabels:
21+
{{- include "node-feature-discovery.selectorLabels" . | nindent 6 }}
22+
role: gc
23+
policyTypes:
24+
- Egress
25+
- Ingress
26+
{{- end }}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{{- if .Values.topologyUpdater.networkPolicy.enabled }}
2+
apiVersion: networking.k8s.io/v1
3+
kind: NetworkPolicy
4+
metadata:
5+
name: {{ template "node-feature-discovery.fullname" . }}-topology-updater-network-policy
6+
namespace: {{ include "node-feature-discovery.namespace" . }}
7+
labels:
8+
{{- include "node-feature-discovery.labels" . | nindent 4 }}
9+
role: topology-updater
10+
spec:
11+
egress:
12+
{{- with .Values.topologyUpdater.networkPolicy.egress }}
13+
{{- toYaml . | nindent 4 }}
14+
{{- end }}
15+
ingress:
16+
{{- with .Values.topologyUpdater.networkPolicy.ingress }}
17+
{{- toYaml . | nindent 4 }}
18+
{{- end }}
19+
podSelector:
20+
matchLabels:
21+
{{- include "node-feature-discovery.selectorLabels" . | nindent 6 }}
22+
role: topology-updater
23+
policyTypes:
24+
- Egress
25+
- Ingress
26+
{{- end }}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{{- if .Values.worker.networkPolicy.enabled }}
2+
apiVersion: networking.k8s.io/v1
3+
kind: NetworkPolicy
4+
metadata:
5+
name: {{ template "node-feature-discovery.fullname" . }}-worker-network-policy
6+
namespace: {{ include "node-feature-discovery.namespace" . }}
7+
labels:
8+
{{- include "node-feature-discovery.labels" . | nindent 4 }}
9+
role: worker
10+
spec:
11+
egress:
12+
{{- with .Values.worker.networkPolicy.egress }}
13+
{{- toYaml . | nindent 4 }}
14+
{{- end }}
15+
ingress:
16+
{{- with .Values.worker.networkPolicy.ingress }}
17+
{{- toYaml . | nindent 4 }}
18+
{{- end }}
19+
podSelector:
20+
matchLabels:
21+
{{- include "node-feature-discovery.selectorLabels" . | nindent 6 }}
22+
role: worker
23+
policyTypes:
24+
- Egress
25+
- Ingress
26+
{{- end }}

0 commit comments

Comments
 (0)