Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Localmodel agent build #4150

Merged
merged 3 commits into from
Dec 23, 2024
Merged

Conversation

greenmoon55
Copy link
Contributor

@greenmoon55 greenmoon55 commented Dec 23, 2024

What this PR does / why we need it:
We never build localmodel agent images in our workflow.
I also renamed the docker file from node to agent to avoid confusion in other files like workflow files.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Type of changes
Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Feature/Issue validation/testing:

Please describe the tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.

  • Test A

  • Test B

  • Logs

Special notes for your reviewer:

  1. Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Checklist:

  • Have you added unit/e2e tests that prove your fix is effective or that this feature works?
  • Has code been commented, particularly in hard-to-understand areas?
  • Have you made corresponding changes to the documentation?

Release note:


Re-running failed tests

  • /rerun-all - rerun all failed workflows.
  • /rerun-workflow <workflow name> - rerun a specific failed workflow. Only one workflow name can be specified. Multiple /rerun-workflow commands are allowed per comment.

@greenmoon55 greenmoon55 marked this pull request as ready for review December 23, 2024 19:05
@greenmoon55 greenmoon55 force-pushed the localmodel-agent-build branch from d23dc6e to 4aab193 Compare December 23, 2024 20:35
Signed-off-by: Jin Dong <[email protected]>
@greenmoon55 greenmoon55 force-pushed the localmodel-agent-build branch from 4aab193 to b096ccb Compare December 23, 2024 20:40
@@ -24,6 +24,7 @@ env:
# Controller images
CONTROLLER_IMG: "kserve-controller"
LOCALMODEL_CONTROLLER_IMG: "kserve-localmodel-controller"
LOCALMODEL_AGENT_IMG: "kserve-localmodelnode-agent"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer localmodel-agent but this is what we used in all the configs.

@yuzisun
Copy link
Member

yuzisun commented Dec 23, 2024

/lgtm
/approve

@github-actions github-actions bot added the lgtm label Dec 23, 2024
@yuzisun yuzisun merged commit cb38637 into kserve:master Dec 23, 2024
65 checks passed
yuzisun pushed a commit to yuzisun/kserve that referenced this pull request Dec 24, 2024
* squash commits

Signed-off-by: Jin Dong <[email protected]>

* localmodel agent -> localmodelnode agent

Signed-off-by: Jin Dong <[email protected]>

* Revert change

Signed-off-by: Jin Dong <[email protected]>

---------

Signed-off-by: Jin Dong <[email protected]>
yuzisun pushed a commit to yuzisun/kserve that referenced this pull request Dec 24, 2024
* squash commits

Signed-off-by: Jin Dong <[email protected]>

* localmodel agent -> localmodelnode agent

Signed-off-by: Jin Dong <[email protected]>

* Revert change

Signed-off-by: Jin Dong <[email protected]>

---------

