-
Notifications
You must be signed in to change notification settings - Fork 162
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
support tags in cce node pool #993
support tags in cce node pool #993
Conversation
914e66d
to
6d74313
Compare
"tags": { | ||
Type: schema.TypeMap, | ||
Optional: true, | ||
ForceNew: true, |
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.
according to the API document, tags
can be updated. Please have a check.
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.
you can using tagsSchema()
to replace it. @Jason-Zhang9309
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.
fixed
max_node_count = 0 | ||
scale_down_cooldown_time = 0 | ||
priority = 0 | ||
type = "vm" |
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.
please make the format happy
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.
fixed
6d74313
to
9ad5419
Compare
@@ -102,6 +102,8 @@ The following arguments are supported: | |||
|
|||
* `labels` - (Optional, Map, ForceNew) Tags of a Kubernetes node, key/value pair format. Changing this parameter will create a new resource. | |||
|
|||
* `tags` - (Optional, Map, ForceNew) Tags of a VM node, key/value pair format. Changing this parameter will create a new resource. | |||
|
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.
According to the Go programming specification, a single line of code should not exceed 120 characters.
The (All) document content should be adjusted later.
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.
fixed
"tags": { | ||
Type: schema.TypeMap, | ||
Optional: true, | ||
ForceNew: true, |
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.
you can using tagsSchema()
to replace it. @Jason-Zhang9309
9ad5419
to
c24204b
Compare
new test result:
|
c24204b
to
6536510
Compare
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.
LGTM
What this PR does / why we need it:
support tags in cce node pool
Which issue this PR fixes:
(optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged)fixes #980
Special notes for your reviewer:
Release note:
PR Checklist
Acceptance Steps Performed