kueue: Helm install Error

What happened:

[root@test-1 charts]# helm install kueue kueue/ --create-namespace --namespace kueue-system
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest:
 error validating "": error validating data: [apiVersion not set, kind not set]

What you expected to happen: install success How to reproduce it (as minimally and precisely as possible):

git clone https://github.com/kubernetes-sigs/kueue.git
cd kueue/charts
helm install kueue kueue/ --create-namespace --namespace kueue-system

Anything else we need to know?: I tried helm template ./charts/kueue --values ./charts/kueue/values.yaml to debug where did this error happen, then I find out:

---
# Source: kueue/templates/visibility/kustomization.yaml
resources:
- apiservice.yaml
- role_binding.yaml
- service.yaml
---

This is where helm got Error, so I tried to remove kueue/templates/visibility/kustomization.yaml, it works. So I wonder, should we remove this file?

Environment:

  • Kubernetes version (use kubectl version): v1.26.0
  • Kueue version (use git describe --tags --dirty --always): main
  • Cloud provider or hardware configuration:
  • OS (e.g: cat /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools: Helm
  • Others: helm version: v3.9.0

About this issue

  • Original URL
  • State: closed
  • Created 7 months ago
  • Comments: 27 (27 by maintainers)

Most upvoted comments

Also, we should improve scripts to generate helm charts:

#1459 (comment)

Got it. I’m glad to help.

@B1F030 Recently, we fixed some permission errors related to the visibility server. So, could you verify if this error still happens?