Skip to main content

Create Persistent Volume

POST/persistent_volume/{kubernetes_cluster_id}/

Path parameters

  • kubernetes_cluster_idPathintegerrequired

    Kubernetes ID

Query parameters

Request body

application/json

object
namestringrequired

The name of the Persistent Volume.

examplePV-10GB-313
pv_sizeintegerrequired

The size of the Persistent Volume in GB.

example10

Responses

200Response indicating that a persistent volume (PV) was created successfully.
object
codeinteger
example200
dataobject
errorsobject
messagestring
examplepersistent volume created successfully