[skip ci]Add comments in milvus operator class (#11114)

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
pull/11158/head
yanliang567 2021-11-03 10:45:01 +08:00 committed by GitHub
parent 8b96fadf9e
commit dc7dd9b17a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -108,7 +108,13 @@ class MilvusOperator(object):
cus_res.patch(release_name, d_configs)
def wait_for_healthy(self, release_name, namespace='default', timeout=600):
"""
Method: wait a milvus instance until healthy or timeout
Params:
release_name: release name of milvus
namespace: namespace that the milvus is running in
timeout: default: 600 seconds
"""
cus_res = CusResource(kind=self.plural, group=self.group,
version=self.version, namespace=namespace)
starttime = time.time()