-
Notifications
You must be signed in to change notification settings - Fork 73
Adding compatibility for API supporting HPA #206
Conversation
@tenzen-y Once this is merged, we can create a new release in kubeflow/common |
pkg/apis/common/v1/types.go
Outdated
// A label selector is a label query over a set of resources. The result of matchLabels and | ||
// matchExpressions are ANDed. An empty label selector matches all objects. A null | ||
// label selector matches no objects. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe, these are selector
, not label selector
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
/lgtm
/assign @terrytangyuan @gaocegege
@johnugeorge Can you rerun @@ -231,7 +231,7 @@ func schema_pkg_apis_common_v1_ReplicaSt
},
"selector": {
SchemaProps: spec.SchemaProps{
- Description: "A Selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty Selector matches all objects. A null Selector matches no objects.",
+ Description: "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.",
Type: []string{"string"},
Format: "",
},
./hack/../pkg is out of date. Please run hack/update-codegen.sh |
/lgtm cancel |
/lgtm |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: terrytangyuan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
LabelSelector
field is restored to provide compatibility with the current API. Instead,Selector
field will be used for HPA featureRelated: #197 kubeflow/training-operator#1725