-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Add a CLI command for retrieving the autopilot configuration. #9142
Conversation
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.
Everything looks great, I hardly have any comments. Aside from the thing we discussed in Slack I think my only concern is that locally I am getting remnants of enterprise features in my output, however this is probably just be a me issue. Just wanted to bring it up in case it shows up.
I'm going to approve this now since there is only 1 small thing needed to be added and then it should be good.
The output contains 2 things that would look enterprise related. the first is the optimistic failure tolerance and the second is the network segment showing up in the server Meta. The empty network segment meta is due to Consul OSS always populating that here: Line 3402 in 3760e3d
The optimistic failure tolerance which really only applies when redundancy zones are in use is due to the field in the |
b5de9c9
to
6f032c0
Compare
6f032c0
to
ecd2b56
Compare
🍒 Starting backport cherry picking. To cherry-pick post-merge, add backport labels and re-run https://circleci.com/gh/hashicorp/consul/278550. |
🍒✅ Cherry pick of commit 7ef9b04 onto |
This is a small shim around the new
/v1/operator/autopilot/state
endpoint. The new command supports both JSON and pretty output formats.