Move nvidia-device-plugin to its own namespace.
This commit is contained in:
parent
5378e7a65c
commit
f920c3f207
7 changed files with 17 additions and 2 deletions
9
kubernetes/apps/nvidia-device-plugin/kustomization.yaml
Normal file
9
kubernetes/apps/nvidia-device-plugin/kustomization.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
# yaml-language-server: $schema=https://json.schemastore.org/kustomization.json
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
# Pre Flux-Kustomizations
|
||||
- ./namespace.yaml
|
||||
# Flux-Kustomizations
|
||||
- ./nvidia-device-plugin/ks.yaml
|
7
kubernetes/apps/nvidia-device-plugin/namespace.yaml
Normal file
7
kubernetes/apps/nvidia-device-plugin/namespace.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: nvidia-device-plugin
|
||||
labels:
|
||||
kustomize.toolkit.fluxcd.io/prune: disabled
|
|
@ -10,7 +10,7 @@ metadata:
|
|||
spec:
|
||||
targetNamespace: nvidia-device-plugin
|
||||
interval: 10m
|
||||
path: "./kubernetes/apps/system/nvidia-device-plugin/app"
|
||||
path: "./kubernetes/apps/nvidia-device-plugin/nvidia-device-plugin/app"
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
|
@ -7,6 +7,5 @@ resources:
|
|||
- ./namespace.yaml
|
||||
# Flux-Kustomizations
|
||||
- ./node-feature-discovery/ks.yaml
|
||||
- ./nvidia-device-plugin/ks.yaml
|
||||
- ./reloader/ks.yaml
|
||||
- ./snapshot-controller/ks.yaml
|
||||
|
|
Loading…
Reference in a new issue