Skip to content

Add EPIC Cluster #265

@snowch

Description

@snowch
POST /api/v2/cluster/ HTTP/1.1
Host: 127.0.0.1:8080
Content-Length: 721
Accept-Encoding: gzip, deflate
REMOTE_ADDR: 86.148.96.78
Accept: */*
User-Agent: python-requests/2.6.0 CPython/2.7.5 Linux/3.10.0-1127.19.1.el7.x86_64
Connection: keep-alive
X-BDS-SESSION: /api/v2/session/ab996b58-52a0-48e7-a9ae-5b53a2a49809
Authorization: /api/v2/session/ab996b58-52a0-48e7-a9ae-5b53a2a49809

{
  "isolated": false,
  "label": {
    "name": "spark cluster 1",
    "description": ""
  },
  "dependent_nodegroups": [],
  "debug": false,
  "two_phase_delete": false,
  "nodegroup": {
    "role_configs": [
      {
        "node_count": 1,
        "flavor": "/api/v1/flavor/3",
        "role_id": "controller"
      },
      {
        "node_count": 0,
        "flavor": "/api/v1/flavor/1",
        "role_id": "worker"
      },
      {
        "node_count": 0,
        "flavor": "/api/v1/flavor/1",
        "role_id": "jupyter"
      },
      {
        "node_count": 1,
        "flavor": "/api/v1/flavor/3",
        "role_id": "jupyterhub"
      },
      {
        "node_count": 0,
        "flavor": "/api/v1/flavor/1",
        "role_id": "rstudio"
      },
      {
        "node_count": 0,
        "flavor": "/api/v1/flavor/1",
        "role_id": "gateway"
      }
    ],
    "catalog_entry_distro_id": "bluedata/spark231juphub7xssl",
    "config_choice_selections": [],
    "constraints": []
  }
}

HTTP/1.1 201 Created
Access-Control-Allow-Origin: *
Content-Length: 13
Content-Type: text/plain
Date: Sat, 05 Sep 2020 14:31:34 GMT
Location: /api/v2/cluster/1
Server: HPE Ezmeral Container Platform 5.1.1

201 Created

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions