Skip to content

Commit

Permalink
Trim down comments for elasticPolicy.metrics except for the first sen…
Browse files Browse the repository at this point in the history
…tence

Signed-off-by: Yuki Iwai <[email protected]>
  • Loading branch information
tenzen-y committed Jan 21, 2023
1 parent ee6ac70 commit e8376d6
Show file tree
Hide file tree
Showing 8 changed files with 12,993 additions and 3,968 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Image URL to use all building/pushing image targets
IMG ?= kubeflow/training-operator:latest
# CRD generation options
CRD_OPTIONS ?= "crd:generateEmbeddedObjectMeta=true,maxDescLen=100"
CRD_OPTIONS ?= "crd:generateEmbeddedObjectMeta=true,maxDescLen=300"

# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
ifeq (,$(shell go env GOBIN))
Expand Down
2,773 changes: 2,125 additions & 648 deletions manifests/base/crds/kubeflow.org_mpijobs.yaml

Large diffs are not rendered by default.

2,776 changes: 2,128 additions & 648 deletions manifests/base/crds/kubeflow.org_mxjobs.yaml

Large diffs are not rendered by default.

2,927 changes: 2,243 additions & 684 deletions manifests/base/crds/kubeflow.org_paddlejobs.yaml

Large diffs are not rendered by default.

2,930 changes: 2,245 additions & 685 deletions manifests/base/crds/kubeflow.org_pytorchjobs.yaml

Large diffs are not rendered by default.

2,778 changes: 2,128 additions & 650 deletions manifests/base/crds/kubeflow.org_tfjobs.yaml

Large diffs are not rendered by default.

2,768 changes: 2,122 additions & 646 deletions manifests/base/crds/kubeflow.org_xgboostjobs.yaml

Large diffs are not rendered by default.

7 changes: 1 addition & 6 deletions pkg/apis/kubeflow.org/v1/pytorch_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,7 @@ type ElasticPolicy struct {

// Metrics contains the specifications which are used to calculate the
// desired replica count (the maximum replica count across all metrics will
// be used). The desired replica count is calculated with multiplying the
// ratio between the target value and the current value by the current
// number of pods. Ergo, metrics used must decrease as the pod count is
// increased, and vice-versa. See the individual metric source types for
// more information about how each type of metric must respond.
// If not set, the HPA will not be created.
// be used).
// +optional
Metrics []autoscalingv2.MetricSpec `json:"metrics,omitempty"`
}
Expand Down

0 comments on commit e8376d6

Please sign in to comment.