Slackbot
12/30/2022, 7:22 AMJuni
12/30/2022, 7:22 AMJuni
12/30/2022, 7:42 AMkubectl -n yatai-deployment logs -f deploy/yatai-deployment
shows the following error:
1.6723846516673543e+09 ERROR conversion-webhook failed to convert {"request": "eb03cb85-4f56-4820-b0a0-6748bad4b329", "error": "no kind \"BentoDeployment\" is registered for version \"<http://serving.yatai.ai/v2alpha1\|serving.yatai.ai/v2alpha1\>" in scheme \"pkg/runtime/scheme.go:100\""}
<http://sigs.k8s.io/controller-runtime/pkg/webhook/conversion.(*Webhook).ServeHTTP|sigs.k8s.io/controller-runtime/pkg/webhook/conversion.(*Webhook).ServeHTTP>
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.13.0/pkg/webhook/conversion/conversion.go:76
<http://github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1|github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerInFlight.func1>
/go/pkg/mod/github.com/prometheus/client_golang@v1.12.2/prometheus/promhttp/instrument_server.go:40
net/http.HandlerFunc.ServeHTTP
/usr/local/go/src/net/http/server.go:2109
<http://github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1|github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1>
/go/pkg/mod/github.com/prometheus/client_golang@v1.12.2/prometheus/promhttp/instrument_server.go:117
net/http.HandlerFunc.ServeHTTP
/usr/local/go/src/net/http/server.go:2109
<http://github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerDuration.func2|github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerDuration.func2>
/go/pkg/mod/github.com/prometheus/client_golang@v1.12.2/prometheus/promhttp/instrument_server.go:84
net/http.HandlerFunc.ServeHTTP
/usr/local/go/src/net/http/server.go:2109
net/http.(*ServeMux).ServeHTTP
/usr/local/go/src/net/http/server.go:2487
net/http.serverHandler.ServeHTTP
/usr/local/go/src/net/http/server.go:2947
net/http.(*conn).serve
/usr/local/go/src/net/http/server.go:1991
Benjamin Tan
12/30/2022, 8:07 AMBenjamin Tan
12/30/2022, 8:07 AMXipeng Guan
12/30/2022, 1:07 PMkubectl apply -f <https://raw.githubusercontent.com/bentoml/yatai-deployment/v1.0.x/helm/yatai-deployment/crds/bentodeployment.yaml>
Juni
01/02/2023, 12:20 AMKostas Vasilopoulos
01/26/2023, 9:08 AMERROR conversion-webhook failed to convert {"request": "7ead9a5b-ad1c-489a-82f3-83ed615211b8", "error": "*v1alpha1.BentoDeployment failed to convert from hub version *v2alpha1.BentoDeployment : get Bento CR absa-service--tnembzuyug-3-thkfb: <http://bentoes.resources.yatai.ai|bentoes.resources.yatai.ai> \"absa-service--tnembzuyug-3-thkfb\" not found"}
So we do not understand where this is coming from. We updated yatai and yatai-deployments in an effort to fix it but nothing so far.
yatai-1.1.1
and yatai-deployment-1.1.4
$ kubectl get crd | grep bento
<http://bentodeployments.serving.yatai.ai|bentodeployments.serving.yatai.ai> 2022-12-12T22:53:22Z
<http://bentoes.resources.yatai.ai|bentoes.resources.yatai.ai> 2023-01-25T20:04:44Z
<http://bentorequests.resources.yatai.ai|bentorequests.resources.yatai.ai> 2023-01-25T20:04:44Z
Kostas Vasilopoulos
01/26/2023, 9:08 AM$ kubectl api-resources | grep bento
bentoes <http://resources.yatai.ai/v1alpha1|resources.yatai.ai/v1alpha1> true Bento
bentorequests <http://resources.yatai.ai/v1alpha1|resources.yatai.ai/v1alpha1> true BentoRequest
bentodeployments <http://serving.yatai.ai/v2alpha1|serving.yatai.ai/v2alpha1> true BentoDeployment
Kostas Vasilopoulos
01/26/2023, 9:10 AMXipeng Guan
01/26/2023, 9:12 AMKostas Vasilopoulos
01/26/2023, 9:12 AMyatai yatai-system 2 2023-01-25 20:34:58.18440672 +0000 UTC deployed yatai-1.1.1 1.1.1
yatai-deployment yatai-deployment 1 2023-01-25 20:27:25.502561524 +0000 UTC deployed yatai-deployment-1.1.4 1.1.4
yatai-deployment-crds yatai-deployment 1 2023-01-25 20:09:00.285988774 +0000 UTC deployed yatai-deployment-crds-0.1.0 1.16.0
yatai-image-builder-crds yatai-image-builder 1 2023-01-25 20:04:43.957698013 +0000 UTC deployed yatai-image-builder-crds-1.1.3 1.1.3
Xipeng Guan
01/26/2023, 9:16 AMXipeng Guan
01/26/2023, 9:18 AMKostas Vasilopoulos
01/26/2023, 9:19 AMKostas Vasilopoulos
01/26/2023, 9:28 AMXipeng Guan
01/26/2023, 9:32 AMKostas Vasilopoulos
01/26/2023, 10:33 AMyatai-iamge-builders
and I get the following error Unable to attach or mount volumes: unmounted volumes=[cert], unattached volumes=[cert kube-api-access-f9rjg]: timed out waiting for the condition
Kostas Vasilopoulos
01/26/2023, 8:19 PMhelm list -A | grep yatai
docker-registry yatai-image-builder 1 2023-01-26 18:59:46.02923505 +0000 UTC deployedocker-registry-2.2.2 2.8.1
minio-operator yatai-system 1 2023-01-26 18:27:22.626852258 +0000 UTC deployeminio-operator-4.3.7 v4.3.7
postgresql-ha yatai-system 1 2023-01-26 17:33:07.527883013 +0000 UTC deployepostgresql-ha-10.0.6 15.1.0
yatai yatai-system 1 2023-01-26 18:46:43.499596155 +0000 UTC deployeyatai-1.1.3 1.1.3
yatai-deployment yatai-deployment 1 2023-01-26 19:33:14.135281825 +0000 UTC deployeyatai-deployment-1.1.4 1.1.4
yatai-deployment-crds yatai-deployment 1 2023-01-26 19:32:37.867821934 +0000 UTC deployeyatai-deployment-crds-1.1.4 1.1.4
yatai-image-builder yatai-image-builder 1 2023-01-26 19:05:23.571724689 +0000 UTC deployeyatai-image-builder-1.1.3 1.1.3
yatai-image-builder-crds yatai-image-builder 1 2023-01-26 19:04:02.509968517 +0000 UTC deployeyatai-image-builder-crds-1.1.3 1.1.3
but I get the following error from yatai-deployment
and yatai-image-builder
Unable to attach or mount volumes: unmounted volumes=[cert], unattached volumes=[cert kube-api-access-djbg8]: timed out waiting for the condition