♻️ kube-tools

This commit is contained in:
auricom
2022-09-14 13:04:54 +02:00
parent b098a11579
commit da797db333
63 changed files with 1009 additions and 221 deletions

View File

@@ -0,0 +1,78 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: node-feature-discovery
namespace: default
spec:
interval: 15m
chart:
spec:
chart: node-feature-discovery
version: 0.11.2
sourceRef:
kind: HelmRepository
name: node-feature-discovery-charts
namespace: flux-system
install:
createNamespace: true
remediation:
retries: 5
upgrade:
remediation:
retries: 5
values:
nodeFeatureRule:
createCRD: false
worker:
annotations:
configmap.reloader.stakater.com/reload: node-feature-discovery-worker-conf
nodeSelector:
node-role.kubernetes.io/worker: "true"
config:
core:
sources:
- custom
- pci
- usb
sources:
usb:
deviceClassWhitelist:
- "02"
- "03"
- "0e"
- "ef"
- "fe"
- "ff"
deviceLabelFields:
- class
- vendor
- device
custom:
- name: "zwave"
matchOn:
- usbId:
class: ["02"]
vendor: ["0658"]
device: ["0200"]
- name: "zigbee"
matchOn:
- usbId:
class: ["ff"]
vendor: ["1a86"]
device: ["7523"]
- name: "rflink"
matchOn:
- usbId:
class: ["02"]
vendor: ["2341"]
device: ["0042"]
- name: "coral-tpu"
matchOn:
- usbId:
vendor: ["1a6e", "18d1"]
- name: "intel-gpu"
matchOn:
- pciId:
class: ["0300"]
vendor: ["8086"]

View File

@@ -0,0 +1,6 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- github.com/kubernetes-sigs/node-feature-discovery//deployment/base/nfd-crds?ref=v0.11.2
- helm-release.yaml