Create StatefulSet
This API is used to create a statefulset
post
Authorizations
AuthorizationstringRequired
Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."
Body
project_idstringOptional
Responses
200
Successful Response
application/json
codeintegerOptionalExample:
200dataanyOptional
messagestringOptionalExample:
Successpost/core/statefulsets
POST /core/statefulsets HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 154
{
"project_id": "text",
"statefulset_definition": {
"apiVersion": "apps/v1",
"kind": "text",
"metadata": {
"name": "myresource-123",
"namespace": "default"
},
"spec": {}
}
}200
Successful Response
{
"code": 200,
"data": null,
"message": "Success"
}Last updated