Skip to content

Commit cdf4905

Browse files
authored
Merge pull request #828 from mythi/PR-2021-077
release-0.23 content
2 parents deda085 + 688c4fb commit cdf4905

32 files changed

+53
-52
lines changed

.github/workflows/publish.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ on:
44
push:
55
branches:
66
- main
7-
- release-0.20
87
- release-0.21
98
- release-0.22
9+
- release-0.23
1010

1111
jobs:
1212
build:
@@ -42,36 +42,36 @@ jobs:
4242
- uses: actions/checkout@v2
4343
with:
4444
fetch-depth: 0
45-
ref: release-0.20
46-
- name: Build release-0.20
45+
ref: release-0.21
46+
- name: Build release-0.21
4747
run: |
4848
GITHUB_SHA=$(git rev-parse HEAD)
4949
export GITHUB_SHA
5050
rm -rf _work/venv
5151
make vhtml
52-
mv _build/html $HOME/output/0.20
52+
mv _build/html $HOME/output/0.21
5353
- uses: actions/checkout@v2
5454
with:
5555
fetch-depth: 0
56-
ref: release-0.21
57-
- name: Build release-0.21
56+
ref: release-0.22
57+
- name: Build release-0.22
5858
run: |
5959
GITHUB_SHA=$(git rev-parse HEAD)
6060
export GITHUB_SHA
6161
rm -rf _work/venv
6262
make vhtml
63-
mv _build/html $HOME/output/0.21
63+
mv _build/html $HOME/output/0.22
6464
- uses: actions/checkout@v2
6565
with:
6666
fetch-depth: 0
67-
ref: release-0.22
68-
- name: Build release-0.22
67+
ref: release-0.23
68+
- name: Build release-0.23
6969
run: |
7070
GITHUB_SHA=$(git rev-parse HEAD)
7171
export GITHUB_SHA
7272
rm -rf _work/venv
7373
make vhtml
74-
mv _build/html $HOME/output/0.22
74+
mv _build/html $HOME/output/0.23
7575
- name: Deploy the docs
7676
shell: bash
7777
env:

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ endif
6767

6868
test-with-kind: fixture
6969
@build/docker/build-image.sh intel/intel-fpga-admissionwebhook buildah
70-
@$(PODMAN) tag localhost/intel/intel-fpga-admissionwebhook:devel docker.io/intel/intel-fpga-admissionwebhook:devel
70+
@$(PODMAN) tag localhost/intel/intel-fpga-admissionwebhook:0.23.0 docker.io/intel/intel-fpga-admissionwebhook:0.23.0
7171
@mkdir -p $(e2e_tmp_dir)
72-
@$(PODMAN) save "docker.io/intel/intel-fpga-admissionwebhook:devel" -o $(e2e_tmp_dir)/$(WEBHOOK_IMAGE_FILE)
72+
@$(PODMAN) save "docker.io/intel/intel-fpga-admissionwebhook:0.23.0" -o $(e2e_tmp_dir)/$(WEBHOOK_IMAGE_FILE)
7373
@$(KIND) create cluster --name "intel-device-plugins" --kubeconfig $(e2e_tmp_dir)/kubeconfig --image "kindest/node:v1.19.0"
7474
@$(KIND) load image-archive --name "intel-device-plugins" $(e2e_tmp_dir)/$(WEBHOOK_IMAGE_FILE)
7575
$(KUBECTL) --kubeconfig=$(e2e_tmp_dir)/kubeconfig apply -f https://github.com/jetstack/cert-manager/releases/download/v1.3.1/cert-manager.yaml
@@ -129,7 +129,7 @@ clean:
129129

130130
ORG?=intel
131131
REG?=$(ORG)/
132-
TAG?=devel
132+
TAG?=0.23.0
133133
export TAG
134134

135135
e2e-fpga:

README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ This repository contains a framework for developing plugins for the Kubernetes
77
[device plugins framework](https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/),
88
along with a number of device plugin implementations utilising that framework.
99

10-
The [v0.22 release](https://github.com/intel/intel-device-plugins-for-kubernetes/releases/latest)
11-
is the latest feature release with its documentation available [here](https://intel.github.io/intel-device-plugins-for-kubernetes/0.22/).
10+
The [v0.23 release](https://github.com/intel/intel-device-plugins-for-kubernetes/releases/latest)
11+
is the latest feature release with its documentation available [here](https://intel.github.io/intel-device-plugins-for-kubernetes/0.23/).
1212

1313
Table of Contents
1414

@@ -19,7 +19,7 @@ Table of Contents
1919
* [QAT device plugin](#qat-device-plugin)
2020
* [VPU device plugin](#vpu-device-plugin)
2121
* [SGX device plugin](#sgx-device-plugin)
22-
* [DSA device pugin](#dsa-device-plugin)
22+
* [DSA device plugin](#dsa-device-plugin)
2323
* [DLB device plugin](#dlb-device-plugin)
2424
* [Device Plugins Operator](#device-plugins-operator)
2525
* [Demos](#demos)
@@ -256,9 +256,10 @@ matching Kubernetes versions are listed below:
256256

257257
| Branch | Kubernetes branch/version | Status |
258258
|:------------------|:-------------------------------|:------------|
259+
| release-0.23 | Kubernetes 1.23 branch v1.23.x | supported |
259260
| release-0.22 | Kubernetes 1.22 branch v1.22.x | supported |
260261
| release-0.21 | Kubernetes 1.21 branch v1.21.x | supported |
261-
| release-0.20 | Kubernetes 1.20 branch v1.20.x | supported |
262+
| release-0.20 | Kubernetes 1.20 branch v1.20.x | unsupported |
262263
| release-0.19 | Kubernetes 1.19 branch v1.19.x | unsupported |
263264
| release-0.18 | Kubernetes 1.18 branch v1.18.x | unsupported |
264265
| release-0.17 | Kubernetes 1.17 branch v1.17.x | unsupported |

demo/crypto-perf/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
#
77
# This is used on release branches before tagging a stable version.
88
# The main branch defaults to using the latest Clear Linux.
9-
ARG CLEAR_LINUX_BASE=clearlinux:latest
9+
ARG CLEAR_LINUX_BASE=clearlinux@sha256:c93ccb9f87ce9723e7bdc39fa615b18c68c7245f3f1f65865e9abe4b1374c2d5
1010

1111
FROM ${CLEAR_LINUX_BASE} as builder
1212

13-
ARG CLEAR_LINUX_VERSION=
13+
ARG CLEAR_LINUX_VERSION="--version=35460"
1414

1515
RUN mkdir /install_root && \
1616
swupd os-install \

demo/intelfpga-job.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ spec:
1313
restartPolicy: Never
1414
containers:
1515
- name: intelfpga-demo-job-1
16-
image: intel/opae-nlb-demo:devel
16+
image: intel/opae-nlb-demo:0.23.0
1717
imagePullPolicy: IfNotPresent
1818
securityContext:
1919
capabilities:

demo/test-fpga-orchestrated.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
spec:
66
containers:
77
- name: test-container
8-
image: intel/opae-nlb-demo:devel
8+
image: intel/opae-nlb-demo:0.23.0
99
imagePullPolicy: IfNotPresent
1010
securityContext:
1111
capabilities:

demo/test-fpga-preprogrammed.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
spec:
66
containers:
77
- name: test-container
8-
image: intel/opae-nlb-demo:devel
8+
image: intel/opae-nlb-demo:0.23.0
99
imagePullPolicy: IfNotPresent
1010
securityContext:
1111
capabilities:

deployments/dlb_plugin/base/intel-dlb-plugin.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
valueFrom:
2121
fieldRef:
2222
fieldPath: spec.nodeName
23-
image: intel/intel-dlb-plugin:devel
23+
image: intel/intel-dlb-plugin:0.23.0
2424
imagePullPolicy: IfNotPresent
2525
securityContext:
2626
readOnlyRootFilesystem: true

deployments/dsa_plugin/base/intel-dsa-plugin.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
valueFrom:
2121
fieldRef:
2222
fieldPath: spec.nodeName
23-
image: intel/intel-dsa-plugin:devel
23+
image: intel/intel-dsa-plugin:0.23.0
2424
imagePullPolicy: IfNotPresent
2525
securityContext:
2626
readOnlyRootFilesystem: true

deployments/dsa_plugin/overlays/dsa_initcontainer/dsa_initcontainer.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ spec:
1212
valueFrom:
1313
fieldRef:
1414
fieldPath: spec.nodeName
15-
image: intel/intel-idxd-config-initcontainer:devel
15+
image: intel/intel-idxd-config-initcontainer:0.23.0
1616
securityContext:
1717
privileged: true
1818
volumeMounts:

deployments/fpga_admissionwebhook/manager/manager.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
control-plane: controller-manager
1717
spec:
1818
containers:
19-
- image: intel/intel-fpga-admissionwebhook:devel
19+
- image: intel/intel-fpga-admissionwebhook:0.23.0
2020
imagePullPolicy: IfNotPresent
2121
name: manager
2222
securityContext:

deployments/fpga_plugin/base/intel-fpga-plugin-daemonset.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
spec:
1717
initContainers:
1818
- name: intel-fpga-initcontainer
19-
image: intel/intel-fpga-initcontainer:devel
19+
image: intel/intel-fpga-initcontainer:0.23.0
2020
imagePullPolicy: IfNotPresent
2121
securityContext:
2222
readOnlyRootFilesystem: true
@@ -32,7 +32,7 @@ spec:
3232
valueFrom:
3333
fieldRef:
3434
fieldPath: spec.nodeName
35-
image: intel/intel-fpga-plugin:devel
35+
image: intel/intel-fpga-plugin:0.23.0
3636
imagePullPolicy: IfNotPresent
3737
args:
3838
- -mode=af

deployments/gpu_plugin/base/intel-gpu-plugin.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
spec:
1616
initContainers:
1717
- name: intel-gpu-initcontainer
18-
image: intel/intel-gpu-initcontainer:devel
18+
image: intel/intel-gpu-initcontainer:0.23.0
1919
imagePullPolicy: IfNotPresent
2020
securityContext:
2121
readOnlyRootFilesystem: true
@@ -29,7 +29,7 @@ spec:
2929
valueFrom:
3030
fieldRef:
3131
fieldPath: spec.nodeName
32-
image: intel/intel-gpu-plugin:devel
32+
image: intel/intel-gpu-plugin:0.23.0
3333
imagePullPolicy: IfNotPresent
3434
securityContext:
3535
readOnlyRootFilesystem: true

deployments/operator/manager/manager.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ spec:
2323
control-plane: controller-manager
2424
spec:
2525
containers:
26-
- image: intel/intel-deviceplugin-operator:devel
26+
- image: intel/intel-deviceplugin-operator:0.23.0
2727
imagePullPolicy: IfNotPresent
2828
name: manager
2929
resources:

deployments/operator/samples/deviceplugin_v1_dlbdeviceplugin.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ metadata:
99
# annotations:
1010
# container.apparmor.security.beta.kubernetes.io/intel-dlb-plugin: unconfined
1111
spec:
12-
image: intel/intel-dlb-plugin:0.22.0
12+
image: intel/intel-dlb-plugin:0.23.0
1313
logLevel: 4
1414
nodeSelector:
1515
feature.node.kubernetes.io/dlb: 'true'

deployments/operator/samples/deviceplugin_v1_dsadeviceplugin.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ kind: DsaDevicePlugin
33
metadata:
44
name: dsadeviceplugin-sample
55
spec:
6-
image: intel/intel-dsa-plugin:0.22.0
6+
image: intel/intel-dsa-plugin:0.23.0
77
sharedDevNum: 10
88
logLevel: 4

deployments/operator/samples/deviceplugin_v1_fpgadeviceplugin.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ kind: FpgaDevicePlugin
33
metadata:
44
name: fpgadeviceplugin-sample
55
spec:
6-
image: intel/intel-fpga-plugin:0.22.0
7-
initImage: intel/intel-fpga-initcontainer:0.22.0
6+
image: intel/intel-fpga-plugin:0.23.0
7+
initImage: intel/intel-fpga-initcontainer:0.23.0
88
mode: region
99
logLevel: 4
1010
nodeSelector:

deployments/operator/samples/deviceplugin_v1_gpudeviceplugin.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ kind: GpuDevicePlugin
33
metadata:
44
name: gpudeviceplugin-sample
55
spec:
6-
image: intel/intel-gpu-plugin:0.22.0
7-
initImage: intel/intel-gpu-initcontainer:0.22.0
6+
image: intel/intel-gpu-plugin:0.23.0
7+
initImage: intel/intel-gpu-initcontainer:0.23.0
88
sharedDevNum: 10
99
logLevel: 4
1010
nodeSelector:

deployments/operator/samples/deviceplugin_v1_qatdeviceplugin.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ metadata:
99
# annotations:
1010
# container.apparmor.security.beta.kubernetes.io/intel-qat-plugin: unconfined
1111
spec:
12-
image: intel/intel-qat-plugin:0.22.0
12+
image: intel/intel-qat-plugin:0.23.0
1313
dpdkDriver: vfio-pci
1414
kernelVfDrivers:
1515
- c6xxvf

deployments/operator/samples/deviceplugin_v1_sgxdeviceplugin.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ kind: SgxDevicePlugin
33
metadata:
44
name: sgxdeviceplugin-sample
55
spec:
6-
image: intel/intel-sgx-plugin:0.22.0
7-
initImage: intel/intel-sgx-initcontainer:0.22.0
6+
image: intel/intel-sgx-plugin:0.23.0
7+
initImage: intel/intel-sgx-initcontainer:0.23.0
88
enclaveLimit: 110
99
provisionLimit: 110
1010
logLevel: 4

deployments/qat_dpdk_app/base/crypto-perf-dpdk-pod-requesting-qat.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
spec:
66
containers:
77
- name: crypto-perf
8-
image: intel/crypto-perf:devel
8+
image: intel/crypto-perf:0.23.0
99
imagePullPolicy: IfNotPresent
1010
command: [ "/bin/bash", "-c", "--" ]
1111
args: [ "while true; do sleep 300000; done;" ]

deployments/qat_plugin/base/intel-qat-kernel-plugin.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
securityContext:
1919
readOnlyRootFilesystem: true
2020
privileged: true
21-
image: intel/intel-qat-plugin:devel
21+
image: intel/intel-qat-plugin:0.23.0
2222
imagePullPolicy: IfNotPresent
2323
args: ["-mode", "kernel"]
2424
volumeMounts:

deployments/qat_plugin/base/intel-qat-plugin.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
spec:
1616
containers:
1717
- name: intel-qat-plugin
18-
image: intel/intel-qat-plugin:devel
18+
image: intel/intel-qat-plugin:0.23.0
1919
securityContext:
2020
readOnlyRootFilesystem: true
2121
imagePullPolicy: IfNotPresent

deployments/sgx_admissionwebhook/manager/manager.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
control-plane: controller-manager
1717
spec:
1818
containers:
19-
- image: intel/intel-sgx-admissionwebhook:devel
19+
- image: intel/intel-sgx-admissionwebhook:0.23.0
2020
imagePullPolicy: IfNotPresent
2121
name: manager
2222
securityContext:

deployments/sgx_plugin/base/intel-sgx-plugin.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
spec:
1616
containers:
1717
- name: intel-sgx-plugin
18-
image: intel/intel-sgx-plugin:devel
18+
image: intel/intel-sgx-plugin:0.23.0
1919
securityContext:
2020
readOnlyRootFilesystem: true
2121
imagePullPolicy: IfNotPresent

deployments/sgx_plugin/overlays/epc-hook-initcontainer/add-epc-nfd-initcontainer.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spec:
77
spec:
88
initContainers:
99
- name: intel-sgx-initcontainer
10-
image: intel/intel-sgx-initcontainer:devel
10+
image: intel/intel-sgx-initcontainer:0.23.0
1111
imagePullPolicy: IfNotPresent
1212
securityContext:
1313
readOnlyRootFilesystem: true

deployments/sgx_plugin/overlays/epc-nfd/add-epc-nfd-initcontainer.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spec:
77
spec:
88
initContainers:
99
- name: intel-sgx-initcontainer
10-
image: intel/intel-sgx-initcontainer:devel
10+
image: intel/intel-sgx-initcontainer:0.23.0
1111
imagePullPolicy: IfNotPresent
1212
securityContext:
1313
readOnlyRootFilesystem: true

deployments/sgx_plugin/overlays/epc-register/init-daemonset.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
serviceAccountName: sgx-plugin
1717
containers:
1818
- name: sgx-node-init
19-
image: intel/intel-sgx-initcontainer:devel
19+
image: intel/intel-sgx-initcontainer:0.23.0
2020
imagePullPolicy: IfNotPresent
2121
command:
2222
- /usr/local/bin/sgx-sw/intel-sgx-epchook

deployments/vpu_plugin/base/intel-vpu-plugin.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
valueFrom:
2121
fieldRef:
2222
fieldPath: spec.nodeName
23-
image: intel/intel-vpu-plugin:devel
23+
image: intel/intel-vpu-plugin:0.23.0
2424
imagePullPolicy: IfNotPresent
2525
securityContext:
2626
readOnlyRootFilesystem: true

pkg/apis/deviceplugin/v1/webhook_common.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
)
2424

2525
// common constants for webhooks.
26-
const imageMinVersion string = "0.22.0"
26+
const imageMinVersion string = "0.23.0"
2727

2828
// common functions for webhooks
2929

pkg/controllers/fpga/controller_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ func TestNewDaemonSetFPGA(t *testing.T) {
178178

179179
plugin := &devicepluginv1.FpgaDevicePlugin{
180180
Spec: devicepluginv1.FpgaDevicePluginSpec{
181-
InitImage: "intel/intel-fpga-initcontainer:devel",
181+
InitImage: "intel/intel-fpga-initcontainer:0.23.0",
182182
},
183183
}
184184

pkg/controllers/gpu/controller_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func TestNewDamonSetGPU(t *testing.T) {
184184
}
185185

186186
if tc.isInitImage {
187-
plugin.Spec.InitImage = "intel/intel-gpu-initcontainer:devel"
187+
plugin.Spec.InitImage = "intel/intel-gpu-initcontainer:0.23.0"
188188
}
189189

190190
t.Run(tc.name, func(t *testing.T) {

0 commit comments

Comments
 (0)