mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
commit
9a5c99548b
12
.github/workflows/publish.yml
vendored
12
.github/workflows/publish.yml
vendored
@ -6,6 +6,7 @@ on:
|
||||
- main
|
||||
- release-0.19
|
||||
- release-0.20
|
||||
- release-0.21
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -60,6 +61,17 @@ jobs:
|
||||
rm -rf _work/venv
|
||||
make vhtml
|
||||
mv _build/html $HOME/output/0.20
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ref: release-0.21
|
||||
- name: Build release-0.21
|
||||
run: |
|
||||
GITHUB_SHA=$(git rev-parse HEAD)
|
||||
export GITHUB_SHA
|
||||
rm -rf _work/venv
|
||||
make vhtml
|
||||
mv _build/html $HOME/output/0.21
|
||||
- name: Deploy the docs
|
||||
shell: bash
|
||||
env:
|
||||
|
6
Makefile
6
Makefile
@ -58,9 +58,9 @@ endif
|
||||
|
||||
test-with-kind:
|
||||
@build/docker/build-image.sh intel/intel-fpga-admissionwebhook buildah
|
||||
@$(PODMAN) tag localhost/intel/intel-fpga-admissionwebhook:devel docker.io/intel/intel-fpga-admissionwebhook:devel
|
||||
@$(PODMAN) tag localhost/intel/intel-fpga-admissionwebhook:0.21.0 docker.io/intel/intel-fpga-admissionwebhook:0.21.0
|
||||
@mkdir -p $(e2e_tmp_dir)
|
||||
@$(PODMAN) save "docker.io/intel/intel-fpga-admissionwebhook:devel" -o $(e2e_tmp_dir)/$(WEBHOOK_IMAGE_FILE)
|
||||
@$(PODMAN) save "docker.io/intel/intel-fpga-admissionwebhook:0.21.0" -o $(e2e_tmp_dir)/$(WEBHOOK_IMAGE_FILE)
|
||||
@$(KIND) create cluster --name "intel-device-plugins" --kubeconfig $(e2e_tmp_dir)/kubeconfig --image "kindest/node:v1.19.0"
|
||||
@$(KIND) load image-archive --name "intel-device-plugins" $(e2e_tmp_dir)/$(WEBHOOK_IMAGE_FILE)
|
||||
$(KUBECTL) --kubeconfig=$(e2e_tmp_dir)/kubeconfig apply -f https://github.com/jetstack/cert-manager/releases/download/v1.3.1/cert-manager.yaml
|
||||
@ -118,7 +118,7 @@ clean:
|
||||
|
||||
ORG?=intel
|
||||
REG?=$(ORG)/
|
||||
TAG?=devel
|
||||
TAG?=0.21.0
|
||||
export TAG
|
||||
|
||||
pre-pull:
|
||||
|
@ -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 utilising that framework.
|
||||
|
||||
The [v0.20 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.20/).
|
||||
The [v0.21 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.21/).
|
||||
|
||||
Table of Contents
|
||||
|
||||
@ -253,6 +253,7 @@ matching Kubernetes versions are listed below:
|
||||
|
||||
| Branch | Kubernetes branch/version | Status |
|
||||
|:------------------|:-------------------------------|:------------|
|
||||
| release-0.21 | Kubernetes 1.21 branch v1.21.x | supported |
|
||||
| release-0.20 | Kubernetes 1.20 branch v1.20.x | supported |
|
||||
| release-0.19 | Kubernetes 1.19 branch v1.19.x | supported |
|
||||
| release-0.18 | Kubernetes 1.18 branch v1.18.x | unsupported |
|
||||
|
@ -6,11 +6,11 @@
|
||||
#
|
||||
# This is used on release branches before tagging a stable version.
|
||||
# The main branch defaults to using the latest Clear Linux.
|
||||
ARG CLEAR_LINUX_BASE=clearlinux:latest
|
||||
ARG CLEAR_LINUX_BASE=clearlinux@sha256:2e600dc800b74f3af7ed9d6951340bcd1e4c113d43da001da63e4db7c053b191
|
||||
|
||||
FROM ${CLEAR_LINUX_BASE} as builder
|
||||
|
||||
ARG CLEAR_LINUX_VERSION=
|
||||
ARG CLEAR_LINUX_VERSION="--version=34740"
|
||||
|
||||
RUN mkdir /install_root && \
|
||||
swupd os-install \
|
||||
|
@ -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.21.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
capabilities:
|
||||
|
@ -6,11 +6,11 @@
|
||||
#
|
||||
# This is used on release branches before tagging a stable version.
|
||||
# The main branch defaults to using the latest Clear Linux.
|
||||
ARG CLEAR_LINUX_BASE=clearlinux:latest
|
||||
ARG CLEAR_LINUX_BASE=clearlinux@sha256:2e600dc800b74f3af7ed9d6951340bcd1e4c113d43da001da63e4db7c053b191
|
||||
|
||||
FROM ${CLEAR_LINUX_BASE} as builder
|
||||
|
||||
ARG CLEAR_LINUX_VERSION=
|
||||
ARG CLEAR_LINUX_VERSION="--version=34740"
|
||||
|
||||
RUN swupd update --no-boot-update ${CLEAR_LINUX_VERSION} && \
|
||||
swupd bundle-add wget c-basic devpkg-json-c devpkg-util-linux devpkg-hwloc devpkg-tbb git
|
||||
|
@ -5,7 +5,7 @@ metadata:
|
||||
spec:
|
||||
containers:
|
||||
- name: test-container
|
||||
image: intel/opae-nlb-demo:devel
|
||||
image: intel/opae-nlb-demo:0.21.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
capabilities:
|
||||
|
@ -5,7 +5,7 @@ metadata:
|
||||
spec:
|
||||
containers:
|
||||
- name: test-container
|
||||
image: intel/opae-nlb-demo:devel
|
||||
image: intel/opae-nlb-demo:0.21.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
capabilities:
|
||||
|
@ -20,7 +20,7 @@ spec:
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: spec.nodeName
|
||||
image: intel/intel-dsa-plugin:devel
|
||||
image: intel/intel-dsa-plugin:0.21.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
|
@ -16,7 +16,7 @@ spec:
|
||||
control-plane: controller-manager
|
||||
spec:
|
||||
containers:
|
||||
- image: intel/intel-fpga-admissionwebhook:devel
|
||||
- image: intel/intel-fpga-admissionwebhook:0.21.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: manager
|
||||
securityContext:
|
||||
|
@ -21,7 +21,7 @@ spec:
|
||||
spec:
|
||||
initContainers:
|
||||
- name: intel-fpga-initcontainer
|
||||
image: intel/intel-fpga-initcontainer:devel
|
||||
image: intel/intel-fpga-initcontainer:0.21.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
@ -37,7 +37,7 @@ spec:
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: spec.nodeName
|
||||
image: intel/intel-fpga-plugin:devel
|
||||
image: intel/intel-fpga-plugin:0.21.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
args:
|
||||
- -mode=af
|
||||
|
@ -15,7 +15,7 @@ spec:
|
||||
spec:
|
||||
initContainers:
|
||||
- name: intel-gpu-initcontainer
|
||||
image: intel/intel-gpu-initcontainer:devel
|
||||
image: intel/intel-gpu-initcontainer:0.21.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
@ -29,7 +29,7 @@ spec:
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: spec.nodeName
|
||||
image: intel/intel-gpu-plugin:devel
|
||||
image: intel/intel-gpu-plugin:0.21.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
|
@ -9,5 +9,4 @@ spec:
|
||||
- name: intel-gpu-plugin
|
||||
args:
|
||||
- "-shared-dev-num=300"
|
||||
- "-enable-monitoring"
|
||||
- "-resource-manager"
|
||||
|
@ -23,7 +23,7 @@ spec:
|
||||
control-plane: controller-manager
|
||||
spec:
|
||||
containers:
|
||||
- image: intel/intel-deviceplugin-operator:devel
|
||||
- image: intel/intel-deviceplugin-operator:0.21.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: manager
|
||||
resources:
|
||||
|
@ -3,6 +3,6 @@ kind: DsaDevicePlugin
|
||||
metadata:
|
||||
name: dsadeviceplugin-sample
|
||||
spec:
|
||||
image: intel/intel-dsa-plugin:0.20.0
|
||||
image: intel/intel-dsa-plugin:0.21.0
|
||||
sharedDevNum: 10
|
||||
logLevel: 4
|
||||
|
@ -3,8 +3,8 @@ kind: FpgaDevicePlugin
|
||||
metadata:
|
||||
name: fpgadeviceplugin-sample
|
||||
spec:
|
||||
image: intel/intel-fpga-plugin:0.20.0
|
||||
initImage: intel/intel-fpga-initcontainer:0.20.0
|
||||
image: intel/intel-fpga-plugin:0.21.0
|
||||
initImage: intel/intel-fpga-initcontainer:0.21.0
|
||||
mode: region
|
||||
logLevel: 4
|
||||
nodeSelector:
|
||||
|
@ -3,8 +3,8 @@ kind: GpuDevicePlugin
|
||||
metadata:
|
||||
name: gpudeviceplugin-sample
|
||||
spec:
|
||||
image: intel/intel-gpu-plugin:0.20.0
|
||||
initImage: intel/intel-gpu-initcontainer:0.20.0
|
||||
image: intel/intel-gpu-plugin:0.21.0
|
||||
initImage: intel/intel-gpu-initcontainer:0.21.0
|
||||
sharedDevNum: 10
|
||||
logLevel: 4
|
||||
nodeSelector:
|
||||
|
@ -3,7 +3,7 @@ kind: QatDevicePlugin
|
||||
metadata:
|
||||
name: qatdeviceplugin-sample
|
||||
spec:
|
||||
image: intel/intel-qat-plugin:0.20.0
|
||||
image: intel/intel-qat-plugin:0.21.0
|
||||
dpdkDriver: vfio-pci
|
||||
kernelVfDrivers:
|
||||
- c6xxvf
|
||||
|
@ -3,8 +3,8 @@ kind: SgxDevicePlugin
|
||||
metadata:
|
||||
name: sgxdeviceplugin-sample
|
||||
spec:
|
||||
image: intel/intel-sgx-plugin:0.20.0
|
||||
initImage: intel/intel-sgx-initcontainer:0.20.0
|
||||
image: intel/intel-sgx-plugin:0.21.0
|
||||
initImage: intel/intel-sgx-initcontainer:0.21.0
|
||||
enclaveLimit: 110
|
||||
provisionLimit: 110
|
||||
logLevel: 4
|
||||
|
@ -5,7 +5,7 @@ metadata:
|
||||
spec:
|
||||
containers:
|
||||
- name: crypto-perf
|
||||
image: intel/crypto-perf:devel
|
||||
image: intel/crypto-perf:0.21.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
command: [ "/bin/bash", "-c", "--" ]
|
||||
args: [ "while true; do sleep 300000; done;" ]
|
||||
|
@ -18,7 +18,7 @@ spec:
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
privileged: true
|
||||
image: intel/intel-qat-plugin:devel
|
||||
image: intel/intel-qat-plugin:0.21.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
args: ["-mode", "kernel"]
|
||||
volumeMounts:
|
||||
|
@ -15,7 +15,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: intel-qat-plugin
|
||||
image: intel/intel-qat-plugin:devel
|
||||
image: intel/intel-qat-plugin:0.21.0
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
env:
|
||||
|
@ -16,7 +16,7 @@ spec:
|
||||
control-plane: controller-manager
|
||||
spec:
|
||||
containers:
|
||||
- image: intel/intel-sgx-admissionwebhook:devel
|
||||
- image: intel/intel-sgx-admissionwebhook:0.21.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: manager
|
||||
securityContext:
|
||||
|
@ -15,7 +15,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: intel-sgx-plugin
|
||||
image: intel/intel-sgx-plugin:devel
|
||||
image: intel/intel-sgx-plugin:0.21.0
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
imagePullPolicy: IfNotPresent
|
||||
|
@ -7,7 +7,7 @@ spec:
|
||||
spec:
|
||||
initContainers:
|
||||
- name: intel-sgx-initcontainer
|
||||
image: intel/intel-sgx-initcontainer:devel
|
||||
image: intel/intel-sgx-initcontainer:0.21.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
|
@ -16,7 +16,7 @@ spec:
|
||||
serviceAccountName: sgx-plugin
|
||||
containers:
|
||||
- name: sgx-node-init
|
||||
image: intel/intel-sgx-initcontainer:devel
|
||||
image: intel/intel-sgx-initcontainer:0.21.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
command:
|
||||
- /usr/local/bin/sgx-sw/intel-sgx-epchook
|
||||
|
@ -20,7 +20,7 @@ spec:
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: spec.nodeName
|
||||
image: intel/intel-vpu-plugin:devel
|
||||
image: intel/intel-vpu-plugin:0.21.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
|
Loading…
Reference in New Issue
Block a user