Signed-off-by: Jin Dong <[email protected]>
Signed-off-by: Dan Sun <[email protected]>
yuzisun added a commit that referenced this pull request Dec 25, 2024
* Remove redundant namespace yaml (#4148)

Signed-off-by: Jin Dong <[email protected]>
Signed-off-by: Dan Sun <[email protected]>

* Fix Localmodel agent build (#4150)

* squash commits

Signed-off-by: Jin Dong <[email protected]>

* localmodel agent -> localmodelnode agent

Signed-off-by: Jin Dong <[email protected]>

* Revert change

Signed-off-by: Jin Dong <[email protected]>

---------

Signed-off-by: Jin Dong <[email protected]>
Signed-off-by: Dan Sun <[email protected]>

* Fix model server fails to gracefully shutdown (#4116)

* Fix model server fails to gracefully shutdown

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>

* Update unit tests

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>

---------

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>
Co-authored-by: Dan Sun <[email protected]>
Signed-off-by: Dan Sun <[email protected]>

* Ensure root model directory exists and add protection for jobs created (#4152)

Ensure root model directory exists and add protection for # of jobs created

Signed-off-by: Dan Sun <[email protected]>

* fix merge

Signed-off-by: Dan Sun <[email protected]>

---------

Signed-off-by: Jin Dong <[email protected]>
Signed-off-by: Dan Sun <[email protected]>
Signed-off-by: Sivanantham Chinnaiyan <[email protected]>
Co-authored-by: Jin Dong <[email protected]>
Co-authored-by: Sivanantham <[email protected]>
bentohset pushed a commit to bentohset/kserve that referenced this pull request Dec 26, 2024
* squash commits

Signed-off-by: Jin Dong <[email protected]>

* localmodel agent -> localmodelnode agent

Signed-off-by: Jin Dong <[email protected]>

* Revert change

Signed-off-by: Jin Dong <[email protected]>

---------

Signed-off-by: Jin Dong <[email protected]>
Signed-off-by: bentohset <[email protected]>
bentohset pushed a commit to bentohset/kserve that referenced this pull request Dec 26, 2024
* squash commits

Signed-off-by: Jin Dong <[email protected]>

* localmodel agent -> localmodelnode agent

Signed-off-by: Jin Dong <[email protected]>

* Revert change

Signed-off-by: Jin Dong <[email protected]>

---------

Signed-off-by: Jin Dong <[email protected]>
Signed-off-by: bentohset <[email protected]>
Jooho pushed a commit to Jooho/kserve that referenced this pull request Feb 11, 2025
* squash commits

Signed-off-by: Jin Dong <[email protected]>

* localmodel agent -> localmodelnode agent

Signed-off-by: Jin Dong <[email protected]>

* Revert change

Signed-off-by: Jin Dong <[email protected]>

---------

Signed-off-by: Jin Dong <[email protected]>
VedantMahabaleshwarkar pushed a commit to VedantMahabaleshwarkar/kserve that referenced this pull request Feb 20, 2025
* squash commits

Signed-off-by: Jin Dong <[email protected]>

* localmodel agent -> localmodelnode agent

Signed-off-by: Jin Dong <[email protected]>

* Revert change

Signed-off-by: Jin Dong <[email protected]>

---------

Signed-off-by: Jin Dong <[email protected]>
(cherry picked from commit cb38637)
openshift-merge-bot bot pushed a commit to opendatahub-io/kserve that referenced this pull request Mar 12, 2025
* Remove redundant namespace yaml (kserve#4148)

Signed-off-by: Jin Dong <[email protected]>

* Fix Localmodel agent build (kserve#4150)

* squash commits

Signed-off-by: Jin Dong <[email protected]>

* localmodel agent -> localmodelnode agent

Signed-off-by: Jin Dong <[email protected]>

* Revert change

Signed-off-by: Jin Dong <[email protected]>

---------

Signed-off-by: Jin Dong <[email protected]>

* Fix model server fails to gracefully shutdown (kserve#4116)

* Fix model server fails to gracefully shutdown

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>

* Update unit tests

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>

---------

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>
Co-authored-by: Dan Sun <[email protected]>

* Ensure root model directory exists and add protection for jobs created (kserve#4152)

Ensure root model directory exists and add protection for # of jobs created

Signed-off-by: Dan Sun <[email protected]>

* Enable transformer deeper readiness check tests (kserve#4121)

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>

* Update HuggingFace server dependencies versions (kserve#4147)

* updated package versions

Signed-off-by: ayush <[email protected]>

* updated go.mod and pip

Signed-off-by: ayush <[email protected]>

* updated poetry lock

Signed-off-by: ayush <[email protected]>

* refactored handling of task argument

Signed-off-by: ayush <[email protected]>

* removed go.mod changes

Signed-off-by: ayush <[email protected]>

---------

Signed-off-by: ayush <[email protected]>

* Add workflow for verifying go mod (kserve#4137)

* Add workflow for verifying go mod

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>

* Merge with go lint workflow

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>

---------

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>
Co-authored-by: Dan Sun <[email protected]>

* Fix for CVE-2024-52304 - aiohttp upgrade (kserve#4113)

upgrade aiohttp

Signed-off-by: Andrews Arokiam <[email protected]>
Co-authored-by: Dan Sun <[email protected]>

* Allow other engine builders other than docker (kserve#3906)

* Allow other engine builds other than docker

chore:	This change will allow user to use other engine builds.
	In addition, for Podman/Buildah engine builder, users can
	set the target architecture, useful when using ARM and
	there is a need to build x86 Container images.
	Can be done with `ENGINE=podman ARCH="--arch x86_64" make docker...`

Signed-off-by: Spolti <[email protected]>

* review changes

Signed-off-by: Spolti <[email protected]>

---------

Signed-off-by: Spolti <[email protected]>

* Add localmodelnode crd to helm chart (kserve#4161)

Signed-off-by: Jin Dong <[email protected]>

* Fixes Non-linear parsing of case-insensitive content (kserve#4158)

* Fixes Non-linear parsing of case-insensitive content

chore:	Fixes CVE-2024-45338 Non-linear parsing of case-insensitive content in golang.org/x/net/html
	https://github.com/kserve/kserve/security/dependabot/1871

Signed-off-by: Spolti <[email protected]>

* update go.sum

Signed-off-by: Spolti <[email protected]>

---------

Signed-off-by: Spolti <[email protected]>

* Helm chart - option to run daemonset as root (kserve#4164)

* Helm chart - option to run daemonset as root

Signed-off-by: Jin Dong <[email protected]>

* make generate

Signed-off-by: Jin Dong <[email protected]>

* Revert default values

Signed-off-by: Jin Dong <[email protected]>

* Fix job count test

Signed-off-by: Dan Sun <[email protected]>

---------

Signed-off-by: Jin Dong <[email protected]>
Signed-off-by: Dan Sun <[email protected]>
Co-authored-by: Dan Sun <[email protected]>

* Replace nodeGroup with nodeGroups in charts/kserve-crd (kserve#4166)

Replace nodeGroup with nodeGroups

Signed-off-by: Rituraj Singh <[email protected]>
Co-authored-by: Rituraj Singh <[email protected]>

* Add affinity and tolerations to localmodel daemonset (kserve#4173)

* Add affinity and tolerations to localmodel daemonset

Signed-off-by: Jin Dong <[email protected]>

* make generate

Signed-off-by: Jin Dong <[email protected]>

---------

Signed-off-by: Jin Dong <[email protected]>

* Fix s3 download PermanentRedirectError for legacy s3 endpoint (kserve#4157)

* sets virtual addressing style for legacy s3 endpoint

Signed-off-by: bentohset <[email protected]>

* add unit test

Signed-off-by: bentohset <[email protected]>

* fix formatting

Signed-off-by: bentohset <[email protected]>

* fix unit tests

Signed-off-by: bentohset <[email protected]>

---------

Signed-off-by: bentohset <[email protected]>
Co-authored-by: Lize Cai <[email protected]>

---------

Signed-off-by: Jin Dong <[email protected]>
Signed-off-by: Sivanantham Chinnaiyan <[email protected]>
Signed-off-by: Dan Sun <[email protected]>
Signed-off-by: ayush <[email protected]>
Signed-off-by: Andrews Arokiam <[email protected]>
Signed-off-by: Spolti <[email protected]>
Signed-off-by: Jin Dong <[email protected]>
Signed-off-by: Rituraj Singh <[email protected]>
Signed-off-by: bentohset <[email protected]>
Co-authored-by: Jin Dong <[email protected]>
Co-authored-by: Sivanantham <[email protected]>
Co-authored-by: Dan Sun <[email protected]>
Co-authored-by: Ayush Sawant <[email protected]>
Co-authored-by: Andrews Arokiam <[email protected]>
Co-authored-by: Filippe Spolti <[email protected]>
Co-authored-by: Rituraj Singh <[email protected]>
Co-authored-by: Rituraj Singh <[email protected]>
Co-authored-by: Benjamin Toh <[email protected]>
Co-authored-by: Lize Cai <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants