Skip to content
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

api: Nomad capabilities #20036

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

api: Nomad capabilities #20036

wants to merge 7 commits into from

Conversation

pkazmierczak
Copy link
Contributor

@pkazmierczak pkazmierczak commented Feb 26, 2024

Hackweek project from Feb 2024. Introduces a new API endpoint called /capabilities that reports what kind of features this Nomad server supports. Example:

$ curl localhost:4646/v1/capabilities|jq
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   124  100   124    0     0   104k      0 --:--:-- --:--:-- --:--:--  121k
{
  "ACL": true,
  "ACLEnabled": false,
  "ConsulVaultWI": true,
  "Enterprise": false,
  "NodePools": true,
  "OIDC": true,
  "WorkloadIdentity": true
}

@pkazmierczak pkazmierczak self-assigned this Feb 29, 2024
@pkazmierczak pkazmierczak added theme/api HTTP API and SDK issues backport/1.5.x backport to 1.5.x release line backport/1.6.x backport to 1.6.x release line backport/1.7.x backport to 1.7.x release line labels Feb 29, 2024
@tgross tgross added stage/needs-rebase This PR needs to be rebased on main before it can be backported to pick up new BPA workflows and removed backport/1.5.x backport to 1.5.x release line backport/1.6.x backport to 1.6.x release line backport/1.7.x backport to 1.7.x release line labels May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage/needs-rebase This PR needs to be rebased on main before it can be backported to pick up new BPA workflows theme/api HTTP API and SDK issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants