Skip to content

Commit ada15e5

Browse files
committed
Remove Intel GPU plugin patch and update kustomization to reference helmrelease for improved resource management.
1 parent cdde328 commit ada15e5

File tree

3 files changed

+42
-16
lines changed

3 files changed

+42
-16
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
apiVersion: helm.toolkit.fluxcd.io/v2
3+
kind: HelmRelease
4+
metadata:
5+
name: intel-device-plugins-gpu
6+
namespace: kube-system
7+
spec:
8+
interval: 30m
9+
chart:
10+
spec:
11+
chart: intel-device-plugins-gpu
12+
version: 0.34.0
13+
sourceRef:
14+
kind: HelmRepository
15+
name: intel-charts
16+
namespace: flux-system
17+
install:
18+
remediation:
19+
retries: 3
20+
upgrade:
21+
cleanupOnFail: true
22+
remediation:
23+
retries: 3
24+
values:
25+
name: intel-gpu-plugin
26+
27+
# GPU Plugin Configuration
28+
sharedDevNum: 100 # Allow up to 100 containers to share each GPU
29+
logLevel: 2 # Verbose logging
30+
enableMonitoring: true # Enable monitoring resources
31+
allocationPolicy: "balanced" # Distribute workloads evenly across GPUs
32+
33+
# Node selector - only run on nodes with Intel GPUs
34+
nodeSelector:
35+
intel.feature.node.kubernetes.io/gpu: 'true'
36+
37+
# Enable NodeFeatureRule for automatic node labeling
38+
nodeFeatureRule: true
39+
40+
# Tolerations (if needed)
41+
tolerations: []

clusters/talos-ottawa/apps/cilium/app/kustomization.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ resources:
77
# - https://raw.githubusercontent.com/k8snetworkplumbingwg/whereabouts/refs/heads/master/doc/crds/daemonset-install.yaml
88
# - https://raw.githubusercontent.com/k8snetworkplumbingwg/whereabouts/refs/heads/master/doc/crds/whereabouts.cni.cncf.io_ippools.yaml
99
# - https://raw.githubusercontent.com/k8snetworkplumbingwg/whereabouts/refs/heads/master/doc/crds/whereabouts.cni.cncf.io_overlappingrangeipreservations.yaml
10-
- https://github.com/intel/intel-device-plugins-for-kubernetes/deployments/gpu_plugin/overlays/nfd_labeled_nodes?ref=main
10+
- helmrelease-intel-gpu.yaml
1111
- github.com/kubernetes-sigs/descheduler/kubernetes/cronjob?ref=release-1.32
1212
- https://raw.githubusercontent.com/kubernetes-sigs/mcs-api/62ede9a032dcfbc41b3418d7360678cb83092498/config/crd/multicluster.x-k8s.io_serviceexports.yaml
1313
- https://raw.githubusercontent.com/kubernetes-sigs/mcs-api/62ede9a032dcfbc41b3418d7360678cb83092498/config/crd/multicluster.x-k8s.io_serviceimports.yaml
@@ -37,6 +37,5 @@ configMapGenerator:
3737
files:
3838
- values-clustermesh.yaml
3939
patches:
40-
- path: patch-intel-gpu-plugin.yaml
4140
- path: patch-multus.yaml
4241
- path: patch-descheduler-cronjob.yaml

clusters/talos-ottawa/apps/cilium/app/patch-intel-gpu-plugin.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)