NOTE: UAI is deprecated in CSM 1.5.2 and will be removed in CSM 1.6.
Obtain a list of all the UAI resource specifications registered with UAS.
cray
command) installed on the above hostcray init
command) to reach the HPE Cray EX System API Gatewaycray auth login
command)List all the resource specifications registered in UAS.
The resource specifications returned by the following command are available for UAIs to use:
ncn-m001-cray uas admin config resources list
Example output:
[[results]]
comment = "Resource Specification to use with Brokered End-User UAIs"
limit = "{\"cpu\": \"300m\", \"memory\": \"1Gi\"}"
request = "{\"cpu\": \"300m\", \"memory\": \"1Gi\"}"
resource_id = "f26ee12c-6215-4ad1-a15e-efe4232f45e6"
The following are the configurable parts of a resource specification:
limit
- A JSON string describing a Kubernetes resource limitrequest
- A JSON string describing a Kubernetes resource requestcomment
- An optional free form string containing any information an administrator might find useful about the resource specificationresource-id
- Used for examining, updating or deleting the resource specification as well as linking the resource specification into a UAI classRefer to Elements of a UAI for more information.