Files
infrastructure/clusters/cl01tl/manifests/generic-device-plugin/DaemonSet-generic-device-plugin.yml

76 lines
2.4 KiB
YAML

---
# Source: generic-device-plugin/charts/generic-device-plugin/templates/common.yaml
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: generic-device-plugin
labels:
app.kubernetes.io/controller: main
app.kubernetes.io/instance: generic-device-plugin
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: generic-device-plugin
app.kubernetes.io/version: 0.20.3
helm.sh/chart: generic-device-plugin-0.20.3
namespace: generic-device-plugin
spec:
revisionHistoryLimit: 3
selector:
matchLabels:
app.kubernetes.io/controller: main
app.kubernetes.io/name: generic-device-plugin
app.kubernetes.io/instance: generic-device-plugin
template:
metadata:
annotations:
checksum/configMaps: 473a15a17751b0c136528e129767f6ed0871ca7522e5a6ccd90d041808571e81
labels:
app.kubernetes.io/controller: main
app.kubernetes.io/instance: generic-device-plugin
app.kubernetes.io/name: generic-device-plugin
spec:
enableServiceLinks: false
serviceAccountName: default
automountServiceAccountToken: true
priorityClassName: system-node-critical
hostIPC: false
hostNetwork: false
hostPID: false
dnsPolicy: ClusterFirst
tolerations:
- effect: NoExecute
operator: Exists
- effect: NoSchedule
operator: Exists
containers:
- args:
- --config=/config/config.yaml
env:
- name: LISTEN
value: :8080
- name: PLUGIN_DIRECTORY
value: /var/lib/kubelet/device-plugins
- name: DOMAIN
value: devic.es
image: ghcr.io/squat/generic-device-plugin:latest@sha256:4896ffd516624d6eb7572e102bc4397e91f8bc3b2fb38b5bfefd758baae3dcf2
imagePullPolicy: Always
name: main
securityContext:
privileged: true
volumeMounts:
- mountPath: /config
name: config
- mountPath: /dev
name: dev
- mountPath: /var/lib/kubelet/device-plugins
name: device-plugins
volumes:
- configMap:
name: generic-device-plugin-config
name: config
- hostPath:
path: /dev
name: dev
- hostPath:
path: /var/lib/kubelet/device-plugins
name: device-plugins