gpu-operator icon indicating copy to clipboard operation
gpu-operator copied to clipboard

How do I install using Kustomize?

Open choyuansu opened this issue 2 years ago • 2 comments

Environment

  • Ubuntu 20.04
  • Kubernetes v1.22.15
  • Docker 20.10.23
  • Kustomize 4.5.2

1. Issue or feature description

Tried to install with kustomize and ended up with errors.

2. Steps to reproduce the issue

kustomize build config/manifests | kubectl create -f -

Output:

Error: accumulating resources: recursed accumulation of path '../default': no matches for OriginalId apps_v1_Deployment|system|gpu-operator; no matches for CurrentId apps_v1_Deployment|system|gpu-operator; failed to find unique target for patch apps_v1_Deployment|gpu-operator

I figured out a workaround using helm to get the manifests, but I hope to be able to install using the official kustomization.

helm template -n gpu-operator --release-name gpu-operator nvidia/gpu-operator > manifests.yaml

choyuansu avatar Feb 04 '23 03:02 choyuansu