disable nvidia-gpu support from cluster
All checks were successful
renovate / renovate (push) Successful in 6m50s
All checks were successful
renovate / renovate (push) Successful in 6m50s
This commit is contained in:
18
disabled/helm/gpu-operator/gpu-operator-configmap.yml
Normal file
18
disabled/helm/gpu-operator/gpu-operator-configmap.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: time-slicing-config
|
||||
namespace: gpu-operator
|
||||
data:
|
||||
any: |-
|
||||
version: v1
|
||||
flags:
|
||||
migStrategy: none
|
||||
sharing:
|
||||
timeSlicing:
|
||||
resources:
|
||||
- name: nvidia.com/gpu
|
||||
replicas: 4
|
||||
|
||||
# remember to patch the cluster policy to use this configmap
|
||||
# kubectl patch clusterpolicy/cluster-policy -n gpu-operator --type merge -p '{"spec": {"devicePlugin": {"config": {"name": "time-slicing-config", "default": "any"}}}}'
|
||||
31
disabled/helm/gpu-operator/gpu-operator-release.yml
Normal file
31
disabled/helm/gpu-operator/gpu-operator-release.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: gpu-operator
|
||||
namespace: gpu-operator
|
||||
spec:
|
||||
interval: 24h
|
||||
chart:
|
||||
spec:
|
||||
chart: gpu-operator
|
||||
version: "v25.3.4"
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: nvidia
|
||||
namespace: flux-system
|
||||
interval: 24h
|
||||
install:
|
||||
createNamespace: true
|
||||
upgrade:
|
||||
remediation:
|
||||
remediateLastFailure: true
|
||||
values:
|
||||
driver:
|
||||
enabled: false
|
||||
toolkit:
|
||||
env:
|
||||
- name: CONTAINERD_SOCKET
|
||||
value: /run/k3s/containerd/containerd.sock
|
||||
- name: CONTAINERD_CONFIG
|
||||
value: /var/lib/rancher/k3s/agent/etc/containerd/config.toml
|
||||
9
disabled/helm/gpu-operator/gpu-operator-repo.yml
Normal file
9
disabled/helm/gpu-operator/gpu-operator-repo.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: nvidia
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 24h
|
||||
url: https://helm.ngc.nvidia.com/nvidia
|
||||
14
disabled/helm/ollama/ollama-pvc.yml
Normal file
14
disabled/helm/ollama/ollama-pvc.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: ollama-longhorn
|
||||
namespace: default
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
volumeMode: Filesystem
|
||||
resources:
|
||||
requests:
|
||||
storage: 6Gi
|
||||
storageClassName: longhorn
|
||||
40
disabled/helm/ollama/ollama-release.yml
Normal file
40
disabled/helm/ollama/ollama-release.yml
Normal file
@@ -0,0 +1,40 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: ollama
|
||||
namespace: default
|
||||
spec:
|
||||
interval: 24h
|
||||
chart:
|
||||
spec:
|
||||
chart: ollama
|
||||
version: "1.31.0"
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: ollama
|
||||
namespace: flux-system
|
||||
interval: 24h
|
||||
install:
|
||||
remediation:
|
||||
retries: 3
|
||||
upgrade:
|
||||
remediation:
|
||||
retries: 3
|
||||
values:
|
||||
ollama:
|
||||
gpu:
|
||||
enabled: true
|
||||
type: nvidia
|
||||
models:
|
||||
pull:
|
||||
- gemma3:4b
|
||||
run:
|
||||
- gemma3:4b
|
||||
service:
|
||||
type: LoadBalancer
|
||||
port: 3210
|
||||
runtimeClassName: nvidia
|
||||
persistentVolume:
|
||||
enabled: true
|
||||
existingClaim: ollama-longhorn
|
||||
9
disabled/helm/ollama/ollama-repo.yml
Normal file
9
disabled/helm/ollama/ollama-repo.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: ollama
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 24h
|
||||
url: https://otwld.github.io/ollama-helm/
|
||||
Reference in New Issue
Block a user