CDCgov / cfa_azure

Apache License 2.0
9 stars 2 forks source link

Optionally disabling BlobFuse caching upon pool creation #68

Closed ryanraaschCDC closed 5 months ago

ryanraaschCDC commented 5 months ago

We would like the option to disable BlobFuse caching for our mounted blob containers on most/all of our pools.

I just found that you can do this by setting "blobfuseOptions": "-o direct_io"in each entry in themount_config. Here, it looks like that is implemented in get_batch_pool_json. Please add an optional flag to AzureClient.create_pool()andhelpers.create_pool` to enable this option.