Files
kserve/docs/COMMON_ISSUES_AND_SOLUTIONS.md
2024-09-07 16:59:53 -04:00

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."
      
  • 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"
      
  • 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
      
  • Author: Jooho Lee/[email protected]
  • Date: 2024-08-19
  • Related Issues/PRs: X