Skip to content

Commit

Permalink
[Helm] Update Katib Chart for kubeflow v1.7.0 (#591)
Browse files Browse the repository at this point in the history
- update Katib Helm chart per kubeflow v1.7.0-rc.1 upstream
  • Loading branch information
jsitu777 authored Mar 2, 2023
1 parent cd70996 commit 0988cb2
Show file tree
Hide file tree
Showing 24 changed files with 438 additions and 160 deletions.
24 changes: 3 additions & 21 deletions charts/apps/katib/katib-external-db-with-kubeflow/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
apiVersion: v2
name: katib-external-db
appVersion: v0.15.0
description: A Helm chart for Kubernetes

# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
name: katib
type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "v0.14.0-rc.0"
version: 0.2.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
name: katib-ui
namespace: kubeflow
spec:
action: ALLOW
rules:
- from:
- source:
principals:
- cluster.local/ns/istio-system/sa/istio-ingressgateway-service-account
selector:
matchLabels:
katib.kubeflow.org/component: ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,39 +6,93 @@ rules:
- apiGroups:
- ''
resources:
- configmaps
- serviceaccounts
- services
verbs:
- get
- list
- watch
- create
- delete
- apiGroups:
- ''
resources:
- events
- namespaces
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/log
- pods/status
- secrets
verbs:
- '*'
- get
- 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:
Expand All @@ -51,10 +105,5 @@ rules:
- suggestions
- suggestions/status
- suggestions/finalizers
- tfjobs
- pytorchjobs
- mpijobs
- xgboostjobs
- mxjobs
verbs:
- '*'
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,21 @@ rules:
- suggestions
verbs:
- '*'
- apiGroups:
- ''
resources:
- pods
verbs:
- list
- apiGroups:
- ''
resources:
- pods/log
verbs:
- get
- apiGroups:
- authorization.k8s.io
resources:
- subjectaccessreviews
verbs:
- create
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,15 @@ rules:
- deletecollection
- patch
- update
- apiGroups:
- ''
resources:
- pods
verbs:
- list
- apiGroups:
- ''
resources:
- pods/log
verbs:
- get
Original file line number Diff line number Diff line change
@@ -1,28 +1,80 @@
apiVersion: v1
data:
early-stopping: "{\n \"medianstop\": {\n \"image\": \"docker.io/kubeflowkatib/earlystopping-medianstop:v0.14.0\"\
\n }\n}"
metrics-collector-sidecar: "{\n \"StdOut\": {\n \"image\": \"docker.io/kubeflowkatib/file-metrics-collector:v0.14.0\"\
\n },\n \"File\": {\n \"image\": \"docker.io/kubeflowkatib/file-metrics-collector:v0.14.0\"\
\n },\n \"TensorFlowEvent\": {\n \"image\": \"docker.io/kubeflowkatib/tfevent-metrics-collector:v0.14.0\"\
,\n \"resources\": {\n \"limits\": {\n \"memory\": \"1Gi\"\n \
\ }\n }\n }\n}"
suggestion: "{\n \"random\": {\n \"image\": \"docker.io/kubeflowkatib/suggestion-hyperopt:v0.14.0\"\
\n },\n \"tpe\": {\n \"image\": \"docker.io/kubeflowkatib/suggestion-hyperopt:v0.14.0\"\
\n },\n \"grid\": {\n \"image\": \"docker.io/kubeflowkatib/suggestion-chocolate:v0.14.0\"\
\n },\n \"hyperband\": {\n \"image\": \"docker.io/kubeflowkatib/suggestion-hyperband:v0.14.0\"\
\n },\n \"bayesianoptimization\": {\n \"image\": \"docker.io/kubeflowkatib/suggestion-skopt:v0.14.0\"\
\n },\n \"cmaes\": {\n \"image\": \"docker.io/kubeflowkatib/suggestion-goptuna:v0.14.0\"\
\n },\n \"sobol\": {\n \"image\": \"docker.io/kubeflowkatib/suggestion-goptuna:v0.14.0\"\
\n },\n \"multivariate-tpe\": {\n \"image\": \"docker.io/kubeflowkatib/suggestion-optuna:v0.14.0\"\
\n },\n \"enas\": {\n \"image\": \"docker.io/kubeflowkatib/suggestion-enas:v0.14.0\"\
,\n \"resources\": {\n \"limits\": {\n \"memory\": \"200Mi\"\n\
\ }\n }\n },\n \"darts\": {\n \"image\": \"docker.io/kubeflowkatib/suggestion-darts:v0.14.0\"\
\n },\n \"pbt\": {\n \"image\": \"docker.io/kubeflowkatib/suggestion-pbt:v0.14.0\"\
,\n \"persistentVolumeClaimSpec\": {\n \"accessModes\": [\n \"\
ReadWriteMany\"\n ],\n \"resources\": {\n \"requests\": {\n \
\ \"storage\": \"5Gi\"\n }\n }\n }\n }\n}"
early-stopping: |-
{
"medianstop": {
"image": "docker.io/kubeflowkatib/earlystopping-medianstop:v0.15.0-rc.1"
}
}
metrics-collector-sidecar: |-
{
"StdOut": {
"image": "docker.io/kubeflowkatib/file-metrics-collector:v0.15.0-rc.1"
},
"File": {
"image": "docker.io/kubeflowkatib/file-metrics-collector:v0.15.0-rc.1"
},
"TensorFlowEvent": {
"image": "docker.io/kubeflowkatib/tfevent-metrics-collector:v0.15.0-rc.1",
"resources": {
"limits": {
"memory": "1Gi"
}
}
}
}
suggestion: |-
{
"random": {
"image": "docker.io/kubeflowkatib/suggestion-hyperopt:v0.15.0-rc.1"
},
"tpe": {
"image": "docker.io/kubeflowkatib/suggestion-hyperopt:v0.15.0-rc.1"
},
"grid": {
"image": "docker.io/kubeflowkatib/suggestion-optuna:v0.15.0-rc.1"
},
"hyperband": {
"image": "docker.io/kubeflowkatib/suggestion-hyperband:v0.15.0-rc.1"
},
"bayesianoptimization": {
"image": "docker.io/kubeflowkatib/suggestion-skopt:v0.15.0-rc.1"
},
"cmaes": {
"image": "docker.io/kubeflowkatib/suggestion-goptuna:v0.15.0-rc.1"
},
"sobol": {
"image": "docker.io/kubeflowkatib/suggestion-goptuna:v0.15.0-rc.1"
},
"multivariate-tpe": {
"image": "docker.io/kubeflowkatib/suggestion-optuna:v0.15.0-rc.1"
},
"enas": {
"image": "docker.io/kubeflowkatib/suggestion-enas:v0.15.0-rc.1",
"resources": {
"limits": {
"memory": "200Mi"
}
}
},
"darts": {
"image": "docker.io/kubeflowkatib/suggestion-darts:v0.15.0-rc.1"
},
"pbt": {
"image": "docker.io/kubeflowkatib/suggestion-pbt:v0.15.0-rc.1",
"persistentVolumeClaimSpec": {
"accessModes": [
"ReadWriteMany"
],
"resources": {
"requests": {
"storage": "5Gi"
}
}
}
}
}
kind: ConfigMap
metadata:
name: katib-config
namespace: kubeflow
namespace: kubeflow
Loading

0 comments on commit 0988cb2

Please sign in to comment.