Skip to content

Conversation

@Kagashino
Copy link
Contributor

No description provided.

if err != nil {
errs = *multierror.Append(err)
} else {
taskErr := waitForClusterEndpointFinish(ctx, &service, id, false, isManagedCluster)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个地方有点疑问。
我们创建NodePool的时候,会等待节点池中的节点是否已经ready么?
如果上面不会等待,这边的轮询是不是大部分时间在等待节点池中节点ready?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. 不会
  2. 等待的是 Task status 状态变化,至于这个状态是否根据集群内节点的有无而变化,这个还没有确认

Copy link
Collaborator

@hellertang hellertang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

review

@hellertang hellertang merged commit 7c9d555 into master Jul 8, 2022
@Kagashino Kagashino deleted the feat/tke-cluster-endpoint branch July 12, 2022 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants