Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Scroll Documents: Update page title prefix

Administrator Guide

Screenshot 2024-04-15 at 23.33.27.png

Update Environment

Screenshot 2024-04-15 at 23.34.45.pngImage Removed

Developer Guide

You can SSH into the head node to issue commands. To do this, locate your instance in the Resources tab of the CloudFormation stack, and connect to the EC2 instance.

...

To manage profiles, navigate to the following directory: /xcompute/slurm/aws/xcompute-daemon/data/envs.

Update Environment

  1. Edit the env.json file according to the sample provided below:

Expand
titleenv.json fields Example
Code Block
{
    "EnvName": "k8s",
    "HeadAddress": "<HeadAddress>",
    "Pools": [
        {
            "PoolName": "pool-a",
            "PoolSize": 10,
            "ProfileName": "az1",
            "VM": {
                "CPUs": 2,
                "ImageName": "k8s-129",
                "MaxMemory": 4096,
                "MinMemory": 4096,
                "UserData": "",
                "VolumeSize": 10
            }
        }
    ],
    "Security": {
        "User": "k8s",
        "UserKeyPem": ""
    },
    "Type": "k8s",
    "Id": "fe5b9e90-977a-45ed-84db-96f6e8595bcf"
}
  1. After updating the environment, submit the changes with a PUT request using curl:

...

Screenshot 2024-07-16 at 14.33.42.pngImage Added