Skip to main content

List

List admission records.

Each node that asked to join, each node osapi admitted, and each decision against a node. An admitted node that is not running is Offline, with when it was last seen.

osapi client admission list [flags]

Examples​

osapi client admission list
osapi client admission list --state pending

Permission​

It needs the admission:read permission. osapi token roles get --name <role> shows what a role grants.

Flags​

FlagDescriptionDefault
--stateOnly the records in this state: pending, admitted, rejected or revoked (pending, admitted, rejected, revoked)

Global flags​

FlagDescriptionDefault
-d, --debugEnable or disable debug mode
-j, --jsonEnable JSON output
-f, --osapi-filePath to config file/etc/osapi/osapi.yaml
--urlURL the client will connect tohttp://0.0.0.0:8080

Output tells how the result is printed, and what --json gives.