From 89965748902b71b97d16146e3c88b5897d2b6075 Mon Sep 17 00:00:00 2001 From: t1ger Date: Mon, 10 May 2021 10:25:26 +0800 Subject: [PATCH] Update hostdev-plugin-ds.yaml fix: change api version to k8s v1.17.4 and add selector --- hostdev-plugin-ds.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hostdev-plugin-ds.yaml b/hostdev-plugin-ds.yaml index cd7c70e..479cc1f 100644 --- a/hostdev-plugin-ds.yaml +++ b/hostdev-plugin-ds.yaml @@ -1,9 +1,12 @@ -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: DaemonSet metadata: name: hostdev-device-plugin namespace: kube-system spec: + selector: + matchLabels: + name: hostdev-device-plugin-ds template: metadata: annotations: