Commit Graph
14 Commits
Author SHA1 Message Date
Yuki IwaiandGitHub 0166d87791 Add clientset for MPIJob, PytorchJob, MXJob, and XGBoostJob (#1610) 2022-06-14 04:20:31 +00:00
Johnu GeorgeandGitHub c378f8642e Adding MPI python sdk (#1608)
* Adding latest image tag

* Update manifests with latest image tag

* Update k8s dependencies to v0.24.1

* Update manifests

* Update k8s matrix for integration tests

* Update k8s matrix for unit tests

* Fix k8s versions

* Fix version

* Add scripts in separate file

* Fix Makefile

* Cleanup Makefile

* Addressing review comments

* Generating sdk for MPI

* Make list metadata optional

* Adding open gen file

* Commit swagger change

* Adding XGboost python sdk

* Adding MPI python sdk
2022-06-10 11:25:19 +00:00
Johnu GeorgeandGitHub c21c56f9e0 Adding XGboost Python sdk (#1607)
* Adding latest image tag

* Update manifests with latest image tag

* Update k8s dependencies to v0.24.1

* Update manifests

* Update k8s matrix for integration tests

* Update k8s matrix for unit tests

* Fix k8s versions

* Fix version

* Add scripts in separate file

* Fix Makefile

* Cleanup Makefile

* Addressing review comments

* Generating sdk for MPI

* Make list metadata optional

* Adding open gen file

* Commit swagger change

* Adding XGboost python sdk
2022-06-09 21:20:19 +00:00
Johnu GeorgeandGitHub 9a7e72b19e Generating MPI python sdk (#1606)
* Adding latest image tag

* Update manifests with latest image tag

* Update k8s dependencies to v0.24.1

* Update manifests

* Update k8s matrix for integration tests

* Update k8s matrix for unit tests

* Fix k8s versions

* Fix version

* Add scripts in separate file

* Fix Makefile

* Cleanup Makefile

* Addressing review comments

* Generating sdk for MPI

* Make list metadata optional

* Adding open gen file

* Commit swagger change
2022-06-09 12:54:01 +00:00
Johnu GeorgeandGitHub f7140508cd Update k8s dependencies to v0.24.1 (#1604)
* Adding latest image tag

* Update manifests with latest image tag

* Update k8s dependencies to v0.24.1

* Update manifests

* Update k8s matrix for integration tests

* Update k8s matrix for unit tests

* Fix k8s versions

* Fix version

* Add scripts in separate file

* Fix Makefile

* Cleanup Makefile

* Addressing review comments
2022-06-06 01:25:28 +00:00
Alex LembiyeuskiandGitHub f7fad2b95b Release Python SDK 1.4.0 (#1541)
* Bump python package and api versions

* Prevent path extension fix from being overriden by code gen

* ./hack/python-sdk/gen-sdk.sh
2022-03-07 09:42:53 +00:00
Ce GaoandGitHub 8082044198 feat(pytorch): Support elastic training (#1453)
* chore: Update codegen and vendor

Signed-off-by: Ce Gao <[email protected]>

* fix: Update git config

Signed-off-by: Ce Gao <[email protected]>

* fix: Codegen

Signed-off-by: Ce Gao <[email protected]>

* feat: Add elastic examples

Signed-off-by: Ce Gao <[email protected]>

* chore: Update go mod

Signed-off-by: Ce Gao <[email protected]>

* chore: Update manifest

Signed-off-by: Ce Gao <[email protected]>

* feat: Implement elstic policy

Signed-off-by: Ce Gao <[email protected]>

* chore: Update vendor

Signed-off-by: Ce Gao <[email protected]>

* chore: Update swagger

Signed-off-by: Ce Gao <[email protected]>

* fix: Address comments

Signed-off-by: Ce Gao <[email protected]>
2021-11-26 06:35:12 +00:00
Andrey VelichkevichandGitHub a6aec1b7b9 Update links and files with the new URL (#1434)
* Update links and corresponding files for training-operator repository
Use Go 1.17

* Generate SDK

* Remove Travis

* Modify developer guide

* Fix go mod

* Fix legacy docs

* Generate SDK

* Remove travis

* Update ignore files
2021-10-09 13:50:44 -07:00
Alex LembiyeuskiandGitHub 542679ae5d Generate a single swagger.json file for all frameworks (#1437)
* Update tools for swagger generation

* Regenerate SDK

* Cleanup

* Use absolute path for swagger file

* Refactor imports
2021-10-08 19:45:43 -07:00
Alex LembiyeuskiandGitHub 3daf40fe6a Add Python SDK for Kubeflow Training Operator (#1420)
* Add Python SDK for Kubeflow Training Operator

* Update example notebooks

* Update SDK generation tooling and docs

* Re-generate SDK

* Allow to specify container name in 'get_logs' methods

* Generalize job labels

* Check if attribute exists

* Address code review comments
2021-10-03 15:46:49 -07:00
Jiaxin ShanandGitHub d7a46413f2 Update scripts to generate sdk for all frameworks (#1389)
* Slim OpenAPI definitions by removing unrelated api

openapi-gen input-dirs includes a few k8s.io/api and k8s.io/apimachinery packages which makes openapi_generated.go very large. Swagger files created by them are large as well.
This change help remove unnecessary references.

Signed-off-by: Jiaxin Shan <[email protected]>

* Update OpenAPI generation scripts

1. Update gen-sdk.sh and main.go to support all frameworks
2. Generate swagger.json for all frameworks

Signed-off-by: Jiaxin Shan <[email protected]>

* Merge swagger files into one

The swagger.json can not be merged smartly. I manually update info.description, info.title in hack/python-sdk/swagger.json

Signed-off-by: Jiaxin Shan <[email protected]>
2021-09-28 12:26:47 -07:00
Jin Chi HeandGitHub fd4b21799b Update swagger-codegen-cli URL (#1172) 2020-06-14 20:17:56 -07:00
Jin Chi HeandKubernetes Prow Robot f3110fd484 Enhance tfjobs sdk docs (#1114) 2019-12-10 00:29:29 -08:00
Jin Chi HeandKubernetes Prow Robot c69649a30b generate TFJob Python SDK (#1103) 2019-12-09 00:05:10 -08:00