Managed Kubernetes
Latest
Frequently Asked Questions
Solutions
How Tos
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
API call for listing nodes in the "Unauthorized" state
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
How to list UUIDs of PMK nodes, which are stuck in an "Unauthorized" state using resmgr API.
Environment
- Platform9 Managed Kubernetes - v4.0 and Higher
Procedure
To get the UUIDs of nodes in the unauthorized state, please follow the procedure below:
Step 1: Generate Token
Please follow the doc https://platform9.com/docs/kubernetes/keystone-identity-api to generate the token.
Bash
xxxxxxxxxxexport TOKEN=<token generated by above procedure>Step 2: List UUIDs of nodes in the unauthorized state
Bash
curl -s --request GET --url <FQDN>/resmgr/v1/hosts --header "X-Auth-Token: '$TOKEN'}" | jq '.[] | select(.roles | length == 0) | .id'EnvironmentReplace the FQDN in the above command.
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Next to read:
Integrating Custom Container Registry with PMK ClustersDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message