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

The CustomResourceDefinition "servers.mlops.seldon.io" is invalid: metadata.annotations: Too long: must have at most 262144 bytes #4708

Open
eerhil opened this issue Mar 7, 2023 · 2 comments
Labels

Comments

@eerhil
Copy link

eerhil commented Mar 7, 2023

Describe the bug

When applying seldon-v2-crds.yaml, I get the following error:

kubectl apply -f https://raw.githubusercontent.com/SeldonIO/seldon-core/v2.2.0/k8s/yaml/seldon-v2-crds.yaml 

customresourcedefinition.apiextensions.k8s.io/experiments.mlops.seldon.io unchanged
customresourcedefinition.apiextensions.k8s.io/models.mlops.seldon.io unchanged
customresourcedefinition.apiextensions.k8s.io/pipelines.mlops.seldon.io unchanged
customresourcedefinition.apiextensions.k8s.io/serverconfigs.mlops.seldon.io unchanged
The CustomResourceDefinition "servers.mlops.seldon.io" is invalid: metadata.annotations: Too long: must have at most 262144 bytes

To reproduce

  1. $ kubectl apply -f https://raw.githubusercontent.com/SeldonIO/seldon-core/v2.2.0/k8s/yaml/seldon-v2-crds.yaml

Expected behaviour

Apply would be successful

Environment

Kubernetes (AKS)

@eerhil eerhil added the bug label Mar 7, 2023
@eerhil
Copy link
Author

eerhil commented Mar 7, 2023

I managed to overcome this by adding a flag --server-side=true . However, we are using Kustomize. Any ideas how to solve this on that side?

@ukclivecox ukclivecox added the v2 label Mar 16, 2023
@ukclivecox
Copy link
Contributor

Seems there is a long discussion here with suggestion but unclear if this is ideal.

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

No branches or pull requests

2 participants