mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 12:07:47 +00:00
docs(api): 📝 Fix HPA docs with addition of "External" type
This commit is contained in:
parent
3b5aedcef4
commit
f62a3bc5bd
@ -88,7 +88,7 @@ const (
|
||||
// (only `type` and one other matching field should be set at once).
|
||||
type MetricSpec struct {
|
||||
// type is the type of metric source. It should be one of "Object",
|
||||
// "Pods" or "Resource", each mapping to a matching field in the object.
|
||||
// "Pods", "Resource" or "External", each mapping to a matching field in the object.
|
||||
Type MetricSourceType `json:"type" protobuf:"bytes,1,name=type"`
|
||||
|
||||
// object refers to a metric describing a single kubernetes object
|
||||
|
@ -97,7 +97,7 @@ type CrossVersionObjectReference struct {
|
||||
// (only `type` and one other matching field should be set at once).
|
||||
type MetricSpec struct {
|
||||
// type is the type of metric source. It should be one of "Object",
|
||||
// "Pods" or "Resource", each mapping to a matching field in the object.
|
||||
// "Pods", "Resource" or "External", each mapping to a matching field in the object.
|
||||
Type MetricSourceType `json:"type" protobuf:"bytes,1,name=type"`
|
||||
|
||||
// object refers to a metric describing a single kubernetes object
|
||||
|
Loading…
Reference in New Issue
Block a user