question

BingbingFang-8102 avatar image
0 Votes"
BingbingFang-8102 asked bhargaviannadevara-msft commented

When will the cache artifacts in default storage account sync with artifact repository?

Hi,

I know that the DevTest Lab's default storage account will cache the artifacts. I have two questions:


When a VM applied artifacts, will the VM get artifacts from cache blob storage or from the real repository directly?
What is the time frequency the cache artifacts will be synced? and how to sync on demand by force?

Thank you for you time to help answer the question!

azure-devtestlabsazure-dtl-artifacts
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

bhargaviannadevara-msft avatar image
0 Votes"
bhargaviannadevara-msft answered bhargaviannadevara-msft commented

@BingbingFang-8102 Thanks for reaching out.

When a VM applied artifacts, will the VM get artifacts from cache blob storage or from the real repository directly?

When DevTest Labs applies an artifact, it will read the artifact configuration and its files from the configured repositories. By default, DevTest Labs configures access to the public artifact repo. Depending on how a VM is configured, it may not have direct access to this repo. Therefore, by design, DevTest Labs caches the artifacts in a storage account that's created when the lab is first initialized.

What is the time frequency the cache artifacts will be synced? and how to sync on demand by force?

These caches will be re-created any time artifacts are applied. They'll be refreshed with the latest content from the respective referenced repositories.

Hope this helps. Do let us know if you have further questions.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you @bhargaviannadevara-msft for the answer!

"Depending on how a VM is configured, it may not have direct access to this repo. "

Does it mean if the VM has the access to the repo, then it will interact with the repo directly, otherwise, get from the cache right?
1 Vote 1 ·

@BingbingFang-8102 Glad it helped. Yes, that is true.

0 Votes 0 ·