mirror of
https://github.com/hanzo-ml/kserve.git
synced 2026-10-30 20:53:49 +00:00
2.0 KiB
2.0 KiB
Common issues and solutions
This document compiles common issues that users may encounter and provides solutions for troubleshooting.
Issue list
Issue detail
New issues should be documented above existing issues.
CRD Annotations Too Long
- Summary: Error when applying CRDs due to excessive annotation size.
- Symptoms:
- error msg:
"metadata.annotations: Too long: must have at most 262144 bytes."
- error msg:
- Cause: CRD annotations exceed the Kubernetes size limit.
- Resolution:
- Reduce annotation size or use server-side apply.
- ex)
kubectl apply --server-side=true -k ./config/default
- Author: Jooho Lee/[email protected]
- Date: 2024-08-20
- Related Issues/PRs: #3487, #3144, #3877
Failed ci - Verify Generated Code / verify-codegen
- Summary: when PR has a new api added for CRD, CI(Verify Generated Code / verify-codegen) might fail
- Symptoms:
- error msg in ci:
"kserve/kserve is out of date. Please run make generate"
- error msg in ci:
- Cause:
- There are some diffs in openapi generated file: pkg/apis/serving/v1beta1/openapi_generated.go. (inferenceservice crd case)
- Resolution:
- run these make targets in order
make generate make manifests
- run these make targets in order
- Author: Jooho Lee/[email protected]
- Date: 2024-08-19
- Related Issues/PRs: X