Conversation
pages/platform/delete-locks.mdx
Outdated
| navigation_icon: lock | ||
| --- | ||
|
|
||
| Delete locks prevent accidental deletion of instances and volumes. When a delete lock is set on a resource, any attempt to delete it returns an error until the lock is removed. |
There was a problem hiding this comment.
🚫 [vale] reported by reviewdog 🐶
[Unikraft.NoSentenceBreaks] Only use one sentence per line.
pages/platform/delete-locks.mdx
Outdated
| navigation_icon: lock | ||
| --- | ||
|
|
||
| Delete locks prevent accidental deletion of instances and volumes. When a delete lock is set on a resource, any attempt to delete it returns an error until the lock is removed. |
There was a problem hiding this comment.
🚫 [vale] reported by reviewdog 🐶
[write-good.Passive] 'is set' may be passive voice. Use active voice if you can.
pages/platform/delete-locks.mdx
Outdated
| navigation_icon: lock | ||
| --- | ||
|
|
||
| Delete locks prevent accidental deletion of instances and volumes. When a delete lock is set on a resource, any attempt to delete it returns an error until the lock is removed. |
There was a problem hiding this comment.
🚫 [vale] reported by reviewdog 🐶
[write-good.Passive] 'is removed' may be passive voice. Use active voice if you can.
pages/platform/delete-locks.mdx
Outdated
| - Volumes | ||
| - Volume templates | ||
|
|
||
| ## Enabling a Delete Lock |
There was a problem hiding this comment.
🚫 [vale] reported by reviewdog 🐶
[Microsoft.Headings] 'Enabling a Delete Lock' should use sentence-style capitalization.
pages/platform/delete-locks.mdx
Outdated
|
|
||
| ## Enabling a Delete Lock | ||
|
|
||
| Set a delete lock on an instance via the PATCH endpoint: |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Microsoft.Acronyms] 'PATCH' has no definition.
pages/platform/delete-locks.mdx
Outdated
| kraft cloud volume update <volume-name> --delete-lock | ||
| ``` | ||
|
|
||
| ## Removing a Delete Lock |
There was a problem hiding this comment.
🚫 [vale] reported by reviewdog 🐶
[Microsoft.Headings] 'Removing a Delete Lock' should use sentence-style capitalization.
pages/platform/delete-locks.mdx
Outdated
| kraft cloud volume update <volume-name> --no-delete-lock | ||
| ``` | ||
|
|
||
| ## Checking the Delete Lock Status |
There was a problem hiding this comment.
🚫 [vale] reported by reviewdog 🐶
[Microsoft.Headings] 'Checking the Delete Lock Status' should use sentence-style capitalization.
pages/platform/delete-locks.mdx
Outdated
|
|
||
| ## Checking the Delete Lock Status | ||
|
|
||
| The `delete_lock` field is returned in the instance and volume status responses: |
There was a problem hiding this comment.
🚫 [vale] reported by reviewdog 🐶
[write-good.Passive] 'is returned' may be passive voice. Use active voice if you can.
pages/platform/delete-locks.mdx
Outdated
| ## Behaviour | ||
|
|
||
| - **Deletion blocked**: Any DELETE request on a locked resource returns an error. | ||
| - **Autokill skipped**: The autokill subsystem skips instances and service groups that have a delete lock set. The autokill timer does not fire while the lock is active. |
There was a problem hiding this comment.
🚫 [vale] reported by reviewdog 🐶
[Microsoft.Contractions] Use 'doesn't' instead of 'does not'.
pages/platform/delete-locks.mdx
Outdated
|
|
||
| - **Deletion blocked**: Any DELETE request on a locked resource returns an error. | ||
| - **Autokill skipped**: The autokill subsystem skips instances and service groups that have a delete lock set. The autokill timer does not fire while the lock is active. | ||
| - **Templates**: Delete locks are independently configurable on instance templates and volume templates via their respective PATCH endpoints. |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Microsoft.Acronyms] 'PATCH' has no definition.
5a7b871 to
1e0ea66
Compare
Signed-off-by: Jerome Jaggi <jerome@unikraft.io>
1e0ea66 to
f9a35a4
Compare
Summary
Adds a new page documenting the delete locks feature for Unikraft Cloud instances and volumes.
What's included
Source
Verified against
unikraft-cloud/platformsource — the lock enforcement is implemented in the HTTP API handlers and propagated through the vmdb layer.Checklist