openkruise / kruise-tools

Tools to use with the Kruise libraries
Apache License 2.0
43 stars 24 forks source link

error: no kind "Rollout" is registered for version "rollouts.kruise.io/v1beta1" in scheme "pkg/runtime/scheme.go:100" #81

Closed sailingchen closed 1 month ago

sailingchen commented 8 months ago

kubectl-kruise rollout approve rollout/rollouts-demo -n default

error: no kind "Rollout" is registered for version "rollouts.kruise.io/v1beta1" in scheme "pkg/runtime/scheme.go:100"

kruise-rollout-0.5.0
kruise-tools v1.1.0

ezxfv commented 8 months ago

@sailingchen 我这里更新了依赖库,注册了v1beta1的Rollout,测试approval没问题(kruise-rollout-0.5.0) https://github.com/ezxfv/kruise-tools/tree/approval

mr: https://github.com/openkruise/kruise-tools/pull/83

hantmac commented 7 months ago

@sailingchenHi, you can download v1.1.1 of kruise-tool , this https://github.com/openkruise/kruise-tools/pull/85 has fix this problem

lujiajing1126 commented 7 months ago

@sailingchen 我这里更新了依赖库,注册了v1beta1的Rollout,测试approval没问题(kruise-rollout-0.5.0) https://github.com/ezxfv/kruise-tools/tree/approval

mr: #83

这个测试下来是可以的,用官方的1.1.1还是报一样的错

hantmac commented 7 months ago

@lujiajing1126 v1.1.2 fixed this problem, just hava a try.