很多时候我们需要查看某个项目的磁盘限额等,命令如下:
查看磁盘:
cinder quota-usage 772df9c234234234sada37ca71f327
官方的注释为:
1 2 3 4 5 6 7 |
#cinder help quota-usage usage: cinder quota-usage <tenant_id> List the quota usage for a tenant. Positional arguments: <tenant_id> UUID of tenant to list the quota usage for. |
查看项目内总的实例数值等:
nova quota-show –tenant testproject
1 2 3 4 5 6 7 8 |
nova help quota-show usage: nova quota-show [--tenant <tenant-id>] [--user <user-id>] List the quotas for a tenant/user. Optional arguments: --tenant <tenant-id> ID of tenant to list the quotas for. --user <user-id> ID of user to list the quotas for. |
nova absolute-limits –tenant testproject
1 2 3 4 5 6 7 8 |
#nova help absolute-limits usage: nova absolute-limits [--tenant [<tenant>]] [--reserved] Print a list of absolute limits for a user Optional arguments: --tenant [<tenant>] Display information from single tenant (Admin only). --reserved Include reservations count. |
Latest posts by Zhiming Zhang (see all)
- aws eks node 自动化扩展工具 Karpenter - 8月 10, 2022
- ReplicationController and ReplicaSet in Kubernetes - 12月 20, 2021
- public key fingerprint - 5月 27, 2021