-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add support to download model from Azure file share #1985
Conversation
Hi @laozc. Thanks for your PR. I'm waiting for a kserve member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
7b03522
to
7faf390
Compare
7faf390
to
956333a
Compare
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
f28d081
to
459ada9
Compare
/ok-to-test |
@laozc Thanks for this great contribution! Would you be able to add e2e tests for the Azure storage? |
@yuzisun I saw the e2e test cluster is set up on EKS. |
/cc @maganaluis for review |
@yuzisun: GitHub didn't allow me to request PR reviews from the following users: review, maganaluis, for. Note that only kserve members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
We can create a kind cluster to test the Azure storage? |
@laozc I'm receiving credential error. |
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: laozc The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@Suresh-Nakkeran Storage Account Access Key auth is added in the latest commit. |
@Suresh-Nakkeran Can you help verify this? |
@laozc is it AZURE_STORAGE_ACCESS_KEY or AZURE_STORAGE_KEY? |
AZURE_STORAGE_ACCESS_KEY should be the correct one. |
@@ -196,6 +197,10 @@ func (c *CredentialBuilder) CreateSecretVolumeAndEnv(namespace string, serviceAc | |||
log.Info("Setting secret envs for azure", "AzureSecret", secret.Name) | |||
envs := azure.BuildSecretEnvs(secret) | |||
container.Env = append(container.Env, envs...) | |||
} else if _, ok := secret.Data[azure.AzureStorageAccessKey]; ok { | |||
log.Info("Setting secret envs for azure", "AzureSecret", secret.Name) | |||
envs := azure.BuildSecretEnvs(secret) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@laozc we should call the new azure.BuildStorageAccessKeySecretEnv
function for Storage Access Key.
What this PR does / why we need it:
Add support to download model from Azure file share
Which issue(s) this PR fixes:
Fixes #1967
Release note: