mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
commit
4e12d70a0f
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -142,7 +142,7 @@ pipeline {
|
|||||||
stage('make test-with-kind') {
|
stage('make test-with-kind') {
|
||||||
steps {
|
steps {
|
||||||
dir(path: "$REPO_DIR") {
|
dir(path: "$REPO_DIR") {
|
||||||
sh "make test-with-kind REG=intel/ TAG=0.25.0"
|
sh "make test-with-kind REG=intel/ TAG=0.25.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
2
Makefile
2
Makefile
@ -138,7 +138,7 @@ clean:
|
|||||||
|
|
||||||
ORG?=intel
|
ORG?=intel
|
||||||
REG?=$(ORG)/
|
REG?=$(ORG)/
|
||||||
TAG?=0.25.0
|
TAG?=0.25.1
|
||||||
export TAG
|
export TAG
|
||||||
|
|
||||||
e2e-fpga:
|
e2e-fpga:
|
||||||
|
@ -62,4 +62,4 @@ LABEL summary='Intel® QAT initcontainer for Kubernetes'
|
|||||||
LABEL description='Intel QAT initcontainer initializes devices'
|
LABEL description='Intel QAT initcontainer initializes devices'
|
||||||
COPY --from=builder /install_root /
|
COPY --from=builder /install_root /
|
||||||
COPY demo/qat-init.sh /usr/local/bin/
|
COPY demo/qat-init.sh /usr/local/bin/
|
||||||
ENTRYPOINT ["/usr/local/bin/qat-init.sh"]
|
ENTRYPOINT [ "/bin/bash", "/usr/local/bin/qat-init.sh"]
|
||||||
|
@ -21,4 +21,4 @@ COPY --from=builder /install_root /
|
|||||||
|
|
||||||
COPY demo/qat-init.sh /usr/local/bin/
|
COPY demo/qat-init.sh /usr/local/bin/
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/local/bin/qat-init.sh"]
|
ENTRYPOINT [ "/bin/bash", "/usr/local/bin/qat-init.sh"]
|
||||||
|
@ -463,7 +463,7 @@ func createNumaNodeMappingLabel(mapping map[int][]string) string {
|
|||||||
|
|
||||||
sort.Ints(numas)
|
sort.Ints(numas)
|
||||||
|
|
||||||
for numaNode := range numas {
|
for _, numaNode := range numas {
|
||||||
gpus := mapping[numaNode]
|
gpus := mapping[numaNode]
|
||||||
numaString := strconv.FormatInt(int64(numaNode), 10)
|
numaString := strconv.FormatInt(int64(numaNode), 10)
|
||||||
gpusString := strings.Join(gpus, ".")
|
gpusString := strings.Join(gpus, ".")
|
||||||
|
@ -537,6 +537,42 @@ func getTestCases() []testcase {
|
|||||||
"gpu.intel.com/numa-gpu-map": "0-0_1-1",
|
"gpu.intel.com/numa-gpu-map": "0-0_1-1",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
sysfsdirs: []string{
|
||||||
|
"card0/device/drm/card0",
|
||||||
|
"card1/device/drm/card1",
|
||||||
|
"card1/gt/gt0",
|
||||||
|
},
|
||||||
|
sysfsfiles: map[string][]byte{
|
||||||
|
"card0/device/vendor": []byte("0xfefe"),
|
||||||
|
"card0/device/numa_node": []byte("0"),
|
||||||
|
"card1/device/vendor": []byte("0x8086"),
|
||||||
|
"card1/lmem_total_bytes": []byte("8000"),
|
||||||
|
"card1/device/numa_node": []byte("1"),
|
||||||
|
},
|
||||||
|
name: "successful labeling with one 0x8086 card and numa node info",
|
||||||
|
memoryOverride: 16000000000,
|
||||||
|
capabilityFile: map[string][]byte{
|
||||||
|
"1/i915_capabilities": []byte(
|
||||||
|
"platform: newnew\n" +
|
||||||
|
"gen: 9"),
|
||||||
|
},
|
||||||
|
expectedRetval: nil,
|
||||||
|
expectedLabels: labelMap{
|
||||||
|
"gpu.intel.com/graphics_version": "9",
|
||||||
|
"gpu.intel.com/media_version": "9",
|
||||||
|
"gpu.intel.com/millicores": "1000",
|
||||||
|
"gpu.intel.com/memory.max": "8000",
|
||||||
|
"gpu.intel.com/platform_newnew.count": "1",
|
||||||
|
"gpu.intel.com/platform_newnew.present": "true",
|
||||||
|
"gpu.intel.com/platform_newnew.tiles": "1",
|
||||||
|
"gpu.intel.com/platform_gen": "9",
|
||||||
|
"gpu.intel.com/gpu-numbers": "1",
|
||||||
|
"gpu.intel.com/cards": "card1",
|
||||||
|
"gpu.intel.com/tiles": "1",
|
||||||
|
"gpu.intel.com/numa-gpu-map": "1-1",
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
sysfsdirs: []string{
|
sysfsdirs: []string{
|
||||||
"card0/device/drm/card0",
|
"card0/device/drm/card0",
|
||||||
|
@ -6,7 +6,7 @@ spec:
|
|||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
containers:
|
containers:
|
||||||
- name: dlb-libdlb-demo-pf-pod
|
- name: dlb-libdlb-demo-pf-pod
|
||||||
image: intel/dlb-libdlb-demo:0.25.0
|
image: intel/dlb-libdlb-demo:0.25.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
@ -6,7 +6,7 @@ spec:
|
|||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
containers:
|
containers:
|
||||||
- name: pf
|
- name: pf
|
||||||
image: intel/dlb-libdlb-demo:0.25.0
|
image: intel/dlb-libdlb-demo:0.25.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
@ -18,7 +18,7 @@ spec:
|
|||||||
cpu: 1
|
cpu: 1
|
||||||
memory: 200Mi
|
memory: 200Mi
|
||||||
- name: vf
|
- name: vf
|
||||||
image: intel/dlb-libdlb-demo:0.25.0
|
image: intel/dlb-libdlb-demo:0.25.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
@ -6,7 +6,7 @@ spec:
|
|||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
containers:
|
containers:
|
||||||
- name: dlb-libdlb-demo-vf-pod
|
- name: dlb-libdlb-demo-vf-pod
|
||||||
image: intel/dlb-libdlb-demo:0.25.0
|
image: intel/dlb-libdlb-demo:0.25.1
|
||||||
command: [ "sh", "-c", "/usr/local/bin/dir_traffic -n 8 -w epoll -d $(ls /dev/dlb* | sed 's/\\/dev\\/dlb//')" ]
|
command: [ "sh", "-c", "/usr/local/bin/dir_traffic -n 8 -w epoll -d $(ls /dev/dlb* | sed 's/\\/dev\\/dlb//')" ]
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
resources:
|
resources:
|
||||||
|
@ -7,7 +7,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: dsa-accel-config-demo
|
- name: dsa-accel-config-demo
|
||||||
image: intel/accel-config-demo:0.25.0
|
image: intel/accel-config-demo:0.25.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
@ -7,7 +7,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: iaa-accel-config-demo
|
- name: iaa-accel-config-demo
|
||||||
image: intel/accel-config-demo:0.25.0
|
image: intel/accel-config-demo:0.25.1
|
||||||
command: [ "/bin/bash", "-c", "cd /test && /bin/bash -e ./iaa_user_test_runner.sh" ]
|
command: [ "/bin/bash", "-c", "cd /test && /bin/bash -e ./iaa_user_test_runner.sh" ]
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
resources:
|
resources:
|
||||||
|
@ -13,7 +13,7 @@ spec:
|
|||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
containers:
|
containers:
|
||||||
- name: intelfpga-demo-job-1
|
- name: intelfpga-demo-job-1
|
||||||
image: intel/opae-nlb-demo:0.25.0
|
image: intel/opae-nlb-demo:0.25.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
securityContext:
|
securityContext:
|
||||||
capabilities:
|
capabilities:
|
||||||
|
@ -7,7 +7,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: openssl-qat-engine
|
- name: openssl-qat-engine
|
||||||
image: intel/openssl-qat-engine:0.25.0
|
image: intel/openssl-qat-engine:0.25.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
command: [ "cpa_sample_code", "runTests=4", "signOfLife=1" ]
|
command: [ "cpa_sample_code", "runTests=4", "signOfLife=1" ]
|
||||||
securityContext:
|
securityContext:
|
||||||
|
@ -1,11 +1,17 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh -eu
|
||||||
ENABLED_QAT_PF_PCIIDS=${ENABLED_QAT_PF_PCIIDS:-37c8 4940 4942}
|
ENABLED_QAT_PF_PCIIDS=${ENABLED_QAT_PF_PCIIDS:-37c8 4940 4942}
|
||||||
DEVS=$(for pf in $ENABLED_QAT_PF_PCIIDS; do lspci -n | grep -e "$pf" | grep -o -e "^\\S*"; done)
|
DEVS=$(for pf in $ENABLED_QAT_PF_PCIIDS; do lspci -n | grep -e "$pf" | grep -o -e "^\\S*"; done)
|
||||||
|
|
||||||
for dev in $DEVS; do
|
for dev in $DEVS; do
|
||||||
DEVPATH="/sys/bus/pci/devices/0000:$dev"
|
DEVPATH="/sys/bus/pci/devices/0000:$dev"
|
||||||
NUMVFS="$DEVPATH/sriov_numvfs"
|
NUMVFS="$DEVPATH/sriov_numvfs"
|
||||||
if test -w "$NUMVFS" -a "$(cat "$NUMVFS")" -eq 0 ; then
|
if ! test -w "$NUMVFS"; then
|
||||||
|
echo "error: $NUMVFS is not found or not writable. Check if QAT driver module is loaded"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
if [ "$(cat "$NUMVFS")" -ne 0 ]; then
|
||||||
|
echo "$DEVPATH already configured"
|
||||||
|
else
|
||||||
tee "$NUMVFS" < "$DEVPATH/sriov_totalvfs"
|
tee "$NUMVFS" < "$DEVPATH/sriov_totalvfs"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -5,7 +5,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: test-container
|
- name: test-container
|
||||||
image: intel/opae-nlb-demo:0.25.0
|
image: intel/opae-nlb-demo:0.25.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
securityContext:
|
securityContext:
|
||||||
capabilities:
|
capabilities:
|
||||||
|
@ -5,7 +5,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: test-container
|
- name: test-container
|
||||||
image: intel/opae-nlb-demo:0.25.0
|
image: intel/opae-nlb-demo:0.25.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
securityContext:
|
securityContext:
|
||||||
capabilities:
|
capabilities:
|
||||||
|
@ -21,7 +21,7 @@ spec:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: spec.nodeName
|
fieldPath: spec.nodeName
|
||||||
image: intel/intel-dlb-plugin:0.25.0
|
image: intel/intel-dlb-plugin:0.25.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
|
@ -7,7 +7,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: intel-dlb-initcontainer
|
- name: intel-dlb-initcontainer
|
||||||
image: intel/intel-dlb-initcontainer:0.25.0
|
image: intel/intel-dlb-initcontainer:0.25.1
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
privileged: true
|
privileged: true
|
||||||
|
@ -21,7 +21,7 @@ spec:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: spec.nodeName
|
fieldPath: spec.nodeName
|
||||||
image: intel/intel-dsa-plugin:0.25.0
|
image: intel/intel-dsa-plugin:0.25.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
|
@ -12,7 +12,7 @@ spec:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: spec.nodeName
|
fieldPath: spec.nodeName
|
||||||
image: intel/intel-idxd-config-initcontainer:0.25.0
|
image: intel/intel-idxd-config-initcontainer:0.25.1
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
privileged: true
|
privileged: true
|
||||||
|
@ -16,7 +16,7 @@ spec:
|
|||||||
control-plane: controller-manager
|
control-plane: controller-manager
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: intel/intel-fpga-admissionwebhook:0.25.0
|
- image: intel/intel-fpga-admissionwebhook:0.25.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
name: manager
|
name: manager
|
||||||
securityContext:
|
securityContext:
|
||||||
|
@ -16,7 +16,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: intel-fpga-initcontainer
|
- name: intel-fpga-initcontainer
|
||||||
image: intel/intel-fpga-initcontainer:0.25.0
|
image: intel/intel-fpga-initcontainer:0.25.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
@ -33,7 +33,7 @@ spec:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: spec.nodeName
|
fieldPath: spec.nodeName
|
||||||
image: intel/intel-fpga-plugin:0.25.0
|
image: intel/intel-fpga-plugin:0.25.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
args:
|
args:
|
||||||
- -mode=af
|
- -mode=af
|
||||||
|
@ -15,7 +15,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: intel-gpu-initcontainer
|
- name: intel-gpu-initcontainer
|
||||||
image: intel/intel-gpu-initcontainer:0.25.0
|
image: intel/intel-gpu-initcontainer:0.25.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
securityContext:
|
securityContext:
|
||||||
seLinuxOptions:
|
seLinuxOptions:
|
||||||
@ -32,7 +32,7 @@ spec:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: spec.nodeName
|
fieldPath: spec.nodeName
|
||||||
image: intel/intel-gpu-plugin:0.25.0
|
image: intel/intel-gpu-plugin:0.25.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
securityContext:
|
securityContext:
|
||||||
seLinuxOptions:
|
seLinuxOptions:
|
||||||
|
@ -21,7 +21,7 @@ spec:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: spec.nodeName
|
fieldPath: spec.nodeName
|
||||||
image: intel/intel-iaa-plugin:0.25.0
|
image: intel/intel-iaa-plugin:0.25.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
|
@ -14,7 +14,7 @@ spec:
|
|||||||
fieldPath: spec.nodeName
|
fieldPath: spec.nodeName
|
||||||
- name: IDXD_DEVICE_TYPE
|
- name: IDXD_DEVICE_TYPE
|
||||||
value: "iax"
|
value: "iax"
|
||||||
image: intel/intel-idxd-config-initcontainer:0.25.0
|
image: intel/intel-idxd-config-initcontainer:0.25.1
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
privileged: true
|
privileged: true
|
||||||
|
@ -10,11 +10,12 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: kube-rbac-proxy
|
- name: kube-rbac-proxy
|
||||||
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0
|
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.13.1
|
||||||
args:
|
args:
|
||||||
- "--secure-listen-address=0.0.0.0:8443"
|
- "--secure-listen-address=0.0.0.0:8443"
|
||||||
- "--upstream=http://127.0.0.1:8080/"
|
- "--upstream=http://127.0.0.1:8080/"
|
||||||
- "--logtostderr=true"
|
- "--logtostderr=true"
|
||||||
|
- "--tls-cipher-suites=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305"
|
||||||
- "--v=10"
|
- "--v=10"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8443
|
- containerPort: 8443
|
||||||
|
@ -23,7 +23,7 @@ spec:
|
|||||||
control-plane: controller-manager
|
control-plane: controller-manager
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: intel/intel-deviceplugin-operator:0.25.0
|
- image: intel/intel-deviceplugin-operator:0.25.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
name: manager
|
name: manager
|
||||||
resources:
|
resources:
|
||||||
|
@ -5,7 +5,7 @@ metadata:
|
|||||||
alm-examples: '[]'
|
alm-examples: '[]'
|
||||||
capabilities: Seamless Upgrades
|
capabilities: Seamless Upgrades
|
||||||
categories: Drivers and plugins
|
categories: Drivers and plugins
|
||||||
containerImage: intel/intel-deviceplugin-operator:0.25.0
|
containerImage: intel/intel-deviceplugin-operator:0.25.1
|
||||||
createdAt: "2022-05-20"
|
createdAt: "2022-05-20"
|
||||||
description: This operator is a Kubernetes custom controller whose goal is to
|
description: This operator is a Kubernetes custom controller whose goal is to
|
||||||
serve the installation and lifecycle management of Intel device plugins for
|
serve the installation and lifecycle management of Intel device plugins for
|
||||||
|
@ -9,8 +9,8 @@ metadata:
|
|||||||
# annotations:
|
# annotations:
|
||||||
# container.apparmor.security.beta.kubernetes.io/intel-dlb-plugin: unconfined
|
# container.apparmor.security.beta.kubernetes.io/intel-dlb-plugin: unconfined
|
||||||
spec:
|
spec:
|
||||||
image: intel/intel-dlb-plugin:0.25.0
|
image: intel/intel-dlb-plugin:0.25.1
|
||||||
initImage: intel/intel-dlb-initcontainer:0.25.0
|
initImage: intel/intel-dlb-initcontainer:0.25.1
|
||||||
logLevel: 4
|
logLevel: 4
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
intel.feature.node.kubernetes.io/dlb: 'true'
|
intel.feature.node.kubernetes.io/dlb: 'true'
|
||||||
|
@ -3,7 +3,7 @@ kind: DsaDevicePlugin
|
|||||||
metadata:
|
metadata:
|
||||||
name: dsadeviceplugin-sample
|
name: dsadeviceplugin-sample
|
||||||
spec:
|
spec:
|
||||||
image: intel/intel-dsa-plugin:0.25.0
|
image: intel/intel-dsa-plugin:0.25.1
|
||||||
sharedDevNum: 10
|
sharedDevNum: 10
|
||||||
logLevel: 4
|
logLevel: 4
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
|
@ -3,8 +3,8 @@ kind: FpgaDevicePlugin
|
|||||||
metadata:
|
metadata:
|
||||||
name: fpgadeviceplugin-sample
|
name: fpgadeviceplugin-sample
|
||||||
spec:
|
spec:
|
||||||
image: intel/intel-fpga-plugin:0.25.0
|
image: intel/intel-fpga-plugin:0.25.1
|
||||||
initImage: intel/intel-fpga-initcontainer:0.25.0
|
initImage: intel/intel-fpga-initcontainer:0.25.1
|
||||||
mode: region
|
mode: region
|
||||||
logLevel: 4
|
logLevel: 4
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
|
@ -3,8 +3,8 @@ kind: GpuDevicePlugin
|
|||||||
metadata:
|
metadata:
|
||||||
name: gpudeviceplugin-sample
|
name: gpudeviceplugin-sample
|
||||||
spec:
|
spec:
|
||||||
image: intel/intel-gpu-plugin:0.25.0
|
image: intel/intel-gpu-plugin:0.25.1
|
||||||
initImage: intel/intel-gpu-initcontainer:0.25.0
|
initImage: intel/intel-gpu-initcontainer:0.25.1
|
||||||
sharedDevNum: 10
|
sharedDevNum: 10
|
||||||
logLevel: 4
|
logLevel: 4
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
|
@ -3,7 +3,7 @@ kind: IaaDevicePlugin
|
|||||||
metadata:
|
metadata:
|
||||||
name: iaadeviceplugin-sample
|
name: iaadeviceplugin-sample
|
||||||
spec:
|
spec:
|
||||||
image: intel/intel-iaa-plugin:0.25.0
|
image: intel/intel-iaa-plugin:0.25.1
|
||||||
sharedDevNum: 10
|
sharedDevNum: 10
|
||||||
logLevel: 4
|
logLevel: 4
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
|
@ -9,8 +9,8 @@ metadata:
|
|||||||
# annotations:
|
# annotations:
|
||||||
# container.apparmor.security.beta.kubernetes.io/intel-qat-plugin: unconfined
|
# container.apparmor.security.beta.kubernetes.io/intel-qat-plugin: unconfined
|
||||||
spec:
|
spec:
|
||||||
image: intel/intel-qat-plugin:0.25.0
|
image: intel/intel-qat-plugin:0.25.1
|
||||||
initImage: intel/intel-qat-initcontainer:0.25.0
|
initImage: intel/intel-qat-initcontainer:0.25.1
|
||||||
dpdkDriver: vfio-pci
|
dpdkDriver: vfio-pci
|
||||||
kernelVfDrivers:
|
kernelVfDrivers:
|
||||||
- c6xxvf
|
- c6xxvf
|
||||||
|
@ -3,8 +3,8 @@ kind: SgxDevicePlugin
|
|||||||
metadata:
|
metadata:
|
||||||
name: sgxdeviceplugin-sample
|
name: sgxdeviceplugin-sample
|
||||||
spec:
|
spec:
|
||||||
image: intel/intel-sgx-plugin:0.25.0
|
image: intel/intel-sgx-plugin:0.25.1
|
||||||
initImage: intel/intel-sgx-initcontainer:0.25.0
|
initImage: intel/intel-sgx-initcontainer:0.25.1
|
||||||
enclaveLimit: 110
|
enclaveLimit: 110
|
||||||
provisionLimit: 110
|
provisionLimit: 110
|
||||||
logLevel: 4
|
logLevel: 4
|
||||||
|
@ -5,7 +5,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: crypto-perf
|
- name: crypto-perf
|
||||||
image: intel/crypto-perf:0.25.0
|
image: intel/crypto-perf:0.25.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
command: [ "/bin/bash", "-c", "--" ]
|
command: [ "/bin/bash", "-c", "--" ]
|
||||||
args: [ "while true; do sleep 300000; done;" ]
|
args: [ "while true; do sleep 300000; done;" ]
|
||||||
|
@ -19,7 +19,7 @@ spec:
|
|||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
privileged: true
|
privileged: true
|
||||||
image: intel/intel-qat-plugin:0.25.0
|
image: intel/intel-qat-plugin:0.25.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
args: ["-mode", "kernel"]
|
args: ["-mode", "kernel"]
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
@ -16,7 +16,7 @@ spec:
|
|||||||
automountServiceAccountToken: false
|
automountServiceAccountToken: false
|
||||||
containers:
|
containers:
|
||||||
- name: intel-qat-plugin
|
- name: intel-qat-plugin
|
||||||
image: intel/intel-qat-plugin:0.25.0
|
image: intel/intel-qat-plugin:0.25.1
|
||||||
securityContext:
|
securityContext:
|
||||||
seLinuxOptions:
|
seLinuxOptions:
|
||||||
type: "container_device_plugin_t"
|
type: "container_device_plugin_t"
|
||||||
|
@ -7,7 +7,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: sriov-numvfs
|
- name: sriov-numvfs
|
||||||
image: intel/intel-qat-initcontainer:0.25.0
|
image: intel/intel-qat-initcontainer:0.25.1
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
privileged: true
|
privileged: true
|
||||||
|
@ -16,7 +16,7 @@ spec:
|
|||||||
control-plane: controller-manager
|
control-plane: controller-manager
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: intel/intel-sgx-admissionwebhook:0.25.0
|
- image: intel/intel-sgx-admissionwebhook:0.25.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
name: manager
|
name: manager
|
||||||
securityContext:
|
securityContext:
|
||||||
|
@ -16,7 +16,7 @@ spec:
|
|||||||
automountServiceAccountToken: false
|
automountServiceAccountToken: false
|
||||||
containers:
|
containers:
|
||||||
- name: intel-sgx-plugin
|
- name: intel-sgx-plugin
|
||||||
image: intel/intel-sgx-plugin:0.25.0
|
image: intel/intel-sgx-plugin:0.25.1
|
||||||
securityContext:
|
securityContext:
|
||||||
seLinuxOptions:
|
seLinuxOptions:
|
||||||
type: "container_device_plugin_t"
|
type: "container_device_plugin_t"
|
||||||
|
@ -7,7 +7,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: intel-sgx-initcontainer
|
- name: intel-sgx-initcontainer
|
||||||
image: intel/intel-sgx-initcontainer:0.25.0
|
image: intel/intel-sgx-initcontainer:0.25.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
|
@ -7,7 +7,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: intel-sgx-initcontainer
|
- name: intel-sgx-initcontainer
|
||||||
image: intel/intel-sgx-initcontainer:0.25.0
|
image: intel/intel-sgx-initcontainer:0.25.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
|
@ -16,7 +16,7 @@ spec:
|
|||||||
serviceAccountName: sgx-plugin
|
serviceAccountName: sgx-plugin
|
||||||
containers:
|
containers:
|
||||||
- name: sgx-node-init
|
- name: sgx-node-init
|
||||||
image: intel/intel-sgx-initcontainer:0.25.0
|
image: intel/intel-sgx-initcontainer:0.25.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
command:
|
command:
|
||||||
- /usr/local/bin/sgx-sw/intel-sgx-epchook
|
- /usr/local/bin/sgx-sw/intel-sgx-epchook
|
||||||
|
@ -21,7 +21,7 @@ spec:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: spec.nodeName
|
fieldPath: spec.nodeName
|
||||||
image: intel/intel-vpu-plugin:0.25.0
|
image: intel/intel-vpu-plugin:0.25.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
|
@ -181,7 +181,7 @@ func TestNewDaemonSetFPGA(t *testing.T) {
|
|||||||
|
|
||||||
plugin := &devicepluginv1.FpgaDevicePlugin{
|
plugin := &devicepluginv1.FpgaDevicePlugin{
|
||||||
Spec: devicepluginv1.FpgaDevicePluginSpec{
|
Spec: devicepluginv1.FpgaDevicePluginSpec{
|
||||||
InitImage: "intel/intel-fpga-initcontainer:0.25.0",
|
InitImage: "intel/intel-fpga-initcontainer:0.25.1",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -189,7 +189,7 @@ func TestNewDamonSetGPU(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if tc.isInitImage {
|
if tc.isInitImage {
|
||||||
plugin.Spec.InitImage = "intel/intel-gpu-initcontainer:0.25.0"
|
plugin.Spec.InitImage = "intel/intel-gpu-initcontainer:0.25.1"
|
||||||
}
|
}
|
||||||
|
|
||||||
t.Run(tc.name, func(t *testing.T) {
|
t.Run(tc.name, func(t *testing.T) {
|
||||||
|
@ -37,7 +37,7 @@ import (
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
bKeeper = &bookKeeper{}
|
bKeeper = &bookKeeper{}
|
||||||
ImageMinVersion = versionutil.MustParseSemantic("0.25.0")
|
ImageMinVersion = versionutil.MustParseSemantic("0.25.1")
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
@ -101,7 +101,7 @@ func runTestCase(fmw *framework.Framework, pluginKustomizationPath, mappingsColl
|
|||||||
}
|
}
|
||||||
|
|
||||||
resource = v1.ResourceName(podResource)
|
resource = v1.ResourceName(podResource)
|
||||||
image := "intel/opae-nlb-demo:0.25.0"
|
image := "intel/opae-nlb-demo:0.25.1"
|
||||||
|
|
||||||
ginkgo.By("submitting a pod requesting correct FPGA resources")
|
ginkgo.By("submitting a pod requesting correct FPGA resources")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user