mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
commit
8267074202
6
Makefile
6
Makefile
@ -46,9 +46,9 @@ endif
|
|||||||
|
|
||||||
test-with-kind:
|
test-with-kind:
|
||||||
@build/docker/build-image.sh intel/intel-fpga-admissionwebhook buildah
|
@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.17.0 docker.io/intel/intel-fpga-admissionwebhook:0.17.0
|
||||||
@mkdir -p $(e2e_tmp_dir)
|
@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.17.0 -o $(e2e_tmp_dir)/$(WEBHOOK_IMAGE_FILE)
|
||||||
@$(KIND) create cluster --name "intel-device-plugins" --kubeconfig $(e2e_tmp_dir)/kubeconfig --image "kindest/node:v1.17.0"
|
@$(KIND) create cluster --name "intel-device-plugins" --kubeconfig $(e2e_tmp_dir)/kubeconfig --image "kindest/node:v1.17.0"
|
||||||
@$(KIND) load image-archive --name "intel-device-plugins" $(e2e_tmp_dir)/$(WEBHOOK_IMAGE_FILE)
|
@$(KIND) load image-archive --name "intel-device-plugins" $(e2e_tmp_dir)/$(WEBHOOK_IMAGE_FILE)
|
||||||
@$(GO) test -v ./test/e2e -args -kubeconfig $(e2e_tmp_dir)/kubeconfig -kubectl-path $(KUBECTL) -ginkgo.focus "Webhook" || rc=1; \
|
@$(GO) test -v ./test/e2e -args -kubeconfig $(e2e_tmp_dir)/kubeconfig -kubectl-path $(KUBECTL) -ginkgo.focus "Webhook" || rc=1; \
|
||||||
@ -71,7 +71,7 @@ clean:
|
|||||||
|
|
||||||
ORG?=intel
|
ORG?=intel
|
||||||
REG?=$(ORG)/
|
REG?=$(ORG)/
|
||||||
TAG?=devel
|
TAG?=0.17.0
|
||||||
export TAG
|
export TAG
|
||||||
|
|
||||||
pre-pull:
|
pre-pull:
|
||||||
|
@ -6,11 +6,11 @@
|
|||||||
#
|
#
|
||||||
# This is used on release branches before tagging a stable version.
|
# This is used on release branches before tagging a stable version.
|
||||||
# The master branch defaults to using the latest Clear Linux.
|
# The master branch defaults to using the latest Clear Linux.
|
||||||
ARG CLEAR_LINUX_BASE=clearlinux/golang:latest
|
ARG CLEAR_LINUX_BASE=clearlinux/golang@sha256:88c32c98c72dab8f5a0760e48c0121d11ee8a962b13b10b362acaa63879a49cb
|
||||||
|
|
||||||
FROM ${CLEAR_LINUX_BASE} as builder
|
FROM ${CLEAR_LINUX_BASE} as builder
|
||||||
|
|
||||||
ARG CLEAR_LINUX_VERSION=
|
ARG CLEAR_LINUX_VERSION="--version=32510"
|
||||||
|
|
||||||
RUN swupd update --no-boot-update ${CLEAR_LINUX_VERSION}
|
RUN swupd update --no-boot-update ${CLEAR_LINUX_VERSION}
|
||||||
|
|
||||||
|
@ -6,11 +6,11 @@
|
|||||||
#
|
#
|
||||||
# This is used on release branches before tagging a stable version.
|
# This is used on release branches before tagging a stable version.
|
||||||
# The master branch defaults to using the latest Clear Linux.
|
# The master branch defaults to using the latest Clear Linux.
|
||||||
ARG CLEAR_LINUX_BASE=clearlinux/golang:latest
|
ARG CLEAR_LINUX_BASE=clearlinux/golang@sha256:88c32c98c72dab8f5a0760e48c0121d11ee8a962b13b10b362acaa63879a49cb
|
||||||
|
|
||||||
FROM ${CLEAR_LINUX_BASE} as builder
|
FROM ${CLEAR_LINUX_BASE} as builder
|
||||||
|
|
||||||
ARG CLEAR_LINUX_VERSION=
|
ARG CLEAR_LINUX_VERSION="--version=32510"
|
||||||
|
|
||||||
RUN swupd update --no-boot-update ${CLEAR_LINUX_VERSION}
|
RUN swupd update --no-boot-update ${CLEAR_LINUX_VERSION}
|
||||||
|
|
||||||
|
@ -6,11 +6,11 @@
|
|||||||
#
|
#
|
||||||
# This is used on release branches before tagging a stable version.
|
# This is used on release branches before tagging a stable version.
|
||||||
# The master branch defaults to using the latest Clear Linux.
|
# The master branch defaults to using the latest Clear Linux.
|
||||||
ARG CLEAR_LINUX_BASE=clearlinux/golang:latest
|
ARG CLEAR_LINUX_BASE=clearlinux/golang@sha256:88c32c98c72dab8f5a0760e48c0121d11ee8a962b13b10b362acaa63879a49cb
|
||||||
|
|
||||||
FROM ${CLEAR_LINUX_BASE} as builder
|
FROM ${CLEAR_LINUX_BASE} as builder
|
||||||
|
|
||||||
ARG CLEAR_LINUX_VERSION=
|
ARG CLEAR_LINUX_VERSION="--version=32510"
|
||||||
|
|
||||||
RUN swupd update --no-boot-update ${CLEAR_LINUX_VERSION}
|
RUN swupd update --no-boot-update ${CLEAR_LINUX_VERSION}
|
||||||
|
|
||||||
|
@ -6,11 +6,11 @@
|
|||||||
#
|
#
|
||||||
# This is used on release branches before tagging a stable version.
|
# This is used on release branches before tagging a stable version.
|
||||||
# The master branch defaults to using the latest Clear Linux.
|
# The master branch defaults to using the latest Clear Linux.
|
||||||
ARG CLEAR_LINUX_BASE=clearlinux/golang:latest
|
ARG CLEAR_LINUX_BASE=clearlinux/golang@sha256:88c32c98c72dab8f5a0760e48c0121d11ee8a962b13b10b362acaa63879a49cb
|
||||||
|
|
||||||
FROM ${CLEAR_LINUX_BASE} as builder
|
FROM ${CLEAR_LINUX_BASE} as builder
|
||||||
|
|
||||||
ARG CLEAR_LINUX_VERSION=
|
ARG CLEAR_LINUX_VERSION="--version=32510"
|
||||||
|
|
||||||
RUN swupd update --no-boot-update ${CLEAR_LINUX_VERSION}
|
RUN swupd update --no-boot-update ${CLEAR_LINUX_VERSION}
|
||||||
|
|
||||||
|
@ -6,11 +6,11 @@
|
|||||||
#
|
#
|
||||||
# This is used on release branches before tagging a stable version.
|
# This is used on release branches before tagging a stable version.
|
||||||
# The master branch defaults to using the latest Clear Linux.
|
# The master branch defaults to using the latest Clear Linux.
|
||||||
ARG CLEAR_LINUX_BASE=clearlinux/golang:latest
|
ARG CLEAR_LINUX_BASE=clearlinux/golang@sha256:88c32c98c72dab8f5a0760e48c0121d11ee8a962b13b10b362acaa63879a49cb
|
||||||
|
|
||||||
FROM ${CLEAR_LINUX_BASE} as builder
|
FROM ${CLEAR_LINUX_BASE} as builder
|
||||||
|
|
||||||
ARG CLEAR_LINUX_VERSION=
|
ARG CLEAR_LINUX_VERSION="--version=32510"
|
||||||
|
|
||||||
RUN swupd update --no-boot-update ${CLEAR_LINUX_VERSION}
|
RUN swupd update --no-boot-update ${CLEAR_LINUX_VERSION}
|
||||||
|
|
||||||
|
@ -6,11 +6,11 @@
|
|||||||
#
|
#
|
||||||
# This is used on release branches before tagging a stable version.
|
# This is used on release branches before tagging a stable version.
|
||||||
# The master branch defaults to using the latest Clear Linux.
|
# The master branch defaults to using the latest Clear Linux.
|
||||||
ARG CLEAR_LINUX_BASE=clearlinux/golang:latest
|
ARG CLEAR_LINUX_BASE=clearlinux/golang@sha256:88c32c98c72dab8f5a0760e48c0121d11ee8a962b13b10b362acaa63879a49cb
|
||||||
FROM ${CLEAR_LINUX_BASE} as builder
|
FROM ${CLEAR_LINUX_BASE} as builder
|
||||||
ARG CLEAR_LINUX_VERSION=
|
ARG CLEAR_LINUX_VERSION="--version=32510"
|
||||||
|
|
||||||
RUN swupd update --no-boot-update
|
RUN swupd update --no-boot-update ${CLEAR_LINUX_VERSION}
|
||||||
RUN swupd bundle-add devpkg-libusb
|
RUN swupd bundle-add devpkg-libusb
|
||||||
RUN mkdir /install_root \
|
RUN mkdir /install_root \
|
||||||
&& swupd os-install \
|
&& swupd os-install \
|
||||||
|
@ -6,11 +6,11 @@
|
|||||||
#
|
#
|
||||||
# This is used on release branches before tagging a stable version.
|
# This is used on release branches before tagging a stable version.
|
||||||
# The master branch defaults to using the latest Clear Linux.
|
# The master branch defaults to using the latest Clear Linux.
|
||||||
ARG CLEAR_LINUX_BASE=clearlinux:latest
|
ARG CLEAR_LINUX_BASE=clearlinux@sha256:29ce14c5df5bb6ef5bbb6f96db701cb3e7f68bb164d85964f763c4fb7058370a
|
||||||
|
|
||||||
FROM ${CLEAR_LINUX_BASE} as builder
|
FROM ${CLEAR_LINUX_BASE} as builder
|
||||||
|
|
||||||
ARG CLEAR_LINUX_VERSION=
|
ARG CLEAR_LINUX_VERSION="--version=32510"
|
||||||
|
|
||||||
RUN mkdir /install_root && \
|
RUN mkdir /install_root && \
|
||||||
swupd os-install \
|
swupd os-install \
|
||||||
|
@ -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:devel
|
image: intel/opae-nlb-demo:0.17.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
securityContext:
|
securityContext:
|
||||||
capabilities:
|
capabilities:
|
||||||
|
@ -6,11 +6,11 @@
|
|||||||
#
|
#
|
||||||
# This is used on release branches before tagging a stable version.
|
# This is used on release branches before tagging a stable version.
|
||||||
# The master branch defaults to using the latest Clear Linux.
|
# The master branch defaults to using the latest Clear Linux.
|
||||||
ARG CLEAR_LINUX_BASE=clearlinux:latest
|
ARG CLEAR_LINUX_BASE=clearlinux@sha256:29ce14c5df5bb6ef5bbb6f96db701cb3e7f68bb164d85964f763c4fb7058370a
|
||||||
|
|
||||||
FROM ${CLEAR_LINUX_BASE} as builder
|
FROM ${CLEAR_LINUX_BASE} as builder
|
||||||
|
|
||||||
ARG CLEAR_LINUX_VERSION=
|
ARG CLEAR_LINUX_VERSION="--version=32510"
|
||||||
|
|
||||||
RUN swupd update --no-boot-update ${CLEAR_LINUX_VERSION} && \
|
RUN swupd update --no-boot-update ${CLEAR_LINUX_VERSION} && \
|
||||||
swupd bundle-add wget c-basic devpkg-json-c devpkg-util-linux devpkg-hwloc doxygen patch
|
swupd bundle-add wget c-basic devpkg-json-c devpkg-util-linux devpkg-hwloc doxygen patch
|
||||||
|
@ -5,7 +5,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: test-container
|
- name: test-container
|
||||||
image: intel/opae-nlb-demo:devel
|
image: intel/opae-nlb-demo:0.17.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
securityContext:
|
securityContext:
|
||||||
capabilities:
|
capabilities:
|
||||||
|
@ -16,7 +16,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: fpga-mutator
|
- name: fpga-mutator
|
||||||
image: intel/intel-fpga-admissionwebhook:devel
|
image: intel/intel-fpga-admissionwebhook:0.17.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8443
|
- containerPort: 8443
|
||||||
|
@ -16,7 +16,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: fpga-mutator
|
- name: fpga-mutator
|
||||||
image: intel/intel-fpga-admissionwebhook:devel
|
image: intel/intel-fpga-admissionwebhook:0.17.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8443
|
- containerPort: 8443
|
||||||
|
@ -17,7 +17,7 @@ spec:
|
|||||||
serviceAccountName: intel-fpga-plugin-controller
|
serviceAccountName: intel-fpga-plugin-controller
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: intel-fpga-initcontainer
|
- name: intel-fpga-initcontainer
|
||||||
image: intel/intel-fpga-initcontainer:devel
|
image: intel/intel-fpga-initcontainer:0.17.0
|
||||||
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:devel
|
image: intel/intel-fpga-plugin:0.17.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
args:
|
args:
|
||||||
- -mode=af
|
- -mode=af
|
||||||
|
@ -17,7 +17,7 @@ spec:
|
|||||||
serviceAccountName: intel-fpga-plugin-controller
|
serviceAccountName: intel-fpga-plugin-controller
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: intel-fpga-initcontainer
|
- name: intel-fpga-initcontainer
|
||||||
image: intel/intel-fpga-initcontainer:devel
|
image: intel/intel-fpga-initcontainer:0.17.0
|
||||||
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:devel
|
image: intel/intel-fpga-plugin:0.17.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
terminationMessagePath: /tmp/termination-log
|
terminationMessagePath: /tmp/termination-log
|
||||||
securityContext:
|
securityContext:
|
||||||
|
@ -20,7 +20,7 @@ spec:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: spec.nodeName
|
fieldPath: spec.nodeName
|
||||||
image: intel/intel-gpu-plugin:devel
|
image: intel/intel-gpu-plugin:0.17.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
|
@ -5,7 +5,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: crypto-perf
|
- name: crypto-perf
|
||||||
image: intel/crypto-perf:devel
|
image: intel/crypto-perf:0.17.0
|
||||||
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;" ]
|
||||||
|
@ -18,7 +18,7 @@ spec:
|
|||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
privileged: true
|
privileged: true
|
||||||
image: intel/intel-qat-plugin:devel
|
image: intel/intel-qat-plugin:0.17.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
args: ["-mode", "kernel"]
|
args: ["-mode", "kernel"]
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
@ -15,7 +15,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: intel-qat-plugin
|
- name: intel-qat-plugin
|
||||||
image: intel/intel-qat-plugin:devel
|
image: intel/intel-qat-plugin:0.17.0
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
env:
|
env:
|
||||||
|
@ -20,7 +20,7 @@ spec:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: spec.nodeName
|
fieldPath: spec.nodeName
|
||||||
image: intel/intel-vpu-plugin:devel
|
image: intel/intel-vpu-plugin:0.17.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
|
Loading…
Reference in New Issue
Block a user