You have enabled ACLs for Nomad clusters as follows:
https://learn.hashicorp.com/tutorials/nomad/access-control-bootstrap
Enabling ACLs requires Token for access.
If you lose your Token, you will need to follow the steps below to recover it.
https://learn.hashicorp.com/tutorials/nomad/access-control-bootstrap#re-bootstrap-acl-system
Recovery operations are as follows, but we were unable to determine which of the Leader nodes 1 is.
Is there any way to check the Leader node without Token and ssh connection without Token?
untagged
I was able to check the status api below.
https://www.nomadproject.io/api-docs/status
I was able to verify the IP address of the Leader node without setting Token as shown below.
$echo$NOMAD_TOKEN
$ echo$(curl-s$NOMAD_ADDR/v1/status/leader)
"10.15.81.108:4647"
$ nomad server members
Error querying servers: Unexpected response code: 403 (Permission denied)
$
© 2024 OneMinuteCode. All rights reserved.