Command · pk-metal
pk-metal unhold
changes machinesneeds the cluster
pk-metal unhold removes the hold that pk-metal hold set on a HostClaim.
The operator then proposes operations for the claim again.
Synopsis
Section titled “Synopsis”pk-metal unhold [-n namespace] <claim> | <namespace>/<claim><claim>- The name of the claim. The default namespace is
default. You can also write<namespace>/<claim>.
| Flag | Default | Description |
|---|---|---|
-n<string> | default | Namespace of the claim. |
This command also accepts the global flags --kubeconfig and --context.
What it does
Section titled “What it does”- The command reads the claim.
- If the claim is not on hold, the command says so and changes nothing.
- It removes the annotation
metal.platform-kit.org/holdfrom the claim. - The operator proposes the operations that the claim needs. Each one waits for approval.
Examples
Section titled “Examples”pk-metal unhold default/cp-2
claim default/cp-2 is no longer on hold: the operator proposes operations for it again
pk-metal unhold default/cp-2
claim default/cp-2 is not on hold; nothing changed
Objects
Section titled “Objects”| Object | Access | Purpose |
|---|---|---|
| HostClaim | get, list, patch | Removes the annotation metal.platform-kit.org/hold. |
Exit status
Section titled “Exit status”Related
Section titled “Related”- pk-metal hold
- pk-metal approve approves the operations that the operator proposes after the hold.
- Approve, hold, retry and abort