Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is a compatibility issue between spiderpool DRA function and k8s version 1.31.0. #4110

Open
ty-dc opened this issue Sep 25, 2024 · 0 comments
Assignees

Comments

@ty-dc
Copy link
Collaborator

ty-dc commented Sep 25, 2024

Spiderpool Version

latest

Main CNI

any

bug description

Because the DRA API has changed in K8S version 1.31.0, spiderpool cannot be successfully deployed in K8S version 1.31.0. The error message is as follows:

wait.go:50: 2024-09-25 04:03:17.393533191 +0000 UTC m=+0.651443175 [debug] beginning wait for 15 resources with timeout of 1m0s
install.go:212: 2024-09-25 04:03:17.438582016 +0000 UTC m=+0.696492000 [debug] Clearing REST mapper cache
Error: unable to build kubernetes objects from release manifest: resource mapping not found for name: "netresources.spidernet.io" namespace: "" from "": no matches for kind "ResourceClass" in version "resource.k8s.io/v1alpha2"
ensure CRDs are installed first
helm.go:86: 2024-09-25 04:03:19.449287141 +0000 UTC m=+2.707197134 [debug] resource mapping not found for name: "netresources.spidernet.io" namespace: "" from "": no matches for kind "ResourceClass" in version "resource.k8s.io/v1alpha2"
ensure CRDs are installed first
unable to build kubernetes objects from release manifest
helm.sh/helm/v3/pkg/action.(*Install).RunWithContext
	helm.sh/helm/v3/pkg/action/install.go:334
main.runInstall
	helm.sh/helm/v3/cmd/helm/install.go:316
main.newUpgradeCmd.func2
	helm.sh/helm/v3/cmd/helm/upgrade.go:159
github.com/spf13/cobra.(*Command).execute
	github.com/spf13/cobra@v1.8.1/command.go:985
github.com/spf13/cobra.(*Command).ExecuteC
	github.com/spf13/cobra@v1.8.1/command.go:1117
github.com/spf13/cobra.(*Command).Execute
	github.com/spf13/cobra@v1.8.1/command.go:1041
main.main
	helm.sh/helm/v3/cmd/helm/helm.go:85
runtime.main
	runtime/proc.go:271
runtime.goexit
	runtime/asm_amd64.s:1695
+ KIND_CLUSTER_NAME=spiderpool0925040002
+ ./scripts/debugEnv.sh /home/runner/work/spiderpool/spiderpool/test/.cluster/spiderpool0925040002/.kube/config detail /home/runner/work/spiderpool/spiderpool/test/e2edebugLog.txt
debugEnv.sh : E2E_KUBECONFIG /home/runner/work/spiderpool/spiderpool/test/.cluster/spiderpool0925040002/.kube/config 
error, failed to find any spider controller pod
make[3]: *** [Makefile:236: setup_spiderpool] Error 1
make[3]: Leaving directory '/home/runner/work/spiderpool/spiderpool/test'
make[2]: *** [Makefile:39: kind-init] Error 2
make[2]: Leaving directory '/home/runner/work/spiderpool/spiderpool/test'
make[1]: *** [Makefile:299: e2e_init] Error 2
make[1]: Leaving directory '/home/runner/work/spiderpool/spiderpool'
make: *** [Makefile:331: e2e_init_calico] Error 2
Command completed after 1 attempt(s).

What did you expect to happen?

No response

How to reproduce it (as minimally and precisely as possible)

No response

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants