-
Notifications
You must be signed in to change notification settings - Fork 34
Register Resource Host with Peer
Peers with the Subutai Console installed can have resource hosts (RH) added through registration. You also have the option to delete them from the peer. Read on to find out how to automate these processes.
The Subutai Console exposes the following REST APIs that can be used to add or delete a resource host:
GET https://$ip:8443/rest/v1/registration/requests
- Lists the IDs (PGP fingerprints) of resource hosts discovered via SSDP on the LAN. Use those IDs in either API below to identify the resource host to be added or removed from the peer.
POST https://$ip:8443/rest/v1/registration/requests/{id}/approve
- Approves the registration of a resource host, allowing it to join the peer using its ID
POST https://ip:8443//rest/v1/registration/requests/{id}/remove
- Deletes a resource host from the peer using its ID
To automate these processes, you only need the PGP fingerprint of the resource host. Extract the fingerprint from the response returned from either of the following:
GET https://$ip:8443/rest/v1/registration/requests
-
subutai info id
- Execute this command on the RH
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