From 9bba695ae60a1651c01575b19cf23f237a8f10b7 Mon Sep 17 00:00:00 2001 From: Xiyue Yu Date: Fri, 22 Aug 2025 10:15:54 -0700 Subject: [PATCH 1/2] change spec doc --- api/v1/inferencepool_types.go | 2 ++ .../crd/bases/inference.networking.k8s.io_inferencepools.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/api/v1/inferencepool_types.go b/api/v1/inferencepool_types.go index f53781675..44625e4c6 100644 --- a/api/v1/inferencepool_types.go +++ b/api/v1/inferencepool_types.go @@ -100,6 +100,8 @@ type EndpointPickerRef struct { // Kind is the Kubernetes resource kind of the referent. // + // Required if the referent is ambiguous(e.g. service with one port is unambiguous) + // // Defaults to "Service" when not specified. // // ExternalName services can refer to CNAME DNS records that may live diff --git a/config/crd/bases/inference.networking.k8s.io_inferencepools.yaml b/config/crd/bases/inference.networking.k8s.io_inferencepools.yaml index 11ae46987..9490111a2 100644 --- a/config/crd/bases/inference.networking.k8s.io_inferencepools.yaml +++ b/config/crd/bases/inference.networking.k8s.io_inferencepools.yaml @@ -70,6 +70,8 @@ spec: description: |- Kind is the Kubernetes resource kind of the referent. + Required if the referent is ambiguous(e.g. service with one port is unambiguous) + Defaults to "Service" when not specified. ExternalName services can refer to CNAME DNS records that may live From 68528a8aae394e2de6fbe2b0258b2f142c403248 Mon Sep 17 00:00:00 2001 From: Xiyue Yu Date: Fri, 22 Aug 2025 10:24:41 -0700 Subject: [PATCH 2/2] fixed verify Signed-off-by: Xiyue Yu --- api/v1/inferencepool_types.go | 4 ++-- .../crd/bases/inference.networking.k8s.io_inferencepools.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/v1/inferencepool_types.go b/api/v1/inferencepool_types.go index 44625e4c6..12f47deed 100644 --- a/api/v1/inferencepool_types.go +++ b/api/v1/inferencepool_types.go @@ -100,8 +100,8 @@ type EndpointPickerRef struct { // Kind is the Kubernetes resource kind of the referent. // - // Required if the referent is ambiguous(e.g. service with one port is unambiguous) - // + // Required if the referent is ambiguous(e.g. service with one port is unambiguous). + // // Defaults to "Service" when not specified. // // ExternalName services can refer to CNAME DNS records that may live diff --git a/config/crd/bases/inference.networking.k8s.io_inferencepools.yaml b/config/crd/bases/inference.networking.k8s.io_inferencepools.yaml index 9490111a2..9a2891478 100644 --- a/config/crd/bases/inference.networking.k8s.io_inferencepools.yaml +++ b/config/crd/bases/inference.networking.k8s.io_inferencepools.yaml @@ -70,7 +70,7 @@ spec: description: |- Kind is the Kubernetes resource kind of the referent. - Required if the referent is ambiguous(e.g. service with one port is unambiguous) + Required if the referent is ambiguous(e.g. service with one port is unambiguous). Defaults to "Service" when not specified.