Update a UAI class with a modified configuration.
cray
command) installed on the above hostcray init
command) to reach the HPE Cray EX System API Gatewaycray auth login
command)The ID of the UAI class cannot be modified.
To update an existing UAI class, use a command of the following form:
cray uas admin config classes update OPTIONS UAI_CLASS_ID
OPTIONS
are the same options supported for UAI class creation. They can be seen by using the command.
UAI_CLASS_ID
is the Class ID of the UAI class to be modified.
cray uas admin config classes update --help
Modify a UAI class.
The following example changes the comment on the UAI class with an ID of bb28a35a-6cbc-4c30-84b0-6050314af76b.
ncn-m001-pit#cray uas admin config classes update \
--replicas 3 \
bdb4988b-c061-48fa-a005-34f8571b88b4
Any change made using this command affects only UAIs that are both created using the modified class and are created after the modification. Existing UAIs using the class will not change.
Optional: Update currently running UAIs by deleting and recreating them, or deleting them and allowing them to be re-created through a Broker UAI. See Delete a UAI for more details.