-
Notifications
You must be signed in to change notification settings - Fork 34
Environment management
Multiple environments can be erected, destroyed and modified on a peer
-
Authenticate:
POST /login
( x-www-form-urlencoded params)username
andpassword
-
Create environment:
POST /rest/v1/environments
Form parameter
topology
:{ "name": "my-awesome-environment", "sshKey": "place-your-ssh-key-here", "nodes": [ { "hostname": "my-awesome-container", "quota": { "containerSize": "TINY" }, "templateId": "place-template-id-here", "resourceHostId": "place-rh-id-here", "peerId": "place-peer-id-here" } ] }
simplified version for local peer only (local peer and management host are used by default, template is looked up by name among verified templates only, container size by default is TINY):
{ "name": "my-awesome-environment", "nodes": [ { "hostname": "my-awesome-container", "templateName": "ubuntu16" } ] }
-
Modify environment by adding 1 container to existing environment:
PUT /rest/v1/environments/{environment-id}
Form parameter
topology
:{ "nodes": [ { "hostname": "my-awesome-container", "templateName": "ubuntu16" } ] }
-
List environments:
GET /rest/v1/environments/
-
Destroy environment:
DELETE /rest/v1/environments/{environment-id}
-
Destroy container:
DELETE /rest/v1/environments/containers/{container-id}
User Guides
Glossary
Components
How it works
Configure domain for environment
Create Templates from CLI
Create Templates from Console
Environment management via Bazaar and Console
EZ Desktop solution for Subutai containers
[Linux] Adding domain name to etc hosts
[Windows] Adding domain name to etc hosts