title | type |
---|---|
Deprovision clusters |
Tutorials |
This tutorial shows how to deprovision clusters with Kyma Runtimes.
NOTE: To access Runtime Provisioner, forward the port on which the GraphQL server is listening.
To deprovision a Runtime, make a call to Runtime Provisioner with a tenant header using a mutation like this:
mutation { deprovisionRuntime(id: "61d1841b-ccb5-44ed-a9ec-45f70cd1b0d3") }
A successful call returns the ID of the deprovisioning operation:
{
"data": {
"deprovisionRuntime": "c7e6727f-16b5-4748-ac95-197d8f79d094"
}
}
The operation of deprovisioning is asynchronous. Use the deprovisioning operation ID (deprovisionRuntime
) to check the Runtime Operation Status and verify that the deprovisioning was successful. Use the Runtime ID (id
) to check the Runtime Status.