rune delete
Shorthand — delete a service
Section titled “Shorthand — delete a service”rune delete my-servicerune delete my-service --force --output jsonSubcommands
Section titled “Subcommands”rune delete service <name> # full formrune delete list # list deletion operationsrune delete status <id> # inspect a specific deletion opExamples
Section titled “Examples”# Delete a servicerune delete api
# Force-delete (ignore "in use" errors)rune delete api --force
# Delete a secret / configmaprune delete secret db-credentialsrune delete config app-settings
# Delete a namespace (refuses if not empty unless --force)rune delete namespace staging --force
# Watch a long-running deletionrune delete listrune delete status <id>| Flag | Default | Notes |
|---|---|---|
-n, --namespace | context | Target namespace. |
--force | false | Skip “in use” / “non-empty” checks. |
--wait | true | Wait for deletion to complete. |
--no-wait | false | Return immediately with a deletion op ID. |
--timeout | 5m | Wait timeout. |
-o, --output | table | table, json, yaml. |
Behavior
Section titled “Behavior”Deletion is staged through finalizers and worker tasks (see pkg/orchestrator/finalizers). For services, that means:
- Mark spec for deletion.
- Scale to 0.
- Run finalizers (deregister from discovery, cleanup networks, etc.).
- Remove the resource from the store.
You can interrogate any of those steps with rune delete status <id>.