[skip ci]Update comments to install milvus (#10843)

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
This commit is contained in:
yanliang567 2021-10-28 19:57:13 +08:00 committed by GitHub
parent 3aad2df103
commit 10d6b96fe7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,13 @@ class MilvusOperator(object):
return d_configs._dict if d_configs._dict is not None else d_configs
def install(self, configs, template=None):
"""apply new custom resource object to install milvus """
"""
Method: apply a custom resource object to install milvus
Params:
configs: a dict type of configurations that describe the properties of milvus to be deployed
template: Optional. Pass the template file location if there is a template to apply
Return: custom resource object instance
"""
new_configs = self._update_configs(configs, template)
print(new_configs)
namespace = new_configs['metadata'].get('namespace', 'default')