Skip to content

Commit b38141d

Browse files
authored
Merge pull request #1539 from mythi/PR-2023-046
k8s v1.28.2 and NFD updates
2 parents 61dc798 + 4ba166a commit b38141d

File tree

13 files changed

+96
-106
lines changed

13 files changed

+96
-106
lines changed

DEVEL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,3 +369,4 @@ others:
369369
6. Plugin CRD validation tests implemented in [`test/envtest/`](test/envtest) and passing: `make envtest`.
370370
7. Plugin CRD controller implemented in [`pkg/controllers/`](pkg/controllers) and added to the manager in `cmd/operator/main.go`.
371371
8. Plugin documentation written `cmd/<plugin>/README.md` and optionally end to end demos created in [`demo`](demo).
372+
9. Plugin [`NodeFeatureRule`](deployments/nfd/overlays/node-feature-rules)s added for Node Feature Discovery labeling.

cmd/gpu_plugin/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ take care of, which are explained below. For the RBAC-permissions, gRPC service
227227
the flag enabling, it is recommended to use kustomization by running:
228228

229229
```bash
230-
# Start NFD with GPU related configuration changes
231-
$ kubectl apply -k 'https://github.com/intel/intel-device-plugins-for-kubernetes/deployments/nfd/overlays/gpu?ref=<RELEASE_VERSION>'
230+
# Start NFD - if your cluster doesn't have NFD installed yet
231+
$ kubectl apply -k 'https://github.com/intel/intel-device-plugins-for-kubernetes/deployments/nfd?ref=<RELEASE_VERSION>'
232232

233233
# Create NodeFeatureRules for detecting GPUs on nodes
234234
$ kubectl apply -k 'https://github.com/intel/intel-device-plugins-for-kubernetes/deployments/nfd/overlays/node-feature-rules?ref=<RELEASE_VERSION>'

cmd/qat_plugin/dpdkdrv/dpdkdrv.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ func (dp *DevicePlugin) isValidVfDeviceID(vfDevID string) bool {
476476
}
477477
}
478478

479-
klog.Warningf("device ID %s is not a QAT device or not enabled by kernelVfDrivers.", vfDevID)
479+
klog.V(3).Infof("device ID %s is not a QAT device or not enabled by kernelVfDrivers.", vfDevID)
480480

481481
return false
482482
}

demo/openssl-qat-engine/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM ubuntu:22.04 as builder
22

33
ARG QATLIB_VERSION="23.08.0"
4-
ARG QAT_ENGINE_VERSION="v1.2.0"
4+
ARG QAT_ENGINE_VERSION="v1.4.0"
55
ARG ASYNC_NGINX_VERSION="v0.5.1"
66
ARG IPSEC_MB_VERSION="v1.4"
77
ARG IPP_CRYPTO_VERSION="ippcp_2021.8"
@@ -48,7 +48,6 @@ RUN cd /intel-ipsec-mb && \
4848
make && make install LIB_INSTALL_DIR=/usr/lib64
4949

5050
RUN cd /QAT_Engine && \
51-
sed -i -e 's/GCM_IV_DATA_LEN/IMB_GCM_IV_DATA_LEN/g' qat_evp.c && \
5251
./autogen.sh && \
5352
./configure \
5453
--enable-qat_sw && \
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
resources:
4-
- "https://github.com/kubernetes-sigs/node-feature-discovery/deployment/overlays/default?ref=v0.13.4"
4+
- "https://github.com/kubernetes-sigs/node-feature-discovery/deployment/overlays/default?ref=v0.14.1"
5+
configMapGenerator:
6+
- name: nfd-worker-conf
7+
behavior: replace
8+
files:
9+
- nfd-worker.conf

deployments/nfd/base/nfd-worker.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
core:
2+
labelSources:
3+
- "local"

deployments/nfd/components/gpu/kustomization.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

deployments/nfd/components/gpu/master-args.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

deployments/nfd/components/gpu/master-rbac.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

deployments/nfd/overlays/gpu/kustomization.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)