From 2f1f6acf10e44c0675192d036e304e0b4705d173 Mon Sep 17 00:00:00 2001 From: Xiaoyu Zhong Date: Thu, 7 Jan 2021 18:50:04 +0800 Subject: [PATCH] Add example configuration for datasource `AliYun` --- doc/rtd/topics/datasources/aliyun.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/rtd/topics/datasources/aliyun.rst b/doc/rtd/topics/datasources/aliyun.rst index 3f4f40cad2c..587bd4f4bc0 100644 --- a/doc/rtd/topics/datasources/aliyun.rst +++ b/doc/rtd/topics/datasources/aliyun.rst @@ -12,6 +12,21 @@ The Alibaba Cloud metadata service is available at the well known url Alibaba Cloud ECS on `metadata `__. +Configuration +------------- +The following configuration can be set for the datasource in system +configuration (in ``/etc/cloud/cloud.cfg`` or ``/etc/cloud/cloud.cfg.d/``). + +An example configuration with the default values is provided below: + +.. sourcecode:: yaml + + datasource: + AliYun: + metadata_urls: ["http://100.100.100.200"] + timeout: 50 + max_wait: 120 + Versions ^^^^^^^^ Like the EC2 metadata service, Alibaba Cloud's metadata service provides