forked from kubeflow/kubeflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Katib CRD to components (kubeflow#1220)
* Add Katib CRD to components * Generate Tests
- Loading branch information
1 parent
af80269
commit e017e2b
Showing
17 changed files
with
513 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
namespace: kubeflow | ||
resources: | ||
- ../../katib-crds/base/experiment-crd.yaml | ||
- ../../katib-crds/base/suggestion-crd.yaml | ||
- ../../katib-crds/base/trial-crd.yaml | ||
- ../../katib-crds/overlays/application/application.yaml | ||
commonLabels: | ||
app.kubernetes.io/component: katib | ||
app.kubernetes.io/name: katib-crds |
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
28 changes: 28 additions & 0 deletions
28
...ected/apiextensions.k8s.io_v1beta1_customresourcedefinition_experiments.kubeflow.org.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,28 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
labels: | ||
app.kubernetes.io/component: katib | ||
app.kubernetes.io/name: katib-controller | ||
name: experiments.kubeflow.org | ||
spec: | ||
additionalPrinterColumns: | ||
- JSONPath: .status.conditions[-1:].type | ||
name: Status | ||
type: string | ||
- JSONPath: .metadata.creationTimestamp | ||
name: Age | ||
type: date | ||
group: kubeflow.org | ||
names: | ||
categories: | ||
- all | ||
- kubeflow | ||
- katib | ||
kind: Experiment | ||
plural: experiments | ||
singular: experiment | ||
scope: Namespaced | ||
subresources: | ||
status: {} | ||
version: v1alpha3 |
37 changes: 37 additions & 0 deletions
37
...ected/apiextensions.k8s.io_v1beta1_customresourcedefinition_suggestions.kubeflow.org.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,37 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
labels: | ||
app.kubernetes.io/component: katib | ||
app.kubernetes.io/name: katib-controller | ||
name: suggestions.kubeflow.org | ||
spec: | ||
additionalPrinterColumns: | ||
- JSONPath: .status.conditions[-1:].type | ||
name: Type | ||
type: string | ||
- JSONPath: .status.conditions[-1:].status | ||
name: Status | ||
type: string | ||
- JSONPath: .spec.requests | ||
name: Requested | ||
type: string | ||
- JSONPath: .status.suggestionCount | ||
name: Assigned | ||
type: string | ||
- JSONPath: .metadata.creationTimestamp | ||
name: Age | ||
type: date | ||
group: kubeflow.org | ||
names: | ||
categories: | ||
- all | ||
- kubeflow | ||
- katib | ||
kind: Suggestion | ||
plural: suggestions | ||
singular: suggestion | ||
scope: Namespaced | ||
subresources: | ||
status: {} | ||
version: v1alpha3 |
31 changes: 31 additions & 0 deletions
31
...a/expected/apiextensions.k8s.io_v1beta1_customresourcedefinition_trials.kubeflow.org.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,31 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
labels: | ||
app.kubernetes.io/component: katib | ||
app.kubernetes.io/name: katib-controller | ||
name: trials.kubeflow.org | ||
spec: | ||
additionalPrinterColumns: | ||
- JSONPath: .status.conditions[-1:].type | ||
name: Type | ||
type: string | ||
- JSONPath: .status.conditions[-1:].status | ||
name: Status | ||
type: string | ||
- JSONPath: .metadata.creationTimestamp | ||
name: Age | ||
type: date | ||
group: kubeflow.org | ||
names: | ||
categories: | ||
- all | ||
- kubeflow | ||
- katib | ||
kind: Trial | ||
plural: trials | ||
singular: trial | ||
scope: Namespaced | ||
subresources: | ||
status: {} | ||
version: v1alpha3 |
68 changes: 68 additions & 0 deletions
68
...talls/katib-external-db/test_data/expected/app.k8s.io_v1beta1_application_katib-crds.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,68 @@ | ||
apiVersion: app.k8s.io/v1beta1 | ||
kind: Application | ||
metadata: | ||
labels: | ||
app.kubernetes.io/component: katib | ||
app.kubernetes.io/name: katib-controller | ||
name: katib-crds | ||
namespace: kubeflow | ||
spec: | ||
addOwnerRef: true | ||
componentKinds: | ||
- group: core | ||
kind: Service | ||
- group: apps | ||
kind: Deployment | ||
- group: core | ||
kind: ServiceAccount | ||
- group: kubeflow.org | ||
kind: Experiment | ||
- group: kubeflow.org | ||
kind: Suggestion | ||
- group: kubeflow.org | ||
kind: Trial | ||
descriptor: | ||
description: Katib is a service for hyperparameter tuning and neural architecture | ||
search. | ||
keywords: | ||
- katib | ||
- katib-controller | ||
- hyperparameter tuning | ||
links: | ||
- description: About | ||
url: https://github.com/kubeflow/katib | ||
maintainers: | ||
- email: gaoce@caicloud.io | ||
name: Ce Gao | ||
- email: johnugeo@cisco.com | ||
name: Johnu George | ||
- email: liuhougang6@126.com | ||
name: Hougang Liu | ||
- email: ricliu@google.com | ||
name: Richard Liu | ||
- email: yuji.oshima0x3fd@gmail.com | ||
name: YujiOshima | ||
- email: andrey.velichkevich@gmail.com | ||
name: Andrey Velichkevich | ||
owners: | ||
- email: gaoce@caicloud.io | ||
name: Ce Gao | ||
- email: johnugeo@cisco.com | ||
name: Johnu George | ||
- email: liuhougang6@126.com | ||
name: Hougang Liu | ||
- email: ricliu@google.com | ||
name: Richard Liu | ||
- email: yuji.oshima0x3fd@gmail.com | ||
name: YujiOshima | ||
- email: andrey.velichkevich@gmail.com | ||
name: Andrey Velichkevich | ||
type: katib | ||
version: v1alpha3 | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/component: katib | ||
app.kubernetes.io/instance: katib-crds | ||
app.kubernetes.io/managed-by: kfctl | ||
app.kubernetes.io/name: katib-crds | ||
app.kubernetes.io/part-of: kubeflow |
28 changes: 28 additions & 0 deletions
28
...ected/apiextensions.k8s.io_v1beta1_customresourcedefinition_experiments.kubeflow.org.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,28 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
labels: | ||
app.kubernetes.io/component: katib | ||
app.kubernetes.io/name: katib-crds | ||
name: experiments.kubeflow.org | ||
spec: | ||
additionalPrinterColumns: | ||
- JSONPath: .status.conditions[-1:].type | ||
name: Status | ||
type: string | ||
- JSONPath: .metadata.creationTimestamp | ||
name: Age | ||
type: date | ||
group: kubeflow.org | ||
names: | ||
categories: | ||
- all | ||
- kubeflow | ||
- katib | ||
kind: Experiment | ||
plural: experiments | ||
singular: experiment | ||
scope: Namespaced | ||
subresources: | ||
status: {} | ||
version: v1alpha3 |
37 changes: 37 additions & 0 deletions
37
...ected/apiextensions.k8s.io_v1beta1_customresourcedefinition_suggestions.kubeflow.org.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,37 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
labels: | ||
app.kubernetes.io/component: katib | ||
app.kubernetes.io/name: katib-crds | ||
name: suggestions.kubeflow.org | ||
spec: | ||
additionalPrinterColumns: | ||
- JSONPath: .status.conditions[-1:].type | ||
name: Type | ||
type: string | ||
- JSONPath: .status.conditions[-1:].status | ||
name: Status | ||
type: string | ||
- JSONPath: .spec.requests | ||
name: Requested | ||
type: string | ||
- JSONPath: .status.suggestionCount | ||
name: Assigned | ||
type: string | ||
- JSONPath: .metadata.creationTimestamp | ||
name: Age | ||
type: date | ||
group: kubeflow.org | ||
names: | ||
categories: | ||
- all | ||
- kubeflow | ||
- katib | ||
kind: Suggestion | ||
plural: suggestions | ||
singular: suggestion | ||
scope: Namespaced | ||
subresources: | ||
status: {} | ||
version: v1alpha3 |
31 changes: 31 additions & 0 deletions
31
...a/expected/apiextensions.k8s.io_v1beta1_customresourcedefinition_trials.kubeflow.org.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,31 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
labels: | ||
app.kubernetes.io/component: katib | ||
app.kubernetes.io/name: katib-crds | ||
name: trials.kubeflow.org | ||
spec: | ||
additionalPrinterColumns: | ||
- JSONPath: .status.conditions[-1:].type | ||
name: Type | ||
type: string | ||
- JSONPath: .status.conditions[-1:].status | ||
name: Status | ||
type: string | ||
- JSONPath: .metadata.creationTimestamp | ||
name: Age | ||
type: date | ||
group: kubeflow.org | ||
names: | ||
categories: | ||
- all | ||
- kubeflow | ||
- katib | ||
kind: Trial | ||
plural: trials | ||
singular: trial | ||
scope: Namespaced | ||
subresources: | ||
status: {} | ||
version: v1alpha3 |
68 changes: 68 additions & 0 deletions
68
...ls/katib-standalone-ibm/test_data/expected/app.k8s.io_v1beta1_application_katib-crds.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,68 @@ | ||
apiVersion: app.k8s.io/v1beta1 | ||
kind: Application | ||
metadata: | ||
labels: | ||
app.kubernetes.io/component: katib | ||
app.kubernetes.io/name: katib-crds | ||
name: katib-crds | ||
namespace: kubeflow | ||
spec: | ||
addOwnerRef: true | ||
componentKinds: | ||
- group: core | ||
kind: Service | ||
- group: apps | ||
kind: Deployment | ||
- group: core | ||
kind: ServiceAccount | ||
- group: kubeflow.org | ||
kind: Experiment | ||
- group: kubeflow.org | ||
kind: Suggestion | ||
- group: kubeflow.org | ||
kind: Trial | ||
descriptor: | ||
description: Katib is a service for hyperparameter tuning and neural architecture | ||
search. | ||
keywords: | ||
- katib | ||
- katib-controller | ||
- hyperparameter tuning | ||
links: | ||
- description: About | ||
url: https://github.com/kubeflow/katib | ||
maintainers: | ||
- email: gaoce@caicloud.io | ||
name: Ce Gao | ||
- email: johnugeo@cisco.com | ||
name: Johnu George | ||
- email: liuhougang6@126.com | ||
name: Hougang Liu | ||
- email: ricliu@google.com | ||
name: Richard Liu | ||
- email: yuji.oshima0x3fd@gmail.com | ||
name: YujiOshima | ||
- email: andrey.velichkevich@gmail.com | ||
name: Andrey Velichkevich | ||
owners: | ||
- email: gaoce@caicloud.io | ||
name: Ce Gao | ||
- email: johnugeo@cisco.com | ||
name: Johnu George | ||
- email: liuhougang6@126.com | ||
name: Hougang Liu | ||
- email: ricliu@google.com | ||
name: Richard Liu | ||
- email: yuji.oshima0x3fd@gmail.com | ||
name: YujiOshima | ||
- email: andrey.velichkevich@gmail.com | ||
name: Andrey Velichkevich | ||
type: katib | ||
version: v1alpha3 | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/component: katib | ||
app.kubernetes.io/instance: katib-crds | ||
app.kubernetes.io/managed-by: kfctl | ||
app.kubernetes.io/name: katib-crds | ||
app.kubernetes.io/part-of: kubeflow |
Oops, something went wrong.