backup-restore
unquiesce
Unquiesce Kubernetes workloads
such as deployments, StatefulSets, cronjobs, jobs, and
pods.
Extended description
The unquiesce
command
unquiesces deployments and StatefulSets for the specified namespace. The command
calls unquiesce hooks or scales up resources.
Syntax
cpd-cli backup-restore unquiesce \
[--dry-run=true|false] \
[--ignore-hooks] \
[--image-prefix=<image-registry-prefix>] \
[--log-level=info|debug|warn|error|panic] \
[--namespace=<namespace-name>] \
[--values=<yaml-file-name1,yaml-file-name2,...>] \
[--verbose] \
[--wait=true|false] \
[--wait-timeout=<h,m,s>]
Arguments
The unquiesce
command has
no arguments.
Options
Option | Description |
---|---|
--dry-run |
Executes a dry-run without running
the command.
|
|
Display command
help.
|
--ignore-hooks |
Quiesce through scale
down.
|
--image-prefix |
Specify the image registry
prefix.
|
--log-level |
The command log
level.
|
|
The namespace name in which the
utility should operate.
|
|
Specify values in one or more YAML
files.
|
--verbose |
Logs include more detailed
messages.
|
--wait |
When set to "true", wait for the
operation to complete.
|
--wait-timeout |
The wait timeout setting ('h' for
hours, 'm' for minutes, 's' for seconds).
|
Examples
Note: The following examples use the recommended installation environment variables.
Use a script to create environment variables with the correct values for your environment. For more information, see Best practice: Setting up install variables.
- Unquiesce deployments and StatefulSets for the
${PROJECT_CPD_INSTANCE}
namespace (calls unquiesce hooks or scales up resources). -
cpd-cli backup-restore unquiesce \ --namespace=${PROJECT_CPD_INSTANCE}