Hello Ory! We are facing some problems with our H...
# talk-hydra
f
Hello Ory! We are facing some problems with our Hydra setup in k8s, we needed to recreate the entire cluster loosing everything created (CRD, etc…) and deploying the same version of Hydra in the new cluster won’t work as we expect, the error is the following:
Copy code
I1123 14:10:19.703892       1 request.go:655] Throttling request took 1.02403411s, request: GET:<https://172.20.0.1:443/apis/node.k8s.io/v1beta1?timeout=32s>
2022-11-23T14:10:20.058Z	INFO	controller-runtime.metrics	metrics server is starting to listen	{"addr": "127.0.0.1:8080"}
2022-11-23T14:10:20.058Z	INFO	setup	starting manager
2022-11-23T14:10:20.059Z	INFO	controller-runtime.manager	starting metrics server	{"path": "/metrics"}
2022-11-23T14:10:20.059Z	INFO	controller-runtime.manager.controller.oauth2client	Starting EventSource	{"reconciler group": "hydra.ory.sh", "reconciler kind": "OAuth2Client", "source": "kind source: /, Kind="}
2022-11-23T14:10:22.957Z	ERROR	controller-runtime.source	if kind is a CRD, it should be installed before calling Start	{"kind": "OAuth2Client.hydra.ory.sh", "error": "no matches for kind \"OAuth2Client\" in version \"<http://hydra.ory.sh/v1alpha1\|hydra.ory.sh/v1alpha1\>""}
<http://github.com/go-logr/zapr.(*zapLogger).Error|github.com/go-logr/zapr.(*zapLogger).Error>
	/go/pkg/mod/github.com/go-logr/zapr@v0.2.0/zapr.go:132
<http://sigs.k8s.io/controller-runtime/pkg/log.(*DelegatingLogger).Error|sigs.k8s.io/controller-runtime/pkg/log.(*DelegatingLogger).Error>
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.8.3/pkg/log/deleg.go:144
<http://sigs.k8s.io/controller-runtime/pkg/source.(*Kind).Start|sigs.k8s.io/controller-runtime/pkg/source.(*Kind).Start>
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.8.3/pkg/source/source.go:117
<http://sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1|sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1>
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.8.3/pkg/internal/controller/controller.go:167
<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.8.3/pkg/internal/controller/controller.go:223
<http://sigs.k8s.io/controller-runtime/pkg/manager.(*controllerManager).startRunnable.func1|sigs.k8s.io/controller-runtime/pkg/manager.(*controllerManager).startRunnable.func1>
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.8.3/pkg/manager/internal.go:681
2022-11-23T14:10:22.957Z	ERROR	setup	problem running manager	{"error": "no matches for kind \"OAuth2Client\" in version \"<http://hydra.ory.sh/v1alpha1\|hydra.ory.sh/v1alpha1\>""}
<http://github.com/go-logr/zapr.(*zapLogger).Error|github.com/go-logr/zapr.(*zapLogger).Error>
	/go/pkg/mod/github.com/go-logr/zapr@v0.2.0/zapr.go:132
<http://sigs.k8s.io/controller-runtime/pkg/log.(*DelegatingLogger).Error|sigs.k8s.io/controller-runtime/pkg/log.(*DelegatingLogger).Error>
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.8.3/pkg/log/deleg.go:144
main.main
	/go/src/github.com/ory/hydra-maester/main.go:131
runtime.main
	/usr/local/go/src/runtime/proc.go:225
We have a postgres database with data about the previous deployment we were know it was working well, anything we need to modify inside the database? Many thanks!!