Skip to content

Commit ba5ceaa

Browse files
committed
added godocs
1 parent f76c994 commit ba5ceaa

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

api/v1/inferencepool_types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ type InferencePoolSpec struct {
6666
// +required
6767
Selector LabelSelector `json:"selector,omitempty,omitzero"`
6868

69+
// TargetPorts defines a list of ports that are exposed by this InferencePool.
70+
// Currently, the list may only include a single port definition.
6971
// +kubebuilder:validation:MinItems=1
7072
// +kubebuilder:validation:MaxItems=1
7173
// +listType=map

config/crd/bases/inference.networking.k8s.io_inferencepools.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ spec:
133133
- matchLabels
134134
type: object
135135
targetPorts:
136+
description: |-
137+
TargetPorts defines a list of ports that are exposed by this InferencePool.
138+
Currently, the list may only include a single port definition.
136139
items:
137140
properties:
138141
number:

0 commit comments

Comments
 (0)