v21.12.0
Features
-
Merge
config show-quotaintoconfig showCLI command. (#2436) -
Added admin commands to manager orgs and org-clusters:
Managing orgs:
neuro admin get-orgsPrint the list of available orgs user has access to.neuro admin add-org <org_name>Create a new org.neuro admin remove-org <org_name>Drop a org. Removes all memberships, very dangerous operation.
Managing org members:
neuro admin get-org-users <org_name>List all members of orgs.neuro admin add-org-user <org_name> <username>Add user to the org.neuro admin remove-org-user <org_name> <username>Remove user from the org.
Managing access of orgs to clusters:
neuro admin get-org-clusters <cluster_name>Print the list of all orgs in the clusterneuro admin add-org-cluster <cluster_name> <org_name>Add org access to specified clusterneuro admin get-org-cluster-quota <cluster_name> <org_name>Get info about org quota in given clusterneuro admin set-org-cluster-quota [options] <cluster_name> <org_name>Set org cluster quota to given valuesneuro admin set-org-cluster-credits [options] <cluster_name> <org_name>Set org cluster credits to given valueneuro admin add-org-cluster-credits [options] <cluster_name> <org_name>Add given values to org cluster balance
Manging access of org members to clusters:
neuro admin get-cluster-users --org <org_name> <cluster_name>List all members of orgs added to clusterneuro admin add-cluster-user --org <org_name> <cluster_name> <username>Add org member to clusterneuro admin remove-cluster-user --org <org_name> <cluster_name> <username>Remove org member user from the cluster.neuro admin get-user-quota --org <org_name> <cluster_name> <username>Get info about org member quota in given clusterneuro admin set-user-quota [options] --org <org_name> <cluster_name> <username>Set org member quota in cluster to given valuesneuro admin set-user-credits [options] --org <org_name> <cluster_name> <username>Set org member credits in cluster to given valueneuro admin add-user-credits [options] --org <org_name> <cluster_name> <username>Add given values to org member balance in cluster (#2449)
-
Option
-j/--jobsinneuro admin set-user-quotais now required. Passunlimitedfor setting no limit. Negative values are now rejected. (#2453) -
Option
-c/--creditsinneuro admin set-user-creditsandneuro admin add-user-creditsis now required. Pass "unlimited" inneuro admin set-user-creditsfor setting no limit. Values "infinity", "nan" etc are now rejected. (#2454) -
Added support of organizations.
Current organization is displayed in
neuro config show. It can be changed usingneuro config switch-org. To least
organizations you have access to in each cluster, useneuro config get-clusters.Also you can run job on behalf of organization. By default,
neuro runwill use current organization, but you
can override it usingneuro run --org <some_org>. (#2465)
Bugfixes
- Fix command description for
neuro admin show-cluster-options. (#2434)