-
Notifications
You must be signed in to change notification settings - Fork 441
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor katib-config using kustomize vars
Signed-off-by: Yuki Iwai <[email protected]>
- Loading branch information
Showing
17 changed files
with
129 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
manifests/v1beta1/components/katib-config/katib-config.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
--- | ||
apiVersion: config.kubeflow.org/v1beta1 | ||
kind: KatibConfig | ||
init: | ||
controller: | ||
webhookPort: 8443 | ||
trialResources: | ||
- Job.v1.batch | ||
- TFJob.v1.kubeflow.org | ||
- PyTorchJob.v1.kubeflow.org | ||
- MPIJob.v1.kubeflow.org | ||
- XGBoostJob.v1.kubeflow.org | ||
- MXJob.v1.kubeflow.org | ||
runtime: | ||
metricsCollectors: | ||
- kind: StdOut | ||
image: docker.io/kubeflo`wkatib/file-metrics-collector:$(KATIB_VERSION) | ||
- kind: File | ||
image: docker.io/kubeflowkatib/file-metrics-collector:$(KATIB_VERSION) | ||
- kind: TensorFlowEvent | ||
image: docker.io/kubeflowkatib/tfevent-metrics-collector:$(KATIB_VERSION) | ||
resources: | ||
limits: | ||
memory: 1Gi | ||
suggestions: | ||
- algorithmName: random | ||
image: docker.io/kubeflowkatib/suggestion-hyperopt:$(KATIB_VERSION) | ||
- algorithmName: tpe | ||
image: docker.io/kubeflowkatib/suggestion-hyperopt:$(KATIB_VERSION) | ||
- algorithmName: grid | ||
image: docker.io/kubeflowkatib/suggestion-optuna:$(KATIB_VERSION) | ||
- algorithmName: hyperband | ||
image: docker.io/kubeflowkatib/suggestion-hyperband:$(KATIB_VERSION) | ||
- algorithmName: bayesianoptimization | ||
image: docker.io/kubeflowkatib/suggestion-skopt:$(KATIB_VERSION) | ||
- algorithmName: cmaes | ||
image: docker.io/kubeflowkatib/suggestion-goptuna:$(KATIB_VERSION) | ||
- algorithmName: sobol | ||
image: docker.io/kubeflowkatib/suggestion-goptuna:$(KATIB_VERSION) | ||
- algorithmName: multivariate-tpe | ||
image: docker.io/kubeflowkatib/suggestion-optuna:$(KATIB_VERSION) | ||
- algorithmName: enas | ||
image: docker.io/kubeflowkatib/suggestion-enas:$(KATIB_VERSION) | ||
resources: | ||
limits: | ||
memory: 200Mi | ||
- algorithmName: darts | ||
image: docker.io/kubeflowkatib/suggestion-darts:$(KATIB_VERSION) | ||
- algorithmName: pbt | ||
image: docker.io/kubeflowkatib/suggestion-pbt:$(KATIB_VERSION) | ||
persistentVolumeClaimSpec: | ||
accessModes: | ||
- ReadWriteMany | ||
resources: | ||
requests: | ||
storage: 5Gi | ||
earlyStoppings: | ||
- algorithmName: medianstop | ||
image: docker.io/kubeflowkatib/earlystopping-medianstop:$(KATIB_VERSION) |
21 changes: 21 additions & 0 deletions
21
manifests/v1beta1/components/katib-config/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
configMapGenerator: | ||
- name: katib-config | ||
files: | ||
- katib-config.yaml | ||
options: | ||
disableNameSuffixHash: true | ||
labels: | ||
katib.kubeflow.org/version: latest | ||
configurations: | ||
- transformer-configs.yaml | ||
vars: | ||
- name: KATIB_VERSION | ||
fieldref: | ||
fieldpath: metadata.labels.katib\.kubeflow\.org/version | ||
objref: | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
name: katib-config |
4 changes: 4 additions & 0 deletions
4
manifests/v1beta1/components/katib-config/transformer-configs.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
varReference: | ||
- kind: ConfigMap | ||
path: data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters