mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00

In preparations to get some of the images to hub.docker.com/intel, start using intel/ prefix. Moreover, set the Makefile variables so that the images built by make [images|demos] can easily be pushed to any registry/org by 'docker push' (e.g., by Jenkins). Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
43 lines
965 B
YAML
43 lines
965 B
YAML
apiVersion: apps/v1
|
|
kind: DaemonSet
|
|
metadata:
|
|
name: intel-gpu-plugin
|
|
namespace: kube-system
|
|
labels:
|
|
app: intel-gpu-plugin
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: intel-gpu-plugin
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: intel-gpu-plugin
|
|
spec:
|
|
containers:
|
|
- name: intel-gpu-plugin
|
|
env:
|
|
- name: NODE_NAME
|
|
valueFrom:
|
|
fieldRef:
|
|
fieldPath: spec.nodeName
|
|
image: intel/intel-gpu-plugin:devel
|
|
imagePullPolicy: IfNotPresent
|
|
volumeMounts:
|
|
- name: devfs
|
|
mountPath: /dev
|
|
- name: sysfs
|
|
mountPath: /sys
|
|
- name: kubeletsockets
|
|
mountPath: /var/lib/kubelet/device-plugins
|
|
volumes:
|
|
- name: devfs
|
|
hostPath:
|
|
path: /dev
|
|
- name: sysfs
|
|
hostPath:
|
|
path: /sys
|
|
- name: kubeletsockets
|
|
hostPath:
|
|
path: /var/lib/kubelet/device-plugins
|