-
Notifications
You must be signed in to change notification settings - Fork 148
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
Are there any other ways to transfer large CRD files? #266
Comments
I think something is going wrong with the parsing here. I looked at your CRD, the annotations field isn't that long, I'm wondering if the YAML is messed up somehow. |
How is YAML transmitted? The file size is 1.2 MB, but Kubernetes label limits are usually 0.25 MB. |
Ahh, I think that we must be using If we switch to Any chance you can try making that change and seeing if it works? |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
FILE="rayjobs.yaml"
GROUP_NAME="io.ray"
PACKAGE="io.ray"
docker run
--rm
-v pwd/src/main/resources/crd/${FILE}:pwd/src/main/resources/crd/${FILE}
-v /var/run/docker.sock:/var/run/docker.sock
-v /tmp/output:/tmp/output
-v "$(pwd)":"$(pwd)"
-ti
--network host
ghcr.io/kubernetes-client/java/crd-model-gen:v1.0.6
/generate.sh
-u pwd/src/main/resources/crd/${FILE}
-n ${GROUP_NAME}
-p ${PACKAGE}
-o "$(pwd)"
The CustomResourceDefinition "rayjobs.ray.io" is invalid: metadata.annotations: Too long: must have at most 262144 bytes
ps:
crd file : https://github.com/ray-project/kuberay/blob/master/ray-operator/config/crd/bases/ray.io_rayjobs.yaml
The text was updated successfully, but these errors were encountered: