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

Initialize inference service's annotations #225

Merged
merged 1 commit into from
Mar 3, 2022

Conversation

ariefrahmansyah
Copy link
Contributor

What this PR does / why we need it:

Previously, in #224, when there's no queueResourcePercentage in environment's configuration, we won't add "queue.sidecar.serving.knative.dev/resourcePercentage" in inference service's annotation. On doing this, we are not initializing annotation field on inference service object, leading to panic when another value expect this annotation field to be exist.

Which issue(s) this PR fixes:

Fixes deploying pyfunc mode without queue resource percentage.

Checklist

  • Added unit test, integration, and/or e2e tests
  • Tested locally

Copy link
Member

@pradithya pradithya left a comment

Choose a reason for hiding this comment

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

LGTM

@ariefrahmansyah ariefrahmansyah merged commit a382020 into main Mar 3, 2022
@ariefrahmansyah ariefrahmansyah deleted the inferenceservice-annotations branch March 3, 2022 03:28
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