Skip to content

Commit

Permalink
Update kubeflow/katib manifests from v0.14.0-rc.0 (kubeflow#2234)
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwnasptd authored Jun 30, 2022
1 parent 6fce75e commit dcbd493
Show file tree
Hide file tree
Showing 48 changed files with 102 additions and 43 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ This repo periodically syncs all official Kubeflow components from their respect
| Jupyter Web App | apps/jupyter/jupyter-web-app/upstream | [v1.5.0](https://github.com/kubeflow/kubeflow/tree/v1.5.0/components/crud-web-apps/jupyter/manifests) |
| Tensorboards Web App | apps/tensorboard/tensorboards-web-app/upstream | [v1.5.0](https://github.com/kubeflow/kubeflow/tree/v1.5.0/components/crud-web-apps/tensorboards/manifests) |
| Volumes Web App | apps/volumes-web-app/upstream | [v1.5.0](https://github.com/kubeflow/kubeflow/tree/v1.5.0/components/crud-web-apps/volumes/manifests) |
| Katib | apps/katib/upstream | [v0.13.0](https://github.com/kubeflow/katib/tree/v0.13.0/manifests/v1beta1) |
| Katib | apps/katib/upstream | [v0.14.0-rc.0](https://github.com/kubeflow/katib/tree/v0.14.0-rc.0/manifests/v1beta1) |
| KFServing | apps/kfserving/upstream | [v0.6.1](https://github.com/kubeflow/kfserving/releases/tag/v0.6.1) |
| KServe | contrib/kserve/upstream | [v0.7.0](https://github.com/kserve/kserve/tree/v0.7.0) |
| Kubeflow Pipelines | apps/pipeline/upstream | [1.8.2](https://github.com/kubeflow/pipelines/tree/1.8.2/manifests/kustomize) |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: batch/v1
kind: Job
metadata:
Expand All @@ -15,7 +16,6 @@ spec:
containers:
- name: cert-generator
image: docker.io/kubeflowkatib/cert-generator
imagePullPolicy: Always
command: ["./katib-cert-generator"]
args: ["generate", "--namespace=$(KATIB_CORE_NAMESPACE)"]
env:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

Expand Down
2 changes: 2 additions & 0 deletions apps/katib/upstream/components/cert-generator/rbac.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
Expand All @@ -7,6 +8,7 @@ rules:
- ""
resources:
- secrets
- services
verbs:
- get
- create
Expand Down
1 change: 1 addition & 0 deletions apps/katib/upstream/components/controller/controller.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down
42 changes: 28 additions & 14 deletions apps/katib/upstream/components/controller/katib-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: ConfigMap
metadata:
Expand All @@ -7,13 +8,13 @@ data:
metrics-collector-sidecar: |-
{
"StdOut": {
"image": "docker.io/kubeflowkatib/file-metrics-collector:v0.13.0"
"image": "docker.io/kubeflowkatib/file-metrics-collector:v0.14.0-rc.0"
},
"File": {
"image": "docker.io/kubeflowkatib/file-metrics-collector:v0.13.0"
"image": "docker.io/kubeflowkatib/file-metrics-collector:v0.14.0-rc.0"
},
"TensorFlowEvent": {
"image": "docker.io/kubeflowkatib/tfevent-metrics-collector:v0.13.0",
"image": "docker.io/kubeflowkatib/tfevent-metrics-collector:v0.14.0-rc.0",
"resources": {
"limits": {
"memory": "1Gi"
Expand All @@ -24,44 +25,57 @@ data:
suggestion: |-
{
"random": {
"image": "docker.io/kubeflowkatib/suggestion-hyperopt:v0.13.0"
"image": "docker.io/kubeflowkatib/suggestion-hyperopt:v0.14.0-rc.0"
},
"tpe": {
"image": "docker.io/kubeflowkatib/suggestion-hyperopt:v0.13.0"
"image": "docker.io/kubeflowkatib/suggestion-hyperopt:v0.14.0-rc.0"
},
"grid": {
"image": "docker.io/kubeflowkatib/suggestion-chocolate:v0.13.0"
"image": "docker.io/kubeflowkatib/suggestion-chocolate:v0.14.0-rc.0"
},
"hyperband": {
"image": "docker.io/kubeflowkatib/suggestion-hyperband:v0.13.0"
"image": "docker.io/kubeflowkatib/suggestion-hyperband:v0.14.0-rc.0"
},
"bayesianoptimization": {
"image": "docker.io/kubeflowkatib/suggestion-skopt:v0.13.0"
"image": "docker.io/kubeflowkatib/suggestion-skopt:v0.14.0-rc.0"
},
"cmaes": {
"image": "docker.io/kubeflowkatib/suggestion-goptuna:v0.13.0"
"image": "docker.io/kubeflowkatib/suggestion-goptuna:v0.14.0-rc.0"
},
"sobol": {
"image": "docker.io/kubeflowkatib/suggestion-goptuna:v0.13.0"
"image": "docker.io/kubeflowkatib/suggestion-goptuna:v0.14.0-rc.0"
},
"multivariate-tpe": {
"image": "docker.io/kubeflowkatib/suggestion-optuna:v0.13.0"
"image": "docker.io/kubeflowkatib/suggestion-optuna:v0.14.0-rc.0"
},
"enas": {
"image": "docker.io/kubeflowkatib/suggestion-enas:v0.13.0",
"image": "docker.io/kubeflowkatib/suggestion-enas:v0.14.0-rc.0",
"resources": {
"limits": {
"memory": "200Mi"
}
}
},
"darts": {
"image": "docker.io/kubeflowkatib/suggestion-darts:v0.13.0"
"image": "docker.io/kubeflowkatib/suggestion-darts:v0.14.0-rc.0"
},
"pbt": {
"image": "docker.io/kubeflowkatib/suggestion-pbt:v0.14.0-rc.0",
"persistentVolumeClaimSpec": {
"accessModes": [
"ReadWriteMany"
],
"resources": {
"requests": {
"storage": "5Gi"
}
}
}
}
}
early-stopping: |-
{
"medianstop": {
"image": "docker.io/kubeflowkatib/earlystopping-medianstop:v0.13.0"
"image": "docker.io/kubeflowkatib/earlystopping-medianstop:v0.14.0-rc.0"
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

Expand Down
1 change: 1 addition & 0 deletions apps/katib/upstream/components/controller/rbac.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
Expand Down
1 change: 1 addition & 0 deletions apps/katib/upstream/components/controller/service.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Service
metadata:
Expand Down
11 changes: 5 additions & 6 deletions apps/katib/upstream/components/controller/trial-templates.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: ConfigMap
metadata:
Expand All @@ -14,7 +15,7 @@ data:
spec:
containers:
- name: training-container
image: docker.io/kubeflowkatib/mxnet-mnist:v0.13.0
image: docker.io/kubeflowkatib/mxnet-mnist:v0.14.0-rc.0
command:
- "python3"
- "/opt/mxnet-mnist/mnist.py"
Expand All @@ -32,7 +33,7 @@ data:
spec:
containers:
- name: training-container
image: docker.io/kubeflowkatib/enas-cnn-cifar10-cpu:v0.13.0
image: docker.io/kubeflowkatib/enas-cnn-cifar10-cpu:v0.14.0-rc.0
command:
- python3
- -u
Expand All @@ -53,8 +54,7 @@ data:
spec:
containers:
- name: pytorch
image: docker.io/kubeflowkatib/pytorch-mnist:v0.13.0
imagePullPolicy: Always
image: docker.io/kubeflowkatib/pytorch-mnist:v0.14.0-rc.0
command:
- "python3"
- "/opt/pytorch-mnist/mnist.py"
Expand All @@ -68,8 +68,7 @@ data:
spec:
containers:
- name: pytorch
image: docker.io/kubeflowkatib/pytorch-mnist:v0.13.0
imagePullPolicy: Always
image: docker.io/kubeflowkatib/pytorch-mnist:v0.14.0-rc.0
command:
- "python3"
- "/opt/pytorch-mnist/mnist.py"
Expand Down
1 change: 1 addition & 0 deletions apps/katib/upstream/components/crd/experiment.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
Expand Down
1 change: 1 addition & 0 deletions apps/katib/upstream/components/crd/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

Expand Down
1 change: 1 addition & 0 deletions apps/katib/upstream/components/crd/suggestion.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
Expand Down
1 change: 1 addition & 0 deletions apps/katib/upstream/components/crd/trial.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
Expand Down
1 change: 1 addition & 0 deletions apps/katib/upstream/components/db-manager/db-manager.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

Expand Down
1 change: 1 addition & 0 deletions apps/katib/upstream/components/db-manager/service.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Service
metadata:
Expand Down
1 change: 1 addition & 0 deletions apps/katib/upstream/components/mysql/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

Expand Down
9 changes: 6 additions & 3 deletions apps/katib/upstream/components/mysql/mysql.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
Expand All @@ -21,7 +22,7 @@ spec:
spec:
containers:
- name: katib-mysql
image: mysql:8.0.26
image: mysql:8.0.29
args:
- --datadir
- /var/lib/mysql/datadir
Expand All @@ -44,15 +45,17 @@ spec:
- "/bin/bash"
- "-c"
- "mysql -D ${MYSQL_DATABASE} -u root -p${MYSQL_ROOT_PASSWORD} -e 'SELECT 1'"
periodSeconds: 2
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 10
livenessProbe:
exec:
command:
- "/bin/bash"
- "-c"
- "mysqladmin ping -u root -p${MYSQL_ROOT_PASSWORD}"
periodSeconds: 2
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 10
startupProbe:
exec:
Expand Down
1 change: 1 addition & 0 deletions apps/katib/upstream/components/mysql/pvc.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
Expand Down
3 changes: 2 additions & 1 deletion apps/katib/upstream/components/mysql/secret.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: katib-mysql-secrets
data:
MYSQL_ROOT_PASSWORD: dGVzdA== # "test"
MYSQL_ROOT_PASSWORD: dGVzdA== # "test"
1 change: 1 addition & 0 deletions apps/katib/upstream/components/mysql/service.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Service
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kubeflow
Expand Down
1 change: 1 addition & 0 deletions apps/katib/upstream/components/namespace/namespace.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Namespace
metadata:
Expand Down
1 change: 1 addition & 0 deletions apps/katib/upstream/components/ui/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

Expand Down
1 change: 1 addition & 0 deletions apps/katib/upstream/components/ui/rbac.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
Expand Down
1 change: 1 addition & 0 deletions apps/katib/upstream/components/ui/service.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Service
metadata:
Expand Down
1 change: 1 addition & 0 deletions apps/katib/upstream/components/ui/ui.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down
1 change: 1 addition & 0 deletions apps/katib/upstream/components/webhook/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

Expand Down
1 change: 1 addition & 0 deletions apps/katib/upstream/components/webhook/webhooks.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kubeflow
Expand All @@ -21,13 +22,13 @@ resources:
images:
- name: docker.io/kubeflowkatib/katib-controller
newName: docker.io/kubeflowkatib/katib-controller
newTag: v0.13.0
newTag: v0.14.0-rc.0
- name: docker.io/kubeflowkatib/katib-db-manager
newName: docker.io/kubeflowkatib/katib-db-manager
newTag: v0.13.0
newTag: v0.14.0-rc.0
- name: docker.io/kubeflowkatib/katib-ui
newName: docker.io/kubeflowkatib/katib-ui
newTag: v0.13.0
newTag: v0.14.0-rc.0

patchesStrategicMerge:
- patches/katib-cert-injection.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
varReference:
- path: spec/commonName
kind: Certificate
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kubeflow
Expand All @@ -19,16 +20,16 @@ resources:
images:
- name: docker.io/kubeflowkatib/katib-controller
newName: docker.io/kubeflowkatib/katib-controller
newTag: v0.13.0
newTag: v0.14.0-rc.0
- name: docker.io/kubeflowkatib/katib-db-manager
newName: docker.io/kubeflowkatib/katib-db-manager
newTag: v0.13.0
newTag: v0.14.0-rc.0
- name: docker.io/kubeflowkatib/katib-ui
newName: docker.io/kubeflowkatib/katib-ui
newTag: v0.13.0
newTag: v0.14.0-rc.0
- name: docker.io/kubeflowkatib/cert-generator
newName: docker.io/kubeflowkatib/cert-generator
newTag: v0.13.0
newTag: v0.14.0-rc.0
patchesStrategicMerge:
- patches/db-manager.yaml
# Modify katib-mysql-secrets with parameters for the DB.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down
Loading

0 comments on commit dcbd493

Please sign in to comment.