Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Administrator Guide

Screenshot 2024-04-15 at 23.33.27.png

Update Environment

Screenshot 2024-04-15 at 23.34.45.png

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.

Screenshot 2024-04-15 at 13.31.41.png

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:

 env.json fields Example
{
    "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:

curl -X PUT http://localhost:5000/v1/env \
  -H 'Content-Type: application/json' \
  -d "@env.json"

  • No labels