diff --git a/kubernetes/apps/kube-system/node-feature-discovery/rules/googlecoral.yaml b/kubernetes/apps/kube-system/node-feature-discovery/rules/googlecoral.yaml new file mode 100644 index 00000000..c492f9eb --- /dev/null +++ b/kubernetes/apps/kube-system/node-feature-discovery/rules/googlecoral.yaml @@ -0,0 +1,16 @@ +--- +# yaml-language-server: $schema=https://ks.hsn.dev/nfd.k8s-sigs.io/nodefeaturerule_v1alpha1.json +apiVersion: nfd.k8s-sigs.io/v1alpha1 +kind: NodeFeatureRule +metadata: + name: google-coral-device +spec: + rules: + - # Google Coral USB Accelerator + name: google.coral + labels: + google.feature.node.kubernetes.io/coral: "true" + matchFeatures: + - feature: usb.device + matchExpressions: + vendor: {op: In, value: ["1a6e", "18d1"]} diff --git a/kubernetes/apps/kube-system/node-feature-discovery/rules/nvidia.yaml b/kubernetes/apps/kube-system/node-feature-discovery/rules/nvidia.yaml index 354e5f5d..302a4fec 100644 --- a/kubernetes/apps/kube-system/node-feature-discovery/rules/nvidia.yaml +++ b/kubernetes/apps/kube-system/node-feature-discovery/rules/nvidia.yaml @@ -1,5 +1,5 @@ -# yaml-language-server: $schema=https://ks.hsn.dev/nfd.k8s-sigs.io/nodefeaturerule_v1alpha1.json --- +# yaml-language-server: $schema=https://ks.hsn.dev/nfd.k8s-sigs.io/nodefeaturerule_v1alpha1.json apiVersion: nfd.k8s-sigs.io/v1alpha1 kind: NodeFeatureRule metadata: