feat: add NFD and intel-gpu
This commit is contained in:
parent
76f0a73fee
commit
dbb9385ce7
|
@ -0,0 +1,25 @@
|
|||
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2.json
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: intel-gpu-plugin
|
||||
namespace: intel-gpu
|
||||
spec:
|
||||
interval: 5m
|
||||
chart:
|
||||
spec:
|
||||
chart: intel-device-plugins-gpu
|
||||
version: 0.30.0
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: intel
|
||||
namespace: flux-system
|
||||
|
||||
dependsOn:
|
||||
- name: intel-device-operator
|
||||
namespace: intel-gpu
|
||||
|
||||
values:
|
||||
name: intel-gpu-plugin
|
||||
sharedDevNum: 3
|
||||
nodeFeatureRule: true
|
|
@ -0,0 +1,8 @@
|
|||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: intel
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 1m
|
||||
url: https://intel.github.io/helm-charts
|
|
@ -0,0 +1,23 @@
|
|||
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2.json
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: intel-device-operator
|
||||
namespace: intel-gpu
|
||||
spec:
|
||||
interval: 5m
|
||||
chart:
|
||||
spec:
|
||||
chart: intel-device-plugins-operator
|
||||
version: 0.30.0
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: intel
|
||||
namespace: flux-system
|
||||
|
||||
dependsOn:
|
||||
- name: nfd
|
||||
namespace: kube-system
|
||||
|
||||
values:
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- helm-repos.yaml
|
||||
- namespace.yaml
|
||||
- intel-device-plugins-operator.yaml
|
||||
- gpu-plugin.yaml
|
|
@ -0,0 +1,4 @@
|
|||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: intel-gpu
|
|
@ -0,0 +1,21 @@
|
|||
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: cluster-secrets
|
||||
namespace: flux-system
|
||||
spec:
|
||||
timeout: 5m
|
||||
interval: 10m
|
||||
path: ./cluster/core/intel-gpu
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: home-cluster
|
||||
decryption:
|
||||
provider: sops
|
||||
secretRef:
|
||||
name: sops-gpg
|
||||
dependsOn:
|
||||
- name: nfd
|
||||
namespace: flux-system
|
|
@ -6,4 +6,6 @@ resources:
|
|||
- ./cert-manager
|
||||
- ./networking
|
||||
- ./storage
|
||||
- ./kube-replicator
|
||||
- ./kube-replicator
|
||||
- ./nfd
|
||||
- ./intel-gpu
|
|
@ -0,0 +1,8 @@
|
|||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: nfd-charts
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 1m
|
||||
url: https://kubernetes-sigs.github.io/node-feature-discovery/charts
|
|
@ -0,0 +1,5 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- helm-repos.yaml
|
||||
- nfd.yaml
|
|
@ -0,0 +1,19 @@
|
|||
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2.json
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: nfd
|
||||
namespace: kube-system
|
||||
spec:
|
||||
interval: 5m
|
||||
chart:
|
||||
spec:
|
||||
chart: node-feature-discovery
|
||||
version: v0.16.3
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: nfd-charts
|
||||
namespace: flux-system
|
||||
|
||||
values:
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: nfd
|
||||
namespace: flux-system
|
||||
spec:
|
||||
timeout: 5m
|
||||
interval: 10m
|
||||
path: ./cluster/nfd/files
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: home-cluster
|
||||
decryption:
|
||||
provider: sops
|
||||
secretRef:
|
||||
name: sops-gpg
|
Loading…
Reference in New Issue