Skip to content

Xpk update#1

Merged
Obliviour merged 14 commits into
mainfrom
xpk-update
Oct 28, 2023
Merged

Xpk update#1
Obliviour merged 14 commits into
mainfrom
xpk-update

Conversation

@Obliviour
Copy link
Copy Markdown
Collaborator

Fixes / Features

Merges pull requests from maxtext xpk repo

Testing / Documentation

No testing done since we are pulling code from a different repo.

Obliviour and others added 14 commits October 27, 2023 23:54
[xpk] Incorporate xpk into maxtext directory for open source access

Tested all commands listed in the README. Run commands from maxtext home directory.
Allow kueue setup to retry up to 5 times in cluster create
Update default docker image to python:3.10 since python:3.8 is deprec…
CacheImage now explicitly selects set cluster.
Correctly error if the project name or zone name is unset
[xpk] Use kueue github repo manifest file instead of local one
* initial commit

* add gke_accelerator type for v4

* remove unused import

* run pylint on xpk

* add command line flags

* fix nits

* add license

* fix pylint

* better function name

* run pylint on all python files

* support all v4 slices

* remove cluster type flag

* revert --cluster-type flag changes

* minor fixes
Modify workload name checking to not look for prefix but match names
* [xpk] Add deletion prompt and force flag on cluster create

TESTING=yes

[y] checked that cluster create with deletion returns the prmpt
[y] y / yes continues the prompt
[y] n / no stops the deletion
[y] other words stops the deletion
[y] force skips the prompt

* add a log message when delete is skipped.

* Add pylint changes
* [xpk] Support base-docker-image and script-dir

- Adds support to build local files into the docker image
- Adds readme example for how to do this
- Continues to support docker-image for not building local files into the image.

Tested
- Ran examples with local file changes
- Verified that directory path has to be valid
- Verified that invalid group of arguments don't work

* Improve documentation and add datetime to the dockertag

* Modify documentation

* Additional documentation nits

* docker documentation
…rom appearing when no nodepools are to be deleted. (#211)

* Update Readme with clearer organization

* Avoid asking delete prompt when no node pools are to be deleted
If python version is < 3.10, return error message.

Tested: Yes.
* Remove unnecessary pylints and fix code lint errors

* Add with commands
* Add large scale guide to xpk repository

* Readme details on large scale

* add details about vm size needed for different limits and spelling
@Obliviour Obliviour merged commit cf0c15a into main Oct 28, 2023
@Obliviour Obliviour deleted the xpk-update branch October 28, 2023 00:00
jamOne- added a commit to jamOne-/xpk that referenced this pull request Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants