Skip to content

Commit db9a3fd

Browse files
Synchronize katib manifests v0.19.0 (#3288)
* Update kubeflow/katib manifests from v0.19.0 Signed-off-by: juliusvonkohout <[email protected]> * update script Signed-off-by: juliusvonkohout <[email protected]> * Update katib_test.yaml Signed-off-by: Julius von Kohout <[email protected]> * Update katib_test.yaml Signed-off-by: Julius von Kohout <[email protected]> * Update GitHub Actions workflow for Katib tests Updated actions/checkout version and added a step to free up disk space. Signed-off-by: Julius von Kohout <[email protected]> * Reduce trial counts in katib_test.yaml Signed-off-by: Julius von Kohout <[email protected]> * Update katib_test.sh Signed-off-by: Julius von Kohout <[email protected]> * Update katib_test.yaml Signed-off-by: Julius von Kohout <[email protected]> * Change optimization goal from 0.5 to 0.1 Signed-off-by: Julius von Kohout <[email protected]> --------- Signed-off-by: juliusvonkohout <[email protected]> Signed-off-by: Julius von Kohout <[email protected]>
1 parent ba881a4 commit db9a3fd

File tree

24 files changed

+469
-373
lines changed

24 files changed

+469
-373
lines changed

.github/workflows/katib_test.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@v5
27+
28+
- name: Free up disk space
29+
run: ./tests/free-disk-space.sh
2730

2831
- name: Install KinD, Create KinD cluster and Install kustomize
2932
run: ./tests/install_KinD_create_KinD_cluster_install_kustomize.sh
@@ -55,10 +58,6 @@ jobs:
5558
- name: Install Katib
5659
run: ./tests/katib_install.sh
5760

58-
59-
- name: Install Dependencies
60-
run: pip install pytest kubernetes kfp==2.13.0 requests
61-
6261
- name: Port-forward the istio-ingress gateway
6362
run: ./tests/port_forward_gateway.sh
6463

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ This repository periodically synchronizes all official Kubeflow components from
6767
| Jupyter Web Application | applications/jupyter/jupyter-web-app/upstream | [v1.10.0](https://github.com/kubeflow/kubeflow/tree/v1.10.0/components/crud-web-apps/jupyter/manifests) | 4m | 231Mi | 0GB |
6868
| Tensorboards Web Application | applications/tensorboard/tensorboards-web-app/upstream | [v1.10.0](https://github.com/kubeflow/kubeflow/tree/v1.10.0/components/crud-web-apps/tensorboards/manifests) | | | |
6969
| Volumes Web Application | applications/volumes-web-app/upstream | [v1.10.0](https://github.com/kubeflow/kubeflow/tree/v1.10.0/components/crud-web-apps/volumes/manifests) | 4m | 226Mi | 0GB |
70-
| Katib | applications/katib/upstream | [v0.18.0](https://github.com/kubeflow/katib/tree/v0.18.0/manifests/v1beta1) | 13m | 476Mi | 10GB |
70+
| Katib | applications/katib/upstream | [v0.19.0](https://github.com/kubeflow/katib/tree/v0.19.0/manifests/v1beta1) | 13m | 476Mi | 10GB |
7171
| KServe | applications/kserve/kserve | [v0.15.0](https://github.com/kserve/kserve/releases/tag/v0.15.0/install/v0.15.0) | 600m | 1200Mi | 0GB |
7272
| KServe Models Web Application | applications/kserve/models-web-app | [v0.15.0](https://github.com/kserve/models-web-app/tree/v0.15.0/config) | 6m | 259Mi | 0GB |
7373
| Kubeflow Pipelines | applications/pipeline/upstream | [2.15.0](https://github.com/kubeflow/pipelines/tree/2.15.0/manifests/kustomize) | 970m | 3552Mi | 35GB |

applications/katib/upstream/components/controller/rbac.yaml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,23 @@ rules:
9191
- "create"
9292
- "delete"
9393
- apiGroups:
94-
- trainer.kubeflow.org
94+
- jobset.x-k8s.io
9595
resources:
96-
- trainjobs
96+
- jobsets
9797
verbs:
98-
- "get"
99-
- "list"
100-
- "watch"
101-
- "create"
102-
- "delete"
98+
- "get"
99+
- "list"
100+
- "watch"
101+
- apiGroups:
102+
- trainer.kubeflow.org
103+
resources:
104+
- trainjobs
105+
verbs:
106+
- "create"
107+
- "get"
108+
- "list"
109+
- "watch"
110+
- "delete"
103111
- apiGroups:
104112
- kubeflow.org
105113
resources:

applications/katib/upstream/components/controller/trial-templates.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ data:
1515
spec:
1616
containers:
1717
- name: training-container
18-
image: ghcr.io/kubeflow/katib/pytorch-mnist-cpu:v0.18.0
18+
image: ghcr.io/kubeflow/katib/pytorch-mnist-cpu:v0.19.0
1919
command:
2020
- "python3"
2121
- "/opt/pytorch-mnist/mnist.py"
@@ -33,7 +33,7 @@ data:
3333
spec:
3434
containers:
3535
- name: training-container
36-
image: ghcr.io/kubeflow/katib/enas-cnn-cifar10-cpu:v0.18.0
36+
image: ghcr.io/kubeflow/katib/enas-cnn-cifar10-cpu:v0.19.0
3737
command:
3838
- python3
3939
- -u
@@ -54,7 +54,7 @@ data:
5454
spec:
5555
containers:
5656
- name: pytorch
57-
image: ghcr.io/kubeflow/katib/pytorch-mnist-cpu:v0.18.0
57+
image: ghcr.io/kubeflow/katib/pytorch-mnist-cpu:v0.19.0
5858
command:
5959
- "python3"
6060
- "/opt/pytorch-mnist/mnist.py"
@@ -68,7 +68,7 @@ data:
6868
spec:
6969
containers:
7070
- name: pytorch
71-
image: ghcr.io/kubeflow/katib/pytorch-mnist-cpu:v0.18.0
71+
image: ghcr.io/kubeflow/katib/pytorch-mnist-cpu:v0.19.0
7272
command:
7373
- "python3"
7474
- "/opt/pytorch-mnist/mnist.py"

applications/katib/upstream/components/ui/ui.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ spec:
1717
katib.kubeflow.org/component: ui
1818
sidecar.istio.io/inject: "false"
1919
spec:
20-
securityContext:
21-
seccompProfile:
22-
type: RuntimeDefault
2320
containers:
2421
- name: katib-ui
2522
image: ghcr.io/kubeflow/katib/katib-ui
@@ -39,6 +36,8 @@ spec:
3936
runAsNonRoot: true
4037
allowPrivilegeEscalation: false
4138
runAsUser: 1000
39+
seccompProfile:
40+
type: RuntimeDefault
4241
capabilities:
4342
drop:
4443
- ALL

applications/katib/upstream/installs/katib-cert-manager/certificate.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ metadata:
55
name: katib-webhook-cert
66
spec:
77
isCA: true
8-
commonName: $(KATIB_SERVICE_NAME).$(KATIB_NAMESPACE).svc
8+
commonName: KATIB_SERVICE_NAME_PLACEHOLDER.KATIB_NAMESPACE_PLACEHOLDER.svc
99
dnsNames:
10-
- $(KATIB_SERVICE_NAME).$(KATIB_NAMESPACE).svc
11-
- $(KATIB_SERVICE_NAME).$(KATIB_NAMESPACE).svc.cluster.local
10+
- KATIB_SERVICE_NAME_PLACEHOLDER.KATIB_NAMESPACE_PLACEHOLDER.svc
11+
- KATIB_SERVICE_NAME_PLACEHOLDER.KATIB_NAMESPACE_PLACEHOLDER.svc.cluster.local
1212
issuerRef:
1313
kind: Issuer
1414
name: katib-selfsigned-issuer

applications/katib/upstream/installs/katib-cert-manager/katib-config.yaml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ init:
55
controller:
66
webhookPort: 8443
77
trialResources:
8+
- TrainJob.v1alpha1.trainer.kubeflow.org
89
- Job.v1.batch
910
- TFJob.v1.kubeflow.org
1011
- PyTorchJob.v1.kubeflow.org
@@ -13,40 +14,40 @@ init:
1314
runtime:
1415
metricsCollectors:
1516
- kind: StdOut
16-
image: ghcr.io/kubeflow/katib/file-metrics-collector:v0.18.0
17+
image: ghcr.io/kubeflow/katib/file-metrics-collector:v0.19.0
1718
- kind: File
18-
image: ghcr.io/kubeflow/katib/file-metrics-collector:v0.18.0
19+
image: ghcr.io/kubeflow/katib/file-metrics-collector:v0.19.0
1920
- kind: TensorFlowEvent
20-
image: ghcr.io/kubeflow/katib/tfevent-metrics-collector:v0.18.0
21+
image: ghcr.io/kubeflow/katib/tfevent-metrics-collector:v0.19.0
2122
resources:
2223
limits:
2324
memory: 1Gi
2425
suggestions:
2526
- algorithmName: random
26-
image: ghcr.io/kubeflow/katib/suggestion-hyperopt:v0.18.0
27+
image: ghcr.io/kubeflow/katib/suggestion-hyperopt:v0.19.0
2728
- algorithmName: tpe
28-
image: ghcr.io/kubeflow/katib/suggestion-hyperopt:v0.18.0
29+
image: ghcr.io/kubeflow/katib/suggestion-hyperopt:v0.19.0
2930
- algorithmName: grid
30-
image: ghcr.io/kubeflow/katib/suggestion-optuna:v0.18.0
31+
image: ghcr.io/kubeflow/katib/suggestion-optuna:v0.19.0
3132
- algorithmName: hyperband
32-
image: ghcr.io/kubeflow/katib/suggestion-hyperband:v0.18.0
33+
image: ghcr.io/kubeflow/katib/suggestion-hyperband:v0.19.0
3334
- algorithmName: bayesianoptimization
34-
image: ghcr.io/kubeflow/katib/suggestion-skopt:v0.18.0
35+
image: ghcr.io/kubeflow/katib/suggestion-skopt:v0.19.0
3536
- algorithmName: cmaes
36-
image: ghcr.io/kubeflow/katib/suggestion-goptuna:v0.18.0
37+
image: ghcr.io/kubeflow/katib/suggestion-goptuna:v0.19.0
3738
- algorithmName: sobol
38-
image: ghcr.io/kubeflow/katib/suggestion-goptuna:v0.18.0
39+
image: ghcr.io/kubeflow/katib/suggestion-goptuna:v0.19.0
3940
- algorithmName: multivariate-tpe
40-
image: ghcr.io/kubeflow/katib/suggestion-optuna:v0.18.0
41+
image: ghcr.io/kubeflow/katib/suggestion-optuna:v0.19.0
4142
- algorithmName: enas
42-
image: ghcr.io/kubeflow/katib/suggestion-enas:v0.18.0
43+
image: ghcr.io/kubeflow/katib/suggestion-enas:v0.19.0
4344
resources:
4445
limits:
4546
memory: 400Mi
4647
- algorithmName: darts
47-
image: ghcr.io/kubeflow/katib/suggestion-darts:v0.18.0
48+
image: ghcr.io/kubeflow/katib/suggestion-darts:v0.19.0
4849
- algorithmName: pbt
49-
image: ghcr.io/kubeflow/katib/suggestion-pbt:v0.18.0
50+
image: ghcr.io/kubeflow/katib/suggestion-pbt:v0.19.0
5051
persistentVolumeClaimSpec:
5152
accessModes:
5253
- ReadWriteMany
@@ -55,4 +56,4 @@ runtime:
5556
storage: 5Gi
5657
earlyStoppings:
5758
- algorithmName: medianstop
58-
image: ghcr.io/kubeflow/katib/earlystopping-medianstop:v0.18.0
59+
image: ghcr.io/kubeflow/katib/earlystopping-medianstop:v0.19.0

0 commit comments

Comments
 (0)