Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add EPIC Cluster #265

Open
snowch opened this issue Sep 5, 2020 · 0 comments
Open

Add EPIC Cluster #265

snowch opened this issue Sep 5, 2020 · 0 comments

Comments

@snowch
Copy link
Member

snowch commented Sep 5, 2020

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant