19 Commits
Author SHA1 Message Date
Shao WangandGitHub cd320f5ee2 Upgrade Kubernetes Version to 1.34 (#2573)
* chore: update Makefile and go.mod

Signed-off-by: Electronic-Waste <[email protected]>

* chore: make generate.

Signed-off-by: Electronic-Waste <[email protected]>

* chore(ci): update k8s version.

Signed-off-by: Electronic-Waste <[email protected]>

* chore(trail): Update UTs to remove version related logic.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(ci): update setup-minkube version.

Signed-off-by: Electronic-Waste <[email protected]>

---------

Signed-off-by: Electronic-Waste <[email protected]>
2025-09-22 12:03:01 +00:00
Shao WangandGitHub c6d1c993e3 Upgrade Kubernetes Version to 1.33 & Go to 1.24 (#2572)
Signed-off-by: Electronic-Waste <[email protected]>
2025-09-18 10:59:35 +00:00
Shao WangandGitHub 4a0f2c6609 Upgrade Kubernetes Version to 1.32.2 (#2521)
* chore(Makefile): upgrade envtest version to 1.32 & setup-envtest to release-0.20.

Signed-off-by: Electronic-Waste <[email protected]>

* chore(gomod): upgrade go version to 1.23.0 & update package version.

Signed-off-by: Electronic-Waste <[email protected]>

* chore: make generate.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(ci): add 1.32 support & remove 1.29 support.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(test): add FailureTarget condition to job & add startTime.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(test): add SuccessCriteriaMet condition.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(test): add StartTime.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(test): create a new Job after the failed job.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(test): move the failed job test to the end.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(test): update job to indexed job.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(test): seperate job name between failed job and succeeded job.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(test): remove SuccessPolicy.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(test): disable SuccessCriteriaMet in 1.30.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(test): delete some fields in Job.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(test): update comments.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(test): update comments.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(ci): readd v1.29 version.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(test): fix error in ci.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(test): fix version error.

Signed-off-by: Electronic-Waste <[email protected]>

---------

Signed-off-by: Electronic-Waste <[email protected]>
2025-09-13 15:19:31 +00:00
Shao WangandGitHub 5e3928f32b Upgrade Kubernetes to v1.31.3 (#2478)
* chore(ci): add k8s version 1.31.

Signed-off-by: Electronic-Waste <[email protected]>

* chore(Makefile): upgrade envtest version to 1.31 & setup-envtest to release-0.19.

Signed-off-by: Electronic-Waste <[email protected]>

* chore: update k8s related package in go.mod

Signed-off-by: Electronic-Waste <[email protected]>

* chore: make generate.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(test): add SkipNameValidation option to test frame.

Signed-off-by: Electronic-Waste <[email protected]>

* refactor(grpc): remove deprecated grpc.Dial implementation.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(dependency): remove dependency on k8s v1.28

Signed-off-by: Electronic-Waste <[email protected]>

* fix: add type assertion to ptr.To

Signed-off-by: Electronic-Waste <[email protected]>

---------

Signed-off-by: Electronic-Waste <[email protected]>
2025-01-14 11:06:08 +00:00
Shao WangandGitHub 6eaa64b2ee Upgrade Kubernetes to v1.30.7 (#2463)
* chore: update go.mod & go mod tidy.

Signed-off-by: Electronic-Waste <[email protected]>

* chore: replace source.Kind and EnqueueRequestForXxx with typed func call.

Signed-off-by: Electronic-Waste <[email protected]>

* chore: update admission.Decoder in webhook.

Signed-off-by: Electronic-Waste <[email protected]>

* chore: update Makefile.

Signed-off-by: Electronic-Waste <[email protected]>

* fix: update codegen script.

Signed-off-by: Electronic-Waste <[email protected]>

* chore: execute update-codegen.sh.

Signed-off-by: Electronic-Waste <[email protected]>

* chore: update openapigen & generate new openapi definitions.

Signed-off-by: Electronic-Waste <[email protected]>

* fix: fix typo error.

Signed-off-by: Electronic-Waste <[email protected]>

* chore: update k8s version in CI.

Signed-off-by: Electronic-Waste <[email protected]>

* test(codegen): output CODEGEN_PKG.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(codegen): move shell check annotation.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(ci): change k8s version in go test to 1.30.0.

Signed-off-by: Electronic-Waste <[email protected]>

* fix: remove toolchain declaration in go.mod

Signed-off-by: Electronic-Waste <[email protected]>

* fix: remove codegen dependency in openapigen.sh.

Signed-off-by: Electronic-Waste <[email protected]>

* fix: fix bugs in recursive dir detection.

Signed-off-by: Electronic-Waste <[email protected]>

* fix: remove a blank line.

Signed-off-by: Electronic-Waste <[email protected]>

* fix: remove klog/v2

Signed-off-by: Electronic-Waste <[email protected]>

* chore(codegen): add three dots in the comment.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(codegen): fix package dependency on k8s.io/code-generator.

Signed-off-by: Electronic-Waste <[email protected]>

* chore(Makefile): add go-mod-download.

Signed-off-by: Electronic-Waste <[email protected]>

---------

Signed-off-by: Electronic-Waste <[email protected]>
2025-01-10 18:46:06 +00:00
Shashank MittalandGitHub 484f7bf253 [GSoC] Added DistributionType to Experiment API (#2377)
Signed-off-by: Shashank Mittal <[email protected]>

modified feasibleSpace

Removed Categorical from Distribution
2024-07-31 04:37:05 +00:00
Yuki IwaiandGitHub 91236421fd Drop Kubernetes v1.26, and support Kubernetes v1.29 (#2308)
Signed-off-by: Yuki Iwai <[email protected]>
2024-04-15 10:55:51 +00:00
Yuki IwaiandGitHub 2c4dfbe861 Drop Kubernetes v1.25, and Support Kubernetes v1.28 (#2303)
Signed-off-by: Yuki Iwai <[email protected]>
2024-04-11 16:14:47 +00:00
Yuki IwaiandGitHub 1604d9b32b Drop Kubernetes v1.24 and support Kubernetes v1.27 (#2182)
Signed-off-by: Yuki Iwai <[email protected]>
2023-08-01 16:32:06 +00:00
Yuki IwaiandGitHub 3b6aa7fc8e Drop Kubernetes v1.23 and support Kubernetes v1.26 (#2177)
Signed-off-by: Yuki Iwai <[email protected]>
2023-07-31 20:15:29 +00:00
Yuki IwaiandGitHub 7f843315df [chore] Upgrade Go version to v1.19 (#1995)
Signed-off-by: tenzen-y <[email protected]>

Signed-off-by: tenzen-y <[email protected]>
2022-11-03 03:02:04 +00:00
Yuki IwaiandGitHub e77903667f Drop Kuberenetes v1.21 and introduce Kubernetes v1.24 (#1953)
Signed-off-by: tenzen-y <[email protected]>

Signed-off-by: tenzen-y <[email protected]>
2022-09-17 12:59:45 +00:00
Yuki IwaiandGitHub fc8149e917 chore: Upgrade Go libraries to resolve some security issues in the katib-controller (#1888) 2022-06-07 06:33:30 +00:00
Yuki IwaiandGitHub 1611db0f37 Upgrade the kubebuilder to v3.2.0 and Kubernetes Go libraries to v1.22.2 (#1861)
* upgrade kubebuilder version from v2.3.0 to v3.2.0

* fix envtest for experiment-controller

* fix suite test

To avoid the `timeout waiting for process kube-apiserver to stop` error, we must use the `context.WithCancel`.
Ref: https://github.com/kubernetes-sigs/controller-runtime/issues/1571#issuecomment-945535598

* update Go version to v1.17 in kubeflow-katib-presubmit

To avoid the `../../../../pkg/mod/k8s.io/[email protected].2/plugin/pkg/client/auth/exec/metrics.go:21:2: package io/fs is not in GOROOT (/usr/local/go/src/io/fs)` error,
we must use Go v1.16 or later, but as described in https://github.com/kubeflow/training-operator/issues/1581,
we do not have permission to update `public.ecr.aws/j1r0q0g6/kubeflow-testing:latest` so we need to update it in this.
2022-05-22 18:33:00 +00:00
Yuki IwaiandGitHub 152f19185e Add shellcheck (#1857)
* add shellcheck

* fix /test/e2e/v1beta1/scripts/run-e2e-experiment.sh

* fix test/e2e/v1beta1/scripts/setup-katib.sh

* fix pkg/apis/manager/[v1beta1|health]/build.sh

* fix scripts/v1beta1/deploy.sh

* fix scripts/v1beta1/release.sh

* fix scripts/v1beta1/update-images.sh

* fix scripts/v1beta1/undeploy.sh

* fix hack/update-openapigen.sh

* update boilerplate

* fix hack/gen-python-sdk/gen-sdk.sh

* fix hack/update-codegen.sh

* fix hack/update-mockgen.sh

* use /usr/bin/env bash

* add path to update-boilerplate.sh

* fix script to update boilerplate

* fix comment
2022-05-03 01:15:00 +00:00
Andrey VelichkevichandGitHub 558e1c5aeb Add script to update boilerplate (#1491)
* Update boilerplate for clients

* Modify not format boilerplate

* Modify boilerplate script for go files

* Update boilerplate manually for go files

* Modify script

* Generate boilerplate for Go files

* Add script for Python files

* Generate boilerplate for the Py files

* Include shell

* Generate boilerplate for shell scripts

* Add to makefile

* Fix comments

* Change comments
2021-03-19 23:48:17 -07:00
3a85423198 Disable dynamic creation for admission hooks and update dependencies (#1450)
* Update all dependencies to the latest versions
Add cert generator for the webhooks
Add manifests for the webhooks

* Modify Dockerfile for manager

* Remove comments

* Update Dockerfiles for Go images

* Add signerName: kubernetes.io/kube-apiserver-client to csr
Update roles for controller RBAC
Changes after review

* Fix not installed CRD error

* Update scripts

* Revert operator changes

* Describe controller pod in test

* Add log line to test

* Move kubectl version

* Change csr version to v1beta1

* Remove log

* Change signerName to kubernetes.io/kubelet-serving

* Modify common name

Co-authored-by: Yuki Iwai <[email protected]>

* Add env variable to init container

Co-authored-by: Yuki Iwai <[email protected]>

* Get namespace from env

Co-authored-by: Yuki Iwai <[email protected]>

* Remove quotes

* Remove spaces

* Run cert generator script from the Job

* Modify new ui Dockerfile

* Disable Actions on PR

* Modify setup Katib script

* Fix PODNUM

* Remove imagePullPolicy from PyTorch and TFJob examples

* Disable Pytorch examples in e2e

* Add sleep to e2e test

* Activate Actions

* Disable actions

Co-authored-by: Yuki Iwai <[email protected]>
2021-03-06 09:29:49 -08:00
Andrey VelichkevichandGitHub 2e226de7e5 Remove v1alpha3 version (#1396)
* Remove v1alpha3 files

* Modify SDK

* Change dict() to object
2020-11-30 06:48:50 -08:00
Xu XiaoandGitHub 4987218fdf add clientset/lister/informer generation (#1194)
* adapt v1beta1

* add resources for v1alpha3

* fix

* refine update-codegen script

* add katib apiVersion as prefix of swagger version
2020-06-10 08:08:51 -07:00