influxdata / docs-v2

InfluxData Documentation that covers InfluxDB Cloud, InfluxDB OSS 2.x, InfluxDB OSS 1.x, InfluxDB Enterprise, Telegraf, Chronograf, Kapacitor, and Flux.
https://docs.influxdata.com
MIT License
73 stars 275 forks source link

Two questions re: influxd-ctl node-labels #2631

Closed pierwill closed 3 years ago

pierwill commented 3 years ago

Does both set and update work to update a label?

_Originally posted by @kelseiv in https://github.com/influxdata/docs-v2/pull/2592#discussion_r641834043_

Do we document the node-labels [options] somewhere? Didn't see -nodeid or -labels other than in examples...do we have other options?

_Originally posted by @kelseiv in https://github.com/influxdata/docs-v2/pull/2592#discussion_r641834807_

pierwill commented 3 years ago

Looks like there is no update subcommand: https://github.com/influxdata/plutonium/blob/1c20513cd985f9ea832f785f2105c82b73ec633f/cmd/influxd-ctl/nodelabels/command.go#L52-L60

Not sure where I got that idea from...

pierwill commented 3 years ago

Clarified this information in https://github.com/influxdata/docs-v2/pull/2592/commits/adb85b1291c0bd99af8669c04b15aedf542ad2b5.