-
Notifications
You must be signed in to change notification settings - Fork 140
feat(tke): [119900163]tke scale worker taints parameters #2859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -496,6 +496,30 @@ func tkeGetInstanceAdvancedPara(dMap map[string]interface{}, meta interface{}) ( | |||
setting.PreStartUserScript = helper.String(v.(string)) | |||
} | |||
|
|||
if v, ok := dMap["taints"]; ok { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
taints加到tkeGetInstanceAdvancedPara()里有问题吧。这个方法是多个资源共用的。node_pool也会用这个方法。
@@ -609,3 +625,55 @@ func resourceTencentCloudKubernetesScaleWorkerDeleteOnExit(ctx context.Context) | |||
} | |||
return nil | |||
} | |||
|
|||
func resourceTencentCloudKubernetesScaleWorkerReadPostFillRequest1(ctx context.Context, req *cvm.DescribeInstancesRequest) error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个方法的改动跟taints有什么关系?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
把之前你改的那段放到 Hook 里面了(需要改动 DSL),重新生成代码
91c8499
to
fbe2f7b
Compare
372a9b1
to
994b235
Compare
No description provided.