Skip to content

Commit

Permalink
Merge pull request #1441 from tkatila/release-0.27-prep
Browse files Browse the repository at this point in the history
Release 0.27 creation
  • Loading branch information
mythi committed Jun 2, 2023
2 parents 819d302 + 64beeed commit f333145
Show file tree
Hide file tree
Showing 67 changed files with 93 additions and 92 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/publish.yml
Expand Up @@ -4,9 +4,9 @@ on:
push:
branches:
- main
- release-0.24
- release-0.25
- release-0.26
- release-0.27

permissions:
contents: read
Expand Down Expand Up @@ -47,36 +47,36 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: release-0.24
- name: Build release-0.24
ref: release-0.25
- name: Build release-0.25
run: |
GITHUB_SHA=$(git rev-parse HEAD)
export GITHUB_SHA
rm -rf _work/venv
make vhtml
mv _build/html $HOME/output/0.24
mv _build/html $HOME/output/0.25
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: release-0.25
- name: Build release-0.25
ref: release-0.26
- name: Build release-0.26
run: |
GITHUB_SHA=$(git rev-parse HEAD)
export GITHUB_SHA
rm -rf _work/venv
make vhtml
mv _build/html $HOME/output/0.25
mv _build/html $HOME/output/0.26
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: release-0.26
- name: Build release-0.26
ref: release-0.27
- name: Build release-0.27
run: |
GITHUB_SHA=$(git rev-parse HEAD)
export GITHUB_SHA
rm -rf _work/venv
make vhtml
mv _build/html $HOME/output/0.26
mv _build/html $HOME/output/0.27
- name: Deploy the docs
shell: bash
env:
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Expand Up @@ -142,7 +142,7 @@ pipeline {
stage('make test-with-kind') {
steps {
dir(path: "$REPO_DIR") {
sh "make test-with-kind REG=intel/ TAG=devel"
sh "make test-with-kind REG=intel/ TAG=0.27.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -136,7 +136,7 @@ clean:

ORG?=intel
REG?=$(ORG)/
TAG?=devel
TAG?=0.27.0
export TAG

e2e-fpga:
Expand Down
11 changes: 6 additions & 5 deletions README.md
Expand Up @@ -7,8 +7,8 @@ This repository contains a framework for developing plugins for the Kubernetes
[device plugins framework](https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/),
along with a number of device plugin implementations utilizing that framework.

The [v0.26 release](https://github.com/intel/intel-device-plugins-for-kubernetes/releases/latest)
is the latest feature release with its documentation available [here](https://intel.github.io/intel-device-plugins-for-kubernetes/0.26/).
The [v0.27 release](https://github.com/intel/intel-device-plugins-for-kubernetes/releases/latest)
is the latest feature release with its documentation available [here](https://intel.github.io/intel-device-plugins-for-kubernetes/0.27/).

Table of Contents

Expand Down Expand Up @@ -166,10 +166,10 @@ as a standalone [SGX Admission webhook image](cmd/sgx_admissionwebhook/README.md
#### Intel SGX EPC memory registration

The Intel SGX EPC memory available on each node is registered as a Kubernetes extended resource using
node-feature-discovery (NFD). A custom NFD source hook is installed as part of
node-feature-discovery (NFD). An NFD Node Feature Rule is installed as part of
[SGX device plugin](cmd/sgx_plugin/README.md)
operator deployment and NFD is configured to register the Intel SGX EPC memory
extended resource reported by the hook.
extended resource.

Containers requesting Intel SGX EPC resources in the cluster use
`sgx.intel.com/epc` resource which is of
Expand Down Expand Up @@ -262,9 +262,10 @@ matching Kubernetes versions are listed below:

| Branch | Kubernetes branch/version | Status |
|:------------------|:-------------------------------|:------------|
| release-0.27 | Kubernetes 1.27 branch v1.27.x | supported |
| release-0.26 | Kubernetes 1.26 branch v1.26.x | supported |
| release-0.25 | Kubernetes 1.25 branch v1.25.x | supported |
| release-0.24 | Kubernetes 1.24 branch v1.24.x | supported |
| release-0.24 | Kubernetes 1.24 branch v1.24.x | unsupported |
| release-0.23 | Kubernetes 1.23 branch v1.23.x | unsupported |
| release-0.22 | Kubernetes 1.22 branch v1.22.x | unsupported |
| release-0.21 | Kubernetes 1.21 branch v1.21.x | unsupported |
Expand Down
2 changes: 1 addition & 1 deletion build/docker/intel-deviceplugin-operator.Dockerfile
Expand Up @@ -56,7 +56,7 @@ FROM ${FINAL_BASE}
COPY --from=builder /install_root /
ENTRYPOINT ["/usr/local/bin/intel_deviceplugin_operator"]
LABEL vendor='Intel®'
LABEL version='devel'
LABEL version='0.27.0'
LABEL release='1'
LABEL name='intel-deviceplugin-operator'
LABEL summary='Intel® device plugin operator for Kubernetes'
Expand Down
2 changes: 1 addition & 1 deletion build/docker/intel-dlb-initcontainer.Dockerfile
Expand Up @@ -55,7 +55,7 @@ RUN curl -SL https://github.com/landley/toybox/archive/refs/tags/$TOYBOX_VERSION
###
FROM ${FINAL_BASE}
LABEL vendor='Intel®'
LABEL version='devel'
LABEL version='0.27.0'
LABEL release='1'
COPY --from=builder /install_root /
COPY demo/dlb-init.sh /usr/local/bin/
Expand Down
2 changes: 1 addition & 1 deletion build/docker/intel-dlb-plugin.Dockerfile
Expand Up @@ -56,7 +56,7 @@ FROM ${FINAL_BASE}
COPY --from=builder /install_root /
ENTRYPOINT ["/usr/local/bin/intel_dlb_device_plugin"]
LABEL vendor='Intel®'
LABEL version='devel'
LABEL version='0.27.0'
LABEL release='1'
LABEL name='intel-dlb-plugin'
LABEL summary='Intel® DLB device plugin for Kubernetes'
Expand Down
2 changes: 1 addition & 1 deletion build/docker/intel-dsa-plugin.Dockerfile
Expand Up @@ -56,7 +56,7 @@ FROM ${FINAL_BASE}
COPY --from=builder /install_root /
ENTRYPOINT ["/usr/local/bin/intel_dsa_device_plugin"]
LABEL vendor='Intel®'
LABEL version='devel'
LABEL version='0.27.0'
LABEL release='1'
LABEL name='intel-dsa-plugin'
LABEL summary='Intel® DSA device plugin for Kubernetes'
Expand Down
2 changes: 1 addition & 1 deletion build/docker/intel-fpga-admissionwebhook.Dockerfile
Expand Up @@ -56,7 +56,7 @@ FROM ${FINAL_BASE}
COPY --from=builder /install_root /
ENTRYPOINT ["/usr/local/bin/intel_fpga_admissionwebhook"]
LABEL vendor='Intel®'
LABEL version='devel'
LABEL version='0.27.0'
LABEL release='1'
LABEL name='intel-fpga-admissionwebhook'
LABEL summary='Intel® FPGA admission controller webhook for Kubernetes'
Expand Down
2 changes: 1 addition & 1 deletion build/docker/intel-fpga-initcontainer.Dockerfile
Expand Up @@ -86,7 +86,7 @@ RUN curl -SL https://github.com/landley/toybox/archive/refs/tags/$TOYBOX_VERSION
###
FROM ${FINAL_BASE}
LABEL vendor='Intel®'
LABEL version='devel'
LABEL version='0.27.0'
LABEL release='1'
LABEL name='intel-fpga-initcontainer'
LABEL summary='Intel® FPGA programming CRI hook for Kubernetes'
Expand Down
2 changes: 1 addition & 1 deletion build/docker/intel-fpga-plugin.Dockerfile
Expand Up @@ -56,7 +56,7 @@ FROM ${FINAL_BASE}
COPY --from=builder /install_root /
ENTRYPOINT ["/usr/local/bin/intel_fpga_device_plugin"]
LABEL vendor='Intel®'
LABEL version='devel'
LABEL version='0.27.0'
LABEL release='1'
LABEL name='intel-fpga-plugin'
LABEL summary='Intel® FPGA device plugin for Kubernetes'
Expand Down
2 changes: 1 addition & 1 deletion build/docker/intel-gpu-fakedev.Dockerfile
Expand Up @@ -56,7 +56,7 @@ FROM ${FINAL_BASE}
COPY --from=builder /install_root /
ENTRYPOINT ["/usr/local/bin/intel_gpu_fakedev"]
LABEL vendor='Intel®'
LABEL version='devel'
LABEL version='0.27.0'
LABEL release='1'
LABEL name='intel-gpu-fakedev'
LABEL summary='Fake device file generator for Intel® GPU plugin'
Expand Down
2 changes: 1 addition & 1 deletion build/docker/intel-gpu-initcontainer.Dockerfile
Expand Up @@ -69,7 +69,7 @@ RUN curl -SL https://github.com/landley/toybox/archive/refs/tags/$TOYBOX_VERSION
###
FROM ${FINAL_BASE}
LABEL vendor='Intel®'
LABEL version='devel'
LABEL version='0.27.0'
LABEL release='1'
LABEL name='intel-gpu-initcontainer'
LABEL summary='Intel® GPU NFD hook for Kubernetes'
Expand Down
2 changes: 1 addition & 1 deletion build/docker/intel-gpu-plugin.Dockerfile
Expand Up @@ -56,7 +56,7 @@ FROM ${FINAL_BASE}
COPY --from=builder /install_root /
ENTRYPOINT ["/usr/local/bin/intel_gpu_device_plugin"]
LABEL vendor='Intel®'
LABEL version='devel'
LABEL version='0.27.0'
LABEL release='1'
LABEL name='intel-gpu-plugin'
LABEL summary='Intel® GPU device plugin for Kubernetes'
Expand Down
2 changes: 1 addition & 1 deletion build/docker/intel-iaa-plugin.Dockerfile
Expand Up @@ -56,7 +56,7 @@ FROM ${FINAL_BASE}
COPY --from=builder /install_root /
ENTRYPOINT ["/usr/local/bin/intel_iaa_device_plugin"]
LABEL vendor='Intel®'
LABEL version='devel'
LABEL version='0.27.0'
LABEL release='1'
LABEL name='intel-iaa-plugin'
LABEL summary='Intel® IAA device plugin for Kubernetes'
Expand Down
2 changes: 1 addition & 1 deletion build/docker/intel-qat-initcontainer.Dockerfile
Expand Up @@ -55,7 +55,7 @@ RUN curl -SL https://github.com/landley/toybox/archive/refs/tags/$TOYBOX_VERSION
###
FROM ${FINAL_BASE}
LABEL vendor='Intel®'
LABEL version='devel'
LABEL version='0.27.0'
LABEL release='1'
LABEL name='intel-qat-initcontainer'
LABEL summary='Intel® QAT initcontainer for Kubernetes'
Expand Down
2 changes: 1 addition & 1 deletion build/docker/intel-qat-plugin-kerneldrv.Dockerfile
Expand Up @@ -57,7 +57,7 @@ RUN install -D ${DIR}/LICENSE /install_root/licenses/intel-device-plugins-for-ku
else mkdir -p /install_root/licenses/$CMD/go-licenses/ && cd licenses/$CMD && cp -r * /install_root/licenses/$CMD/go-licenses/ ; fi
FROM debian:unstable-slim
LABEL vendor='Intel®'
LABEL version='devel'
LABEL version='0.27.0'
LABEL release='1'
LABEL name='intel-qat-plugin-kerneldrv'
LABEL summary='Intel® QAT device plugin kerneldrv for Kubernetes'
Expand Down
2 changes: 1 addition & 1 deletion build/docker/intel-qat-plugin.Dockerfile
Expand Up @@ -56,7 +56,7 @@ FROM ${FINAL_BASE}
COPY --from=builder /install_root /
ENTRYPOINT ["/usr/local/bin/intel_qat_device_plugin"]
LABEL vendor='Intel®'
LABEL version='devel'
LABEL version='0.27.0'
LABEL release='1'
LABEL name='intel-qat-plugin'
LABEL summary='Intel® QAT device plugin for Kubernetes'
Expand Down
2 changes: 1 addition & 1 deletion build/docker/intel-sgx-admissionwebhook.Dockerfile
Expand Up @@ -56,7 +56,7 @@ FROM ${FINAL_BASE}
COPY --from=builder /install_root /
ENTRYPOINT ["/usr/local/bin/intel_sgx_admissionwebhook"]
LABEL vendor='Intel®'
LABEL version='devel'
LABEL version='0.27.0'
LABEL release='1'
LABEL name='intel-sgx-admissionwebhook'
LABEL summary='Intel® SGX admission controller webhook for Kubernetes'
Expand Down
2 changes: 1 addition & 1 deletion build/docker/intel-sgx-initcontainer.Dockerfile
Expand Up @@ -69,7 +69,7 @@ RUN curl -SL https://github.com/landley/toybox/archive/refs/tags/$TOYBOX_VERSION
###
FROM ${FINAL_BASE}
LABEL vendor='Intel®'
LABEL version='devel'
LABEL version='0.27.0'
LABEL release='1'
LABEL name='intel-sgx-initcontainer'
LABEL summary='Intel® SGX NFD hook for Kubernetes'
Expand Down
2 changes: 1 addition & 1 deletion build/docker/intel-sgx-plugin.Dockerfile
Expand Up @@ -56,7 +56,7 @@ FROM ${FINAL_BASE}
COPY --from=builder /install_root /
ENTRYPOINT ["/usr/local/bin/intel_sgx_device_plugin"]
LABEL vendor='Intel®'
LABEL version='devel'
LABEL version='0.27.0'
LABEL release='1'
LABEL name='intel-sgx-plugin'
LABEL summary='Intel® SGX device plugin for Kubernetes'
Expand Down
2 changes: 1 addition & 1 deletion build/docker/intel-vpu-plugin.Dockerfile
Expand Up @@ -55,7 +55,7 @@ RUN install -D ${DIR}/LICENSE /install_root/licenses/intel-device-plugins-for-ku
else mkdir -p /install_root/licenses/$CMD/go-licenses/ && cd licenses/$CMD && cp -r * /install_root/licenses/$CMD/go-licenses/ ; fi
FROM debian:unstable-slim
LABEL vendor='Intel®'
LABEL version='devel'
LABEL version='0.27.0'
LABEL release='1'
LABEL name='intel-vpu-plugin'
LABEL summary='Intel® VPU device plugin for Kubernetes'
Expand Down
2 changes: 1 addition & 1 deletion build/docker/intel-xpumanager-sidecar.Dockerfile
Expand Up @@ -56,7 +56,7 @@ FROM ${FINAL_BASE}
COPY --from=builder /install_root /
ENTRYPOINT ["/usr/local/bin/intel_xpumanager_sidecar"]
LABEL vendor='Intel®'
LABEL version='devel'
LABEL version='0.27.0'
LABEL release='1'
LABEL name='intel-xpumanager-sidecar'
LABEL summary='Intel® xpumanager sidecar'
Expand Down
2 changes: 1 addition & 1 deletion build/docker/lib/default_labels.docker
@@ -1,3 +1,3 @@
LABEL vendor='Intel®'
LABEL version='devel'
LABEL version='0.27.0'
LABEL release='1'
4 changes: 2 additions & 2 deletions cmd/sgx_plugin/README.md
Expand Up @@ -19,7 +19,7 @@ Table of Contents
The Intel SGX device plugin and related components allow workloads to use Intel SGX on
platforms with SGX Flexible Launch Control enabled, e.g.,:

- 3rd Generation Intel® Xeon® Scalable Platform, code-named “Ice Lake”
- 3rd/4th Generation Intel® Xeon® Scalable Platforms
- Intel® Xeon® E3
- Intel® NUC Kit NUC7CJYH

Expand Down Expand Up @@ -122,7 +122,7 @@ $ kubectl apply -k 'https://github.com/intel/intel-device-plugins-for-kubernetes
$ kubectl apply -k 'https://github.com/intel/intel-device-plugins-for-kubernetes/deployments/sgx_plugin/overlays/epc-nfd/'
```

The second approach has a lesser deployment footprint. It does not require NFD, but a helper daemonset that creates `sgx.intel.com/capable='true'` node label and advertises EPC capacity to the API server.
The second approach has a lesser deployment footprint. It does not require NFD, but a helper daemonset that creates `sgx.intel.com/capable='true'` node label and advertises EPC capacity directly to the API server.

The following kustomization is used for this approach:
```bash
Expand Down
2 changes: 1 addition & 1 deletion demo/dlb-libdlb-demo-pf-pod.yaml
Expand Up @@ -6,7 +6,7 @@ spec:
restartPolicy: Never
containers:
- name: dlb-libdlb-demo-pf-pod
image: intel/dlb-libdlb-demo:devel
image: intel/dlb-libdlb-demo:0.27.0
imagePullPolicy: IfNotPresent
resources:
limits:
Expand Down
4 changes: 2 additions & 2 deletions demo/dlb-libdlb-demo-pod.yaml
Expand Up @@ -6,7 +6,7 @@ spec:
restartPolicy: Never
containers:
- name: pf
image: intel/dlb-libdlb-demo:devel
image: intel/dlb-libdlb-demo:0.27.0
imagePullPolicy: IfNotPresent
resources:
limits:
Expand All @@ -18,7 +18,7 @@ spec:
cpu: 1
memory: 200Mi
- name: vf
image: intel/dlb-libdlb-demo:devel
image: intel/dlb-libdlb-demo:0.27.0
imagePullPolicy: IfNotPresent
resources:
limits:
Expand Down
2 changes: 1 addition & 1 deletion demo/dlb-libdlb-demo-vf-pod.yaml
Expand Up @@ -6,7 +6,7 @@ spec:
restartPolicy: Never
containers:
- name: dlb-libdlb-demo-vf-pod
image: intel/dlb-libdlb-demo:devel
image: intel/dlb-libdlb-demo:0.27.0
command: [ "sh", "-c", "/usr/local/bin/dir_traffic -n 8 -w epoll -d $(ls /dev/dlb* | sed 's/\\/dev\\/dlb//')" ]
imagePullPolicy: IfNotPresent
resources:
Expand Down
2 changes: 1 addition & 1 deletion demo/dsa-accel-config-demo-pod.yaml
Expand Up @@ -7,7 +7,7 @@ metadata:
spec:
containers:
- name: dsa-accel-config-demo
image: intel/accel-config-demo:devel
image: intel/accel-config-demo:0.27.0
imagePullPolicy: IfNotPresent
resources:
limits:
Expand Down
2 changes: 1 addition & 1 deletion demo/iaa-accel-config-demo-pod.yaml
Expand Up @@ -7,7 +7,7 @@ metadata:
spec:
containers:
- name: iaa-accel-config-demo
image: intel/accel-config-demo:devel
image: intel/accel-config-demo:0.27.0
command: [ "/bin/bash", "-c", "cd /test && /bin/bash -e ./iaa_user_test_runner.sh" ]
imagePullPolicy: IfNotPresent
resources:
Expand Down
2 changes: 1 addition & 1 deletion demo/intelfpga-job.yaml
Expand Up @@ -13,7 +13,7 @@ spec:
restartPolicy: Never
containers:
- name: intelfpga-demo-job-1
image: intel/opae-nlb-demo:devel
image: intel/opae-nlb-demo:0.27.0
imagePullPolicy: IfNotPresent
securityContext:
capabilities:
Expand Down
6 changes: 3 additions & 3 deletions demo/openssl-qat-engine/Dockerfile
@@ -1,10 +1,10 @@
FROM ubuntu:22.04 as builder

ARG QATLIB_VERSION="23.02.0"
ARG QAT_ENGINE_VERSION="v0.6.19"
ARG QAT_ENGINE_VERSION="v1.1.0"
ARG ASYNC_NGINX_VERSION="v0.5.0"
ARG IPSEC_MB_VERSION="v1.3"
ARG IPP_CRYPTO_VERSION="ippcp_2021.7"
ARG IPP_CRYPTO_VERSION="ippcp_2021.7.1"

RUN apt update && \
env DEBIAN_FRONTEND=noninteractive apt install -y \
Expand Down Expand Up @@ -74,7 +74,7 @@ COPY --from=builder /usr/bin/*_sample* /usr/bin/
COPY --from=builder /usr/lib/libqat.so.3.0.3 /usr/lib/
COPY --from=builder /usr/lib/libusdm.so.0.1.0 /usr/lib/
COPY --from=builder /usr/lib64/libIPSec_MB.so.1 /usr/lib/x86_64-linux-gnu/
COPY --from=builder /usr/local/lib/libcrypto_mb.so.11.5 /usr/lib/x86_64-linux-gnu/
COPY --from=builder /usr/local/lib/libcrypto_mb.so.11.6 /usr/lib/x86_64-linux-gnu/
COPY --from=builder /usr/lib/x86_64-linux-gnu/engines-3/qatengine.so /usr/lib/x86_64-linux-gnu/engines-3/qatengine.so
COPY --from=builder /var/www/ /var/www/
COPY --from=builder /usr/lib64/nginx/* /usr/lib64/nginx/
Expand Down
2 changes: 1 addition & 1 deletion demo/test-fpga-orchestrated.yaml
Expand Up @@ -5,7 +5,7 @@ metadata:
spec:
containers:
- name: test-container
image: intel/opae-nlb-demo:devel
image: intel/opae-nlb-demo:0.27.0
imagePullPolicy: IfNotPresent
securityContext:
capabilities:
Expand Down

0 comments on commit f333145

Please sign in to comment.