Skip to content

Commit

Permalink
Add Katib CRD to components (kubeflow#1220)
Browse files Browse the repository at this point in the history
* Add Katib CRD to components

* Generate Tests
  • Loading branch information
andreyvelich authored Jun 3, 2020
1 parent af80269 commit e017e2b
Show file tree
Hide file tree
Showing 17 changed files with 513 additions and 5 deletions.
11 changes: 11 additions & 0 deletions katib/components/katib-crds/kustomization.yaml
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
3 changes: 3 additions & 0 deletions katib/components/katib-db-manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ images:
- name: gcr.io/kubeflow-images-public/katib/v1alpha3/katib-db-manager
newTag: v0.8.0
newName: gcr.io/kubeflow-images-public/katib/v1alpha3/katib-db-manager
commonLabels:
app.kubernetes.io/component: katib
app.kubernetes.io/name: katib-controller
3 changes: 3 additions & 0 deletions katib/components/katib-db-mysql/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ images:
- name: mysql
newTag: "8"
newName: mysql
commonLabels:
app.kubernetes.io/component: katib
app.kubernetes.io/name: katib-controller
5 changes: 3 additions & 2 deletions katib/installs/katib-external-db/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kubeflow
resources:
- ../../components/katib-crds
- ../../components/katib-controller
- ../../components/katib-db-manager
patchesStrategicMerge:
- katib-db-manager-deployment.yaml
secretGenerator:
- name: katib-mysql-secrets
env: secrets.env
- name: katib-mysql-secrets
env: secrets.env
commonLabels:
app.kubernetes.io/component: katib
app.kubernetes.io/name: katib-controller
4 changes: 1 addition & 3 deletions katib/installs/katib-standalone/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kubeflow
resources:
- ../../components/katib-crds
- ../../components/katib-controller
- ../../components/katib-db-manager
- ../../components/katib-db-mysql
commonLabels:
app.kubernetes.io/component: katib
app.kubernetes.io/name: katib-controller
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
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
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
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
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
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
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
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
Loading

0 comments on commit e017e2b

Please sign in to comment.