[英]How to configure Azure storage credentials in perfkit?
我正在尝试针对天蓝色存储运行Google perfkit的“ object_storage_service”基准测试。 我看到文档说将凭据作为.boto文件的一部分传递。 但是看起来该文件可以使用aws凭证或gce凭证。 如何传递Azure凭据?
。\\ pkb.py --cloud = Azure --machine_type = ExtraSmall --benchmarks = object_storage_service *
完成此步骤后, https://github.com/GoogleCloudPlatform/PerfKitBenchmarker#windows-azure-cli-and-credentials是否确定object_storage_service基准测试无效? 我对perfkit并不熟悉,但是如果.boto文件中未包含Azure凭据的部分,则可能不需要。
进行存储测试不需要任何其他配置,就像我们对AWS或Google Cloud所做的那样。 与存储相关的基准测试由于错误而失败。 您可能会收到错误消息,要求您在其他区域重试测试。
“ --zones”标记仅定义虚拟机的位置,“-object_storage_region”是您需要提供的附加参数,用于选择需要进行与存储相关的基准测试的数据中心。
这是Google云平台成员的更多解释。
https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/issues/1111
我已经使用以下参数成功完成了Azure存储测试。
./pkb.py --cloud=Azure --benchmarks=object_storage_service -storage=Azure --zones="North Europe" --object_storage_scenario=cli --object_storage_region="North Europe"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.