-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: David van der Spek <[email protected]>
- Loading branch information
Showing
18 changed files
with
475 additions
and
289 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
35 changes: 0 additions & 35 deletions
35
...katib/crds/apiextensions.k8s.io_v1_customresourcedefinition_experiments.kubeflow.org.yaml
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
...katib/crds/apiextensions.k8s.io_v1_customresourcedefinition_suggestions.kubeflow.org.yaml
This file was deleted.
Oops, something went wrong.
35 changes: 0 additions & 35 deletions
35
...helm/katib/crds/apiextensions.k8s.io_v1_customresourcedefinition_trials.kubeflow.org.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: experiments.kubeflow.org | ||
spec: | ||
group: kubeflow.org | ||
scope: Namespaced | ||
versions: | ||
- name: v1beta1 | ||
served: true | ||
storage: true | ||
additionalPrinterColumns: | ||
- name: Type | ||
type: string | ||
jsonPath: .status.conditions[-1:].type | ||
- name: Status | ||
type: string | ||
jsonPath: .status.conditions[-1:].status | ||
- name: Age | ||
type: date | ||
jsonPath: .metadata.creationTimestamp | ||
subresources: | ||
status: {} | ||
schema: | ||
openAPIV3Schema: | ||
type: object | ||
x-kubernetes-preserve-unknown-fields: true | ||
names: | ||
kind: Experiment | ||
singular: experiment | ||
plural: experiments | ||
categories: | ||
- all | ||
- kubeflow | ||
- katib |
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,42 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: suggestions.kubeflow.org | ||
spec: | ||
group: kubeflow.org | ||
scope: Namespaced | ||
versions: | ||
- name: v1beta1 | ||
served: true | ||
storage: true | ||
additionalPrinterColumns: | ||
- name: Type | ||
type: string | ||
jsonPath: .status.conditions[-1:].type | ||
- name: Status | ||
type: string | ||
jsonPath: .status.conditions[-1:].status | ||
- name: Requested | ||
type: string | ||
jsonPath: .spec.requests | ||
- name: Assigned | ||
type: string | ||
jsonPath: .status.suggestionCount | ||
- name: Age | ||
type: date | ||
jsonPath: .metadata.creationTimestamp | ||
subresources: | ||
status: {} | ||
schema: | ||
openAPIV3Schema: | ||
type: object | ||
x-kubernetes-preserve-unknown-fields: true | ||
names: | ||
kind: Suggestion | ||
singular: suggestion | ||
plural: suggestions | ||
categories: | ||
- all | ||
- kubeflow | ||
- katib |
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,36 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: trials.kubeflow.org | ||
spec: | ||
group: kubeflow.org | ||
scope: Namespaced | ||
versions: | ||
- name: v1beta1 | ||
served: true | ||
storage: true | ||
additionalPrinterColumns: | ||
- name: Type | ||
type: string | ||
jsonPath: .status.conditions[-1:].type | ||
- name: Status | ||
type: string | ||
jsonPath: .status.conditions[-1:].status | ||
- name: Age | ||
type: date | ||
jsonPath: .metadata.creationTimestamp | ||
subresources: | ||
status: {} | ||
schema: | ||
openAPIV3Schema: | ||
type: object | ||
x-kubernetes-preserve-unknown-fields: true | ||
names: | ||
kind: Trial | ||
singular: trial | ||
plural: trials | ||
categories: | ||
- all | ||
- kubeflow | ||
- katib |
129 changes: 129 additions & 0 deletions
129
kubeflow/helm/katib/templates/controller/cluster-role.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,129 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
labels: {{- include "katib.labels" . | nindent 4 }} | ||
name: {{ include "katib.fullname" . }}-controller-cluster-role | ||
rules: | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- services | ||
verbs: | ||
- "get" | ||
- "list" | ||
- "watch" | ||
- "create" | ||
- "delete" | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- events | ||
verbs: | ||
- "create" | ||
- "patch" | ||
- "update" | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- serviceaccounts | ||
- persistentvolumes | ||
- persistentvolumeclaims | ||
verbs: | ||
- "get" | ||
- "list" | ||
- "watch" | ||
- "create" | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- namespaces | ||
- configmaps | ||
verbs: | ||
- "get" | ||
- "list" | ||
- "watch" | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- pods | ||
- pods/status | ||
verbs: | ||
- "get" | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- secrets | ||
verbs: | ||
- "get" | ||
- "list" | ||
- "watch" | ||
- "patch" | ||
- apiGroups: | ||
- apps | ||
resources: | ||
- deployments | ||
verbs: | ||
- "get" | ||
- "list" | ||
- "watch" | ||
- "create" | ||
- "delete" | ||
- apiGroups: | ||
- rbac.authorization.k8s.io | ||
resources: | ||
- roles | ||
- rolebindings | ||
verbs: | ||
- "get" | ||
- "create" | ||
- "list" | ||
- "watch" | ||
- apiGroups: | ||
- batch | ||
resources: | ||
- jobs | ||
- cronjobs | ||
verbs: | ||
- "get" | ||
- "list" | ||
- "watch" | ||
- "create" | ||
- "delete" | ||
- apiGroups: | ||
- kubeflow.org | ||
resources: | ||
- tfjobs | ||
- pytorchjobs | ||
- mpijobs | ||
- xgboostjobs | ||
- mxjobs | ||
verbs: | ||
- "get" | ||
- "list" | ||
- "watch" | ||
- "create" | ||
- "delete" | ||
- apiGroups: | ||
- kubeflow.org | ||
resources: | ||
- experiments | ||
- experiments/status | ||
- experiments/finalizers | ||
- trials | ||
- trials/status | ||
- trials/finalizers | ||
- suggestions | ||
- suggestions/status | ||
- suggestions/finalizers | ||
verbs: | ||
- "*" | ||
- apiGroups: | ||
- admissionregistration.k8s.io | ||
resources: | ||
- validatingwebhookconfigurations | ||
- mutatingwebhookconfigurations | ||
verbs: | ||
- "get" | ||
- "watch" | ||
- "list" | ||
- "patch" |
Oops, something went wrong.