This message was deleted.
# ask-for-help
s
This message was deleted.
t
when checking the deployment log, I found the error:
Copy code
1.6756045816395688e+09	ERROR	controller-runtime.source	if kind is a CRD, it should be installed before calling Start	{"kind": "HorizontalPodAutoscaler.autoscaling", "error": "no matches for kind \"HorizontalPodAutoscaler\" in version \"autoscaling/v2beta2\""}
<http://sigs.k8s.io/controller-runtime/pkg/source.(*Kind).Start.func1.1|sigs.k8s.io/controller-runtime/pkg/source.(*Kind).Start.func1.1>
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.13.0/pkg/source/source.go:139
<http://k8s.io/apimachinery/pkg/util/wait.runConditionWithCrashProtectionWithContext|k8s.io/apimachinery/pkg/util/wait.runConditionWithCrashProtectionWithContext>
	/go/pkg/mod/k8s.io/apimachinery@v0.25.0/pkg/util/wait/wait.go:235
<http://k8s.io/apimachinery/pkg/util/wait.WaitForWithContext|k8s.io/apimachinery/pkg/util/wait.WaitForWithContext>
	/go/pkg/mod/k8s.io/apimachinery@v0.25.0/pkg/util/wait/wait.go:662
<http://k8s.io/apimachinery/pkg/util/wait.poll|k8s.io/apimachinery/pkg/util/wait.poll>
	/go/pkg/mod/k8s.io/apimachinery@v0.25.0/pkg/util/wait/wait.go:596
<http://k8s.io/apimachinery/pkg/util/wait.PollImmediateUntilWithContext|k8s.io/apimachinery/pkg/util/wait.PollImmediateUntilWithContext>
	/go/pkg/mod/k8s.io/apimachinery@v0.25.0/pkg/util/wait/wait.go:547
<http://sigs.k8s.io/controller-runtime/pkg/source.(*Kind).Start.func1|sigs.k8s.io/controller-runtime/pkg/source.(*Kind).Start.func1>
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.13.0/pkg/source/source.go:132
1.6756045913868937e+09	ERROR	Could not wait for Cache to sync	{"controller": "bentodeployment", "controllerGroup": "<http://serving.yatai.ai|serving.yatai.ai>", "controllerKind": "BentoDeployment", "error": "failed to wait for bentodeployment caches to sync: timed out waiting for cache to be synced"}
<http://sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.1|sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.1>
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.13.0/pkg/internal/controller/controller.go:210
<http://sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2|sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2>
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.13.0/pkg/internal/controller/controller.go:215
<http://sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start|sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start>
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.13.0/pkg/internal/controller/controller.go:241
<http://sigs.k8s.io/controller-runtime/pkg/manager.(*runnableGroup).reconcile.func1|sigs.k8s.io/controller-runtime/pkg/manager.(*runnableGroup).reconcile.func1>
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.13.0/pkg/manager/runnable_group.go:219
1.675604591387e+09	INFO	Stopping and waiting for non leader election runnables
1.6756045913870149e+09	INFO	Stopping and waiting for leader election runnables
1.6756045913870275e+09	INFO	Stopping and waiting for caches
1.6756045913872507e+09	INFO	Stopping and waiting for webhooks
1.6756045913874898e+09	INFO	controller-runtime.webhook	shutting down webhook server
1.6756045913877513e+09	INFO	Wait completed, proceeding to shutdown the manager
1.6756045913878403e+09	ERROR	setup	problem running manager	{"error": "failed to wait for bentodeployment caches to sync: timed out waiting for cache to be synced"}
main.main
	/workspace/main.go:145
runtime.main
	/usr/local/go/src/runtime/proc.go:250
x
What version of k8s are you using?
Copy code
kubectl version
t
I used v1.22.0
I think there was a conflict when I tried to follow the quick installation (yatai 1.1.5 + image 1.1.3 + deployment 1.1.5. CRD was miss-matched)
I down to all 1.1.3, it is working now after some more rbac configurations
k
hi @Xipeng Guan according to https://github.com/kubernetes/ingress-nginx/issues/8599 the
autoscaling/v2beta2
is deprecated in k8s 1.23, so what do we do we have 1.23 or higher ?