Configure zone deployment
Configures and starts zone services, such as database, cluster manager and cluster worker. This request can be executed by unauthorized users as long as there are no admin users in the system.
Request body
The zone configuration description.
| Property | Type & Description | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cluster object (ZoneClusterConfiguration) The zone cluster configuration.
| |||||||||||||||||||||||||||
onezone object The Onezone custom configuration.
| |||||||||||||||||||||||||||
onepanel object (PanelConfiguration) The panel configuration.
| |||||||||||||||||||||||||||
Request Examples
{
"cluster": {
"domainName": "onezone.onedata.example.com",
"nodes": {
"node1": {
"hostname": "node1"
}
},
"manager": {
"mainNode": "node1",
"nodes": [
"node1"
]
},
"worker": {
"nodes": [
"node1"
]
},
"database": {
"nodes": [
"node1"
]
}
},
"onezone": {
"domainName": "example.com",
"name": "example",
"letsEncryptEnabled": true,
"users": [
{
"username": "ozadmin",
"password": "somepassword",
"groups": [
"admins"
]
}
]
}
}Responses
Invalid request - cluster already deployed.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Forbidden request.
Internal server error.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}