-
Notifications
You must be signed in to change notification settings - Fork 577
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
rpk
does not look at redpanda.admin for admin addresses
#2752
Comments
- rpk only understands the list form of one_or_many options - rpk hardcodes 127.0.0.1:9644 as the admin endpoint Related: redpanda-data#2752 Related: redpanda-data#2751 Signed-off-by: John Spray <jcs@vectorized.io>
- rpk only understands the list form of one_or_many options - rpk hardcodes 127.0.0.1:9644 as the admin endpoint Related: redpanda-data#2752 Related: redpanda-data#2751 Signed-off-by: John Spray <jcs@vectorized.io>
- rpk only understands the list form of one_or_many options - rpk hardcodes 127.0.0.1:9644 as the admin endpoint Related: redpanda-data#2752 Related: redpanda-data#2751 Signed-off-by: John Spray <jcs@vectorized.io>
Hello @jcsp can you share your config file please? I just tested with: config_file: /etc/redpanda/redpanda.yaml
node_uuid: RkTQpb9sY1QT4ZYAv8V2Jo7XgXQqB2m9mS9rjVTsXniCYvvqw
pandaproxy: {}
redpanda:
admin:
- address: 0.0.0.0
port: 9644
data_directory: /var/lib/redpanda/data
developer_mode: true
kafka_api:
- address: 0.0.0.0
name: default
port: 9092
node_id: 1
rpc_server:
address: 0.0.0.0
port: 33145
seed_servers: []
rpk:
admin_api:
addresses:
- 127.44.44.12:1232 and got
|
Perhaps similar/related with: #4000 |
rpk debug bundle
assumes admin API is at 127.0.0.1:9644rpk
does not look at redpanda.admin for admin addresses
My config would not have had a hand-populated rpk.admin_api section (is that documented anywhere?) |
I saw that here: https://docs.redpanda.com/docs/reference/node-configuration-sample/ not sure if other docs document this part. rpk:
...
# The Admin API configuration
admin_api:
# A list of the nodes' admin API addresses that rpk will use.
addresses:
- 192.168.72.34:9644
- 192.168.72.35:9644 |
This is a higher priority issue since the admin endpoint is now needed to set cluster configs, which is something I and users of the platform have been hung up on. |
When running on a non-default port or address and passing the redpanda config to rpk with
--config
, one gets an error like:It should take the admin endpoint info from the config file.
(This is unrelated to #2751 -- for this issue I had a config file that was in the format rpk understood)
Non default ports will probably be somewhat rare in the wild, but a non-default address could be quite common any time someone wants to make the admin api accessible remotely.
The text was updated successfully, but these errors were encountered: