cpln workload — Manage workloads that run containerized applications within a GVC.
Manage workloads within a global virtual cloudFor a detailed overview, please visit the workload’s reference page.
cpln workload [SUBCOMMAND]
Commands: cpln workload access-report <ref> Show the access report for the referenced workload cpln workload audit [ref] Retrieve audit trail events for the referenced workload cpln workload clone <ref> Create a clone of the referenced workload; this will only duplicate its spec. [aliases: copy] cpln workload connect <ref> Connect to a replica of the workload cpln workload create Create a new workload cpln workload cron Manage cron workloads cpln workload delete <ref...> Delete one or more referenced workloads cpln workload edit <ref> Edit the referenced workload, as YAML, within an editor cpln workload eventlog <ref> Show the event log of the referenced workload [aliases: log] cpln workload exec <ref> Exec a command on a replica of the workload cpln workload force-redeployment <ref...> Force redeployment of the workload(s) cpln workload get [ref...] Retrieve one or more referenced workloads cpln workload get-deployments <ref> Retrieve the current deployments of the referenced workload cpln workload get-replicas <ref> Get the replicas of the referenced workload in a given location [deprecated: This subcommand is deprecated, use 'replica get' instead.] cpln workload open <ref> Open the referenced workload's endpoint in your browser cpln workload patch <ref> Update the referenced workload's metadata using an input file cpln workload permissions Show the grantable permissions for a workload object type cpln workload query Find all the workloads based on the given query cpln workload replica Manage workload replicas cpln workload run Run a command with a workload instance cpln workload start <ref...> Start the workload(s) cpln workload stop <ref...> Stop the workload(s) cpln workload tag <ref...> Manage the tags belonging to one or more referenced workloads cpln workload update <ref> Update properties of the referenced workloadOptions: --help Show help [boolean]
Show the access report for the referenced workloadUsage
cpln workload access-report <ref> [OPTIONS]
Reference
Positionals: ref The resource reference. Usually it is the name of the resource. [required]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Display the user / service account / group permissions for the ‘demo-workload’ workload withing the ‘demo-cpln-gvc’ global virtual cloud within the ‘demo-cpln-organization’ organization
Retrieve audit trail events for the referenced workloadUsage
cpln workload audit [ref] [OPTIONS]
Reference
Positionals: ref The resource reference. Usually it is the name of the resource.Command options: --subject Filter by subject (serviceaccount name or user email) [string] --context Audit context name (the 'cpln' context displays Control Plane actions) [string] [default: "cpln"] --since Relative lookback window from now (e.g., 1h, 24h, 7d). Mutually exclusive with --from/--to [string] [default: "7d"] --from Start time for audit events (ISO 8601 format or relative duration, e.g., 2025-10-23T07:00:00Z, 7d, 1h). Cannot be used with --since [string] --to End time for audit events (ISO 8601 format or relative duration, e.g., 2025-10-23T07:00:00Z, 1d, 30m) [string]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Positionals: ref The resource reference. Usually it is the name of the resource. [required]Command options: --name Set the name for the clone [required] --description Optional description, defaults to the name if not set --tag Attach tags (e.g., --tag drink=water) --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Connect to a replica of the workloadIf multiple replicas are running, use the —replica flag to specify the replica. Use the subcommand
get-replicas to view the current list of replicas.Refer to the cpln workload connect guide for additional details.Usage
Positionals: ref The resource reference. Usually it is the name of the resource. [required]Command options: --location A global virtual cloud location [string] --replica Replica of the deployment --container Container name of the workload --shell, -s Shell to open on replica [default: "bash"]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
When creating a new workload and the image was pushed to your org’s private repository,
use the image name shortcut //image/IMAGE_NAME.For Example: cpln workload create --name WORKLOAD_NAME --image //image/IMAGE_NAME
Reference
Command options: --name Name of the new workload [required] --description, --desc Optional description, defaults to the name if not set --type Workload type [choices: "serverless", "standard"] [default: "standard"] --image Name of the container image [required] --port Port to expose [number] [default: 8080] --env Environment variables in KEY=VALUE format --public Unconstrained ingress & egress for the workload [boolean] --identity Attach the named identity to the workload spec --enable-debug Enables debug response headers when the headers "x-cpln-debug: true" is in the request. [boolean] [default: false] --inherit-env Inherits the environment variables set at GVC level. [boolean] [default: false] --container-name Name of the container item --cpu Allocate CPU resources [default: "50m"] --memory, --mem Allocate Memory [default: "128Mi"] --volume Mount Object Store (S3, GCS, AzureBlob) buckets as file system. E.g. s3://backups@/mnt/storage --tag Attach tags (e.g., --tag drink=water) --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Commands: cpln workload cron get <ref> Get a list of job executions for the referenced workload cpln workload cron run Run a command with a cron workload instance. Use -- at the end to specify the command (e.g., cpln workload cron run --gvc my-gvc -- echo hello) cpln workload cron start <ref> Start a cron job cpln workload cron stop <ref> Stop a cron jobOptions: --help Show help [boolean]
Get a list of job executions for the referenced workloadUsage
cpln workload cron get <ref> [OPTIONS]
Reference
Positionals: ref The resource reference. Usually it is the name of the resource. [required]Command options: --location A global virtual cloud location [string]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
+-------------------+-----------------+-------------------------------------+-------+----------------------+----------------------+|WORKLOAD |LOCATION |NAME OR COMMAND ID |STATUS |START TIME |COMPLETION TIME ||-------------------|-----------------|-------------------------------------|-------|----------------------|----------------------||demo-cron-workload │aws-eu-central-1 |ce770d2b-2b7f-4415-b41e-961f161bcd86 |Active |3/30/2024, 3:29:47 AM |3/30/2024, 3:30:14 AM |+-------------------+-----------------+-------------------------------------+-------+----------------------+----------------------+
Run a command using a persistent cron workload runner.Refer to the cpln workload cron run guide for additional details.
The runner workload is created on first use and reused for subsequent runs, avoiding the overhead of creating and deleting a workload each time.--interactive and --background are mutually exclusive.
Usage
cpln workload cron run [OPTIONS] -- <command>
Reference
Command options: --name Target (or create) a cron workload with this exact name; without it a generated cpln-run-* runner is used --tag Attach tags (e.g., --tag drink=water) --image Override image --interactive, -i Make the session interactive [boolean] [default: false] --background, -b Run in background without waiting for completion (fire and forget) [boolean] [default: false] --timeout, -t Maximum time to wait for job completion in seconds [number] [default: 600] --cpu Set allocated CPU for the main container --memory, --mem Set allocated memory for the main container --env Environment variables in KEY=VALUE format --shell, -s Shell to use, only valid when interactive flag is true [default: "bash"] --location Location to run the command --container Which container to run the command in --identity Attach the named identity to the runner workload -- Command to execute. Must be at the end of the command (e.g., -- echo hello world)Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Positionals: ref The resource reference. Usually it is the name of the resource. [required]Command options: --location A global virtual cloud location [string] --container-name Name of the container [string] --env One or more environment variables in KEY=VALUE format [string] --command Override the entrypoint [string] --arg One or more custom command line argument that will be sent to the container [string] --active-deadline-seconds Maximum duration in seconds for the cron job to complete. Used by the deadline reconciler to detect orphaned commands. [number] --file, -f File to load and use for the command. Use `--file -` to enable input from stdin.Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
+-------------------+-----------------+-------------------------------------+-------+----------------------+----------------+|WORKLOAD |LOCATION |NAME OR COMMAND ID |STATUS |START TIME |COMPLETION TIME ||-------------------|-----------------|-------------------------------------|-------|----------------------|----------------||demo-cron-workload │aws-eu-central-1 |ce770d2b-2b7f-4415-b41e-961f161bcd86 |Active |3/30/2024, 3:29:47 AM | |+-------------------+-----------------+-------------------------------------+-------+----------------------+----------------+
+-------------------+-----------------+-------------------------------------+-------+----------------------+----------------+|WORKLOAD |LOCATION |NAME OR COMMAND ID |STATUS |START TIME |COMPLETION TIME ||-------------------|-----------------|-------------------------------------|-------|----------------------|----------------||demo-cron-workload │aws-eu-central-1 |2afa5cbc-049d-455b-96bc-db4cf459def3 |Active |3/30/2024, 3:29:47 AM | |+-------------------+-----------------+-------------------------------------+-------+----------------------+----------------+
+-------------------+-----------------+-------------------------------------+-------+----------------------+----------------+|WORKLOAD |LOCATION |NAME OR COMMAND ID |STATUS |START TIME |COMPLETION TIME ||-------------------|-----------------|-------------------------------------|-------|----------------------|----------------||demo-cron-workload │aws-eu-central-1 |beac030b-8e54-46c1-acbe-aa19e1682258 |Active |3/30/2024, 3:29:47 AM | |+-------------------+-----------------+-------------------------------------+-------+----------------------+----------------+
Positionals: ref The resource reference. Usually it is the name of the resource. [required]Command options: --replica-name Name of the replica [string] [required] --location A global virtual cloud location [string] [required]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Deleting a workload will remove all associated resources (containers, etc.)
Reference
Positionals: ref One or more resource references. Usually it is the name of the resource. [array] [required] [default: []]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Edit the referenced workload, as YAML, within an editorUsage
cpln workload edit <ref> [OPTIONS]
The default editor can be set by using the EDITOR environment variable.
Reference
Positionals: ref The resource reference. Usually it is the name of the resource. [required]Command options: --replace, -r Replace instead of patch/merge [boolean] [default: false] --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Show the event log of the referenced workloadUsage
cpln workload eventlog <ref> [OPTIONS]
Reference
Positionals: ref The resource reference. Usually it is the name of the resource. [required]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Positionals: ref The resource reference. Usually it is the name of the resource. [required]Command options: --location A global virtual cloud location [string] --replica Replica of the deployment --container Container name of the workload --stdin, -i Pass stdin to the container [boolean] [default: false] --tty, -t Stdin is a TTY [boolean] [default: false] --quiet, -q Only print output from the remote session [boolean] [default: false] -- Command to execute on replicaContext options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Positionals: ref One or more resource references. Usually it is the name of the resource. [array] [required] [default: []]Command options: --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Positionals: ref One or more resource references. Usually it is the name of the resource. [array] [default: []]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Command options: --all-gvcs Show workloads from all the global virtual clouds within the current or overridden organization [boolean]Options: --help Show help [boolean]
Retrieve the current deployments of the referenced workloadUsage
cpln workload get-deployments <ref> [OPTIONS]
Reference
Positionals: ref The resource reference. Usually it is the name of the resource. [required]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Positionals: ref The resource reference. Usually it is the name of the resource. [required]Command options: --location A global virtual cloud location [string]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Open the referenced workload’s endpoint in your browserUsage
cpln workload open <ref> [OPTIONS]
Reference
Positionals: ref The resource reference. Usually it is the name of the resource. [required]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Running this command with the option --file - sets the input to stdin. The input is required to be a valid JSON or YAML string (e.g., {"description": "My new description"} or description: My new description). To complete the update, press Control-D (or Control-Z if you are using Windows).
Reference
Positionals: ref The resource reference. Usually it is the name of the resource. [required]Command options: --file, -f File to load the patch from. Use `--file -` to enable input from stdin. [required] --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
The changes within the JSON file will be performed against the referenced workload.
To update the workload options (i.e., Capacity AI, Scaling Strategy) using the CLI, use the example below to pipe the updated JSON or YAML text to the patch command:
Show the grantable permissions for a workload object typeUsage
cpln workload permissions [OPTIONS]
Reference
Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Find all the workloads based on the given queryUsage
cpln workload query QUERY_OPTIONS [OPTIONS]
Reference
Query options: --match Query filter type [choices: "all", "none", "any"] [default: "all"] --property, --prop Property to query --tag Tag to query --rel Relation to queryContext options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Commands: cpln workload replica get <ref> Get the replica of the referenced workload in a given location cpln workload replica stop <ref> Stop the replica of the referenced workload in a given locationOptions: --help Show help [boolean]
Get the replica of the referenced workload in a given locationUsage
cpln workload replica get <ref> [OPTIONS]
Reference
Positionals: ref The resource reference. Usually it is the name of the resource. [required]Command options: --replica-name Name of the replica [string] --location A global virtual cloud location [string]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Stop the replica of the referenced workload in a given locationUsage
cpln workload replica stop <ref> [OPTIONS]
Reference
Positionals: ref The resource reference. Usually it is the name of the resource. [required]Command options: --replica-name Name of the replica [string] [required] --location A global virtual cloud location [string] [required]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Run a command with a workload instance.Refer to the cpln workload run guide for additional details.
Recommendation: Consider using cpln workload cron run instead — it’s significantly faster and the preferred way to run commands going forward. It uses a persistent cron workload runner that is reused across executions, eliminating the overhead of creating and tearing down a workload each time.
Most basic usage is cpln workload run -- ls -al.This will create a new workload to execute the command, it uses an ubuntu base image.Other examples are:If you have a workload you want to reuse: cpln workload run --clone WORKLOAD_NAME -- ls -al-- <command>: Must always be at the end.Optional flags:--rm: To clean up afterwards.-i: To connect to the session.--cpu and --mem: To override the default resources.--location: To override the location. (By default the first location fetched from your gvc).
Usage
cpln workload run -- COMMAND [OPTIONS]
Reference
Command options: --clone Clone a workload --tag Attach tags (e.g., --tag drink=water) --image Override image --interactive, -i Make the session interactive [boolean] [default: false] --remove, --rm Deletes the workload after the command is run [boolean] [default: false] --cpu Set allocated CPU for the main container --memory, --mem Set allocated memory for the main container --env Environment variables in KEY=VALUE format --command, -c Container command --arg, -a Container args --shell, -s Shell to use, only valid when interactive flag is true [default: "bash"] --location Location to run the command --container Which container to run the command in, only used when "clone" option is usedContext options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Positionals: ref One or more resource references. Usually it is the name of the resource. [array] [required] [default: []]Command options: --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Positionals: ref One or more resource references. Usually it is the name of the resource. [array] [required] [default: []]Command options: --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Manage the tags belonging to one or more referenced workloadsUsage
cpln workload tag <ref...> --tag KEY=VALUE [OPTIONS]
Built-in tags, which begin with cpln/*, can’t be modified.
Reference
Positionals: ref One or more resource references. Usually it is the name of the resource. [array] [required] [default: []]Command options: --tag Attach tags (e.g., --tag drink=water) --remove-tag Remove tags (e.g., --remove-tag tagname) --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Positionals: ref The resource reference. Usually it is the name of the resource. [required]Update Properties: --set Update the following properties (e.g., --set description="Updated Description"): description string tags.<key> string spec.identityLink string spec.containers.<name>.image string spec.containers.<name>.workingDir string spec.containers.<name>.metrics.port string spec.containers.<name>.metrics.path string spec.containers.<name>.cpu string spec.containers.<name>.memory string spec.containers.<name>.command string spec.containers.<name>.args string[] spec.containers.<name>.env.<name>.value string spec.containers.<name>.env.<name> string spec.containers.<name>.inheritEnv boolean spec.firewallConfig.external.inboundAllowCIDR string[] spec.firewallConfig.external.outboundAllowHostname string[] spec.firewallConfig.external.outboundAllowCIDR string[] spec.firewallConfig.internal.inboundAllowType { 'none' | 'same-gvc' | 'same-org' | 'workload-list' } spec.firewallConfig.internal.inboundAllowWorkload string[] spec.defaultOptions.autoscaling.metric { 'concurrency' | 'cpu' | 'rps' } spec.defaultOptions.autoscaling.target number spec.defaultOptions.autoscaling.minScale number spec.defaultOptions.autoscaling.maxScale number spec.defaultOptions.autoscaling.scaleToZeroDelay number spec.defaultOptions.autoscaling.maxConcurrency number spec.defaultOptions.timeoutSeconds number spec.defaultOptions.capacityAI boolean spec.defaultOptions.debug boolean spec.defaultOptions.suspend boolean spec.job.schedule string spec.job.concurrencyPolicy { 'Forbid' | 'Replace' } spec.job.historyLimit number spec.job.restartPolicy { 'OnFailure' | 'Never' } spec.job.activeDeadlineSeconds number spec.loadBalancer.direct.enabled boolean spec.loadBalancer.direct.ipSet string spec.loadBalancer.geoLocation.enabled boolean spec.loadBalancer.geoLocation.headers.asn string spec.loadBalancer.geoLocation.headers.city string spec.loadBalancer.geoLocation.headers.country string spec.loadBalancer.geoLocation.headers.region string spec.requestRetryPolicy.attempts number spec.requestRetryPolicy.retryOn string[] spec.extras string spec.extras.affinity string spec.extras.tolerations string spec.extras.topologySpreadConstraints string Arrays can be appended to, replaced, or removed using the `+=`, `=`, or `-=` operators, respectively. --unset Unset a property (same paths as --set, e.g., --unset description)Command options: --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Array items are addressed by their name, not by index — for example spec.containers\.<name\>.inheritEnv (such as spec.containers.main.inheritEnv=true). Index selectors like spec.containers[0] are not supported.
The --set option allows the modification of the following workload properties:
`description1
Description of the workload
Type: string
tags
Tags (key=value) associated with the workload
Type: string
spec.identityLink
The identity of the workload
Type: string
spec.containers\.<name\>.image
The name of the container image to be pulled
Type: string
spec.containers\.<name\>.port
The port to serve traffic over
Type: number
spec.containers\.<name\>.cpu
The amount of cpu units available to the workload
Default: 150m
Type: string
spec.containers\.<name\>.memory
The amount of memory available to the workload
Default: 128Mi
Type: string
spec.containers\.<name\>.env\.<name\>.value
The environment variables to be available to the workload
If the inbound allow type is ‘workload-list’, this property will be active and contain the names of other workloads that can communicate with this workload
Type: string[]
Allowed values: Other workload names within the same global virtual cloud
NOTE: The ratio between CPU to Memory can be at most 1/8.
Example
For the examples below, the initial workload is configured as:
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Control Plane","description":"Documentation for Control Plane, a hybrid multi-cloud platform for deploying and managing workloads, Kubernetes, networking, secrets, logs, and infrastructure across AWS, GCP, Azure, and private clouds.","colors":{"primary":"#1563ff","light":"#64a5ef","dark":"#1563ff"},"logo":{"light":"https://mintcdn.com/controlplanecorporation/hwvJiAoqIziVJ3gK/logos/dark.svg?fit=max\u0026auto=format\u0026n=hwvJiAoqIziVJ3gK\u0026q=85\u0026s=ec7b5a4bb958adc4d92dedfb41ab2e3c","dark":"https://mintcdn.com/controlplanecorporation/hwvJiAoqIziVJ3gK/logos/light.svg?fit=max\u0026auto=format\u0026n=hwvJiAoqIziVJ3gK\u0026q=85\u0026s=4904ca0b5a8c55fa87495b8edd04aadc"},"favicon":"https://mintcdn.com/controlplanecorporation/hwvJiAoqIziVJ3gK/logos/favicon.png?fit=max\u0026auto=format\u0026n=hwvJiAoqIziVJ3gK\u0026q=85\u0026s=11640a5f7b1a462c233be7a72afa72d7","api":{"openapi":["https://api.cpln.io/openapi.json","https://audit.cpln.io/openapi.json"],"mdx":{"auth":{"method":"bearer"},"server":"https://api.cpln.io"}},"navbar":{"links":[{"href":"https://console.cpln.io/signin","label":"Sign in"}],"primary":{"type":"button","label":"Sign up","href":"https://console.cpln.io/signup"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/control-plane-corporation","youtube":"https://www.youtube.com/@controlplanecorporation","reddit":"https://www.reddit.com/r/controlplane"}},"search":{"prompt":"Search Control Plane docs..."},"seo":{"indexing":"navigable"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity",{"title":"Install MCP Server","description":"Connect the Control Plane MCP Server to your AI tool","icon":"plug","href":"https://docs.controlplane.com/ai/overview"}],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Website","icon":"compass","href":"https://controlplane.com"},{"anchor":"Status","icon":"signal","href":"https://status.cpln.io/"},{"anchor":"Blog","icon":"newspaper","href":"https://controlplane.com/blog"},{"anchor":"FAQ","icon":"question","href":"https://controlplane.com/faq"},{"anchor":"Product Demos","icon":"video","href":"https://controlplane.com/product-demos"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"controlplanecorporation","hasAudioNarration":false,"actualSubdomain":"controlplanecorporation","customDomains":["docs.controlplane.com"],"gitSource":{"type":"github","owner":"controlplane-docs","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"DISABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"DISABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af4fab4dc28594f180fced1","clientVersion":"0.0.4117","searchFilterCounts":[{"language":"default","tag":"API Reference","count":173},{"language":"default","tag":"Core API","count":164},{"language":"default","tag":"Template Catalog","count":112},{"language":"default","tag":"Templates","count":102},{"language":"default","tag":"Home","count":79},{"language":"default","tag":"How-to Guides","count":72},{"language":"default","tag":"CLI Reference","count":66},{"language":"default","tag":"Reference","count":49},{"language":"default","tag":"Commands","count":38},{"language":"default","tag":"Workload","count":24}],"searchSettings":{"maxResults":5}},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"global.css","content":"html{overflow-y:scroll}"},{"filePath":"style.css","content":"img[src*=\"/icons/mcp-sidebar.svg\"]{filter:brightness(0) saturate(100%) invert(69%) sepia(9%) saturate(309%) hue-rotate(176deg) brightness(95%) contrast(87%)!important}a[aria-current=\"page\"] img[src*=\"/icons/mcp-sidebar.svg\"]{filter:brightness(0) saturate(100%) invert(28%) sepia(98%) saturate(3000%) hue-rotate(213deg) brightness(102%) contrast(101%)!important}.dark img[src*=\"/icons/mcp-sidebar.svg\"]{filter:brightness(0) saturate(100%) invert(47%) sepia(8%) saturate(420%) hue-rotate(177deg) brightness(94%) contrast(85%)!important}.dark a[aria-current=\"page\"] img[src*=\"/icons/mcp-sidebar.svg\"]{filter:brightness(0) saturate(100%) invert(63%) sepia(74%) saturate(380%) hue-rotate(186deg) brightness(98%) contrast(91%)!important}img.sidebar-group-icon[src*=\"/icons/mcp-sidebar.svg\"]{filter:brightness(0)!important}.dark img.sidebar-group-icon[src*=\"/icons/mcp-sidebar.svg\"]{filter:brightness(0) invert(1)!important}img[src*=\"/icons/mcp.svg\"]{filter:brightness(0) saturate(100%) invert(28%) sepia(98%) saturate(3000%) hue-rotate(213deg) brightness(102%) contrast(101%)!important}.dark img[src*=\"/icons/mcp.svg\"]{filter:brightness(0) saturate(100%) invert(63%) sepia(74%) saturate(380%) hue-rotate(186deg) brightness(98%) contrast(91%)!important}.dark img[src*=\"/icons/chatgpt.svg\"],.dark img[src*=\"/icons/codex.svg\"],.dark img[src*=\"/icons/cursor.svg\"],.dark img[src*=\"/icons/opencode.svg\"]{filter:invert(1)!important}"}],"page":{"pagePath":"cli-reference/commands/workload","slug":"/cli-reference/commands/workload","pageMetadata":{"title":"workload","description":"cpln workload — Manage workloads that run containerized applications within a GVC.","keywords":["cpln workload","microservice","app deploy","service","pod equivalent","replica","serverless workload","standard workload","stateful workload","cron workload","horizontal scaling","workload create"],"href":"/cli-reference/commands/workload"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"cpln workload — Manage workloads that run containerized applications within a GVC.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,CodeBlock,CodeGroup,Heading,Note,Tip}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Manage workloads within a global virtual cloud`}),`\n`,_jsxs(_components.p,{children:[`For a detailed overview, please visit the `,_jsx(_components.a,{href:`/reference/workload`,children:`workload’s`}),` reference page.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload [SUBCOMMAND]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`29`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`29`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Commands:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload access-report \u003cref> Show the access report for the referenced workload`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload audit [ref] Retrieve audit trail events for the referenced workload`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload clone \u003cref> Create a clone of the referenced workload; this will only duplicate its spec. [aliases: copy]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload connect \u003cref> Connect to a replica of the workload`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload create Create a new workload`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload cron Manage cron workloads`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload delete \u003cref...> Delete one or more referenced workloads`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload edit \u003cref> Edit the referenced workload, as YAML, within an editor`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload eventlog \u003cref> Show the event log of the referenced workload [aliases: log]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload exec \u003cref> Exec a command on a replica of the workload`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload force-redeployment \u003cref...> Force redeployment of the workload(s)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload get [ref...] Retrieve one or more referenced workloads`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload get-deployments \u003cref> Retrieve the current deployments of the referenced workload`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload get-replicas \u003cref> Get the replicas of the referenced workload in a given location [deprecated: This subcommand is deprecated, use 'replica get' instead.]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload open \u003cref> Open the referenced workload's endpoint in your browser`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload patch \u003cref> Update the referenced workload's metadata using an input file`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload permissions Show the grantable permissions for a workload object type`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload query Find all the workloads based on the given query`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload replica Manage workload replicas`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload run Run a command with a workload instance`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload start \u003cref...> Start the workload(s)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload stop \u003cref...> Stop the workload(s)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload tag \u003cref...> Manage the tags belonging to one or more referenced workloads`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload update \u003cref> Update properties of the referenced workload`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-access-report`,children:`workload access-report`}),`\n`,_jsx(_components.p,{children:`Show the access report for the referenced workload`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload access-report \u003cref> [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`26`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`26`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref The resource reference. Usually it is the name of the resource. [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsxs(Accordion,{title:`Example`,id:`example`,children:[_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Display the user / service account / group permissions for the ‘demo-workload’ workload withing the ‘demo-cpln-gvc’ global virtual cloud within the ‘demo-cpln-organization’ organization`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` access-report`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc-workload`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`26`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`26`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+----------------------+--------------------------------------------------------+--------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|PERMISSION |PRINCIPAL |GRANTED |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|----------------------|--------------------------------------------------------|--------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|configureLoadBalancer |/org/demo-cpln-organization/group/superusers |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|configureLoadBalancer |/org/demo-cpln-organization/serviceaccount/controlplane |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|connect |/org/demo-cpln-organization/group/superusers |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|connect |/org/demo-cpln-organization/serviceaccount/controlplane |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|create |/org/demo-cpln-organization/group/superusers |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|create |/org/demo-cpln-organization/serviceaccount/controlplane |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|delete |/org/demo-cpln-organization/group/superusers |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|delete |/org/demo-cpln-organization/serviceaccount/controlplane |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|edit |/org/demo-cpln-organization/group/superusers |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|edit |/org/demo-cpln-organization/serviceaccount/controlplane |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|exec |/org/demo-cpln-organization/group/superusers |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|exec |/org/demo-cpln-organization/serviceaccount/controlplane |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|exec.runCronWorkload |/org/demo-cpln-organization/group/superusers |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|exec.runCronWorkload |/org/demo-cpln-organization/serviceaccount/controlplane |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|exec.stopReplica |/org/demo-cpln-organization/group/superusers |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|exec.stopReplica |/org/demo-cpln-organization/serviceaccount/controlplane |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|manage |/org/demo-cpln-organization/group/superusers |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|manage |/org/demo-cpln-organization/serviceaccount/controlplane |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|view |/org/demo-cpln-organization/group/viewers |view |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|view |/org/demo-cpln-organization/group/superusers |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|view |/org/demo-cpln-organization/serviceaccount/controlplane |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+----------------------+--------------------------------------------------------+--------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-audit`,children:`workload audit`}),`\n`,_jsx(_components.p,{children:`Retrieve audit trail events for the referenced workload`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload audit [ref] [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-1`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`33`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`33`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref The resource reference. Usually it is the name of the resource.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --subject Filter by subject (serviceaccount name or user email) [string]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --context Audit context name (the 'cpln' context displays Control Plane actions) [string] [default: \"cpln\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --since Relative lookback window from now (e.g., 1h, 24h, 7d). Mutually exclusive with --from/--to [string] [default: \"7d\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --from Start time for audit events (ISO 8601 format or relative duration, e.g., 2025-10-23T07:00:00Z, 7d, 1h). Cannot be used with --since [string]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --to End time for audit events (ISO 8601 format or relative duration, e.g., 2025-10-23T07:00:00Z, 1d, 30m) [string]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-clone`,children:`workload clone`}),`\n`,_jsx(_components.p,{children:`Create a clone of the referenced workload; this will only duplicate its spec.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload clone \u003cref> --name CLONE_NAME [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-2`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`32`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`32`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref The resource reference. Usually it is the name of the resource. [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --name Set the name for the clone [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --description Optional description, defaults to the name if not set`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --tag Attach tags (e.g., --tag drink=water)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(Accordion,{title:`Example`,id:`example-1`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` clone`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --name`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload-clone`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc-workload`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+-----------------------+------------------+------+--------+-------------------------------------------------------------------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |GVC |READY |CREATED |ENDPOINT |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|--------------------|-----------------------|------------------|------|--------|-------------------------------------------------------------------|--------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-clone |Clone of demo-workload |demo-gvc-workload | |Now |https://demo-workload-clone-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app |drink=\"water\" |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+-----------------------+------------------+------+--------+-------------------------------------------------------------------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-connect`,children:`workload connect`}),`\n`,_jsx(_components.p,{children:`Connect to a replica of the workload`}),`\n`,_jsxs(_components.p,{children:[`If multiple replicas are running, use the —replica flag to specify the replica. Use the subcommand\n`,_jsx(_components.a,{href:`#workload-get-replicas`,children:`get-replicas`}),` to view the current list of replicas.`]}),`\n`,_jsxs(_components.p,{children:[`Refer to the `,_jsx(_components.a,{href:`/guides/cli/workload/connect`,children:`cpln workload connect guide`}),` for additional details.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload connect \u003cref> --location LOCATION [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-3`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`32`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`32`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref The resource reference. Usually it is the name of the resource. [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --location A global virtual cloud location [string]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --replica Replica of the deployment`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --container Container name of the workload`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --shell, -s Shell to open on replica [default: \"bash\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-create`,children:`workload create`}),`\n`,_jsx(_components.p,{children:`Create a new workload`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload create --name WORKLOAD_NAME --image IMAGE_NAME [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Tip,{children:[_jsxs(_components.p,{children:[`When creating a new workload and the image was pushed to your org’s private repository,\nuse the image name shortcut `,_jsx(_components.code,{children:`//image/IMAGE_NAME`}),`.`]}),_jsxs(_components.p,{children:[`For Example: `,_jsx(_components.code,{children:`cpln workload create --name WORKLOAD_NAME --image //image/IMAGE_NAME`})]})]}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-4`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`41`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`41`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --name Name of the new workload [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --description, --desc Optional description, defaults to the name if not set`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --type Workload type [choices: \"serverless\", \"standard\"] [default: \"standard\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --image Name of the container image [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --port Port to expose [number] [default: 8080]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --env Environment variables in KEY=VALUE format`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --public Unconstrained ingress \u0026 egress for the workload [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --identity Attach the named identity to the workload spec`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --enable-debug Enables debug response headers when the headers \"x-cpln-debug: true\" is in the request. [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --inherit-env Inherits the environment variables set at GVC level. [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --container-name Name of the container item`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --cpu Allocate CPU resources [default: \"50m\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --memory, --mem Allocate Memory [default: \"128Mi\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --volume Mount Object Store (S3, GCS, AzureBlob) buckets as file system. E.g. s3://backups@/mnt/storage`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --tag Attach tags (e.g., --tag drink=water)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsxs(Accordion,{title:`Options`,id:`options`,children:[_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`name`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Type: string`}),`\n`,_jsx(_components.li,{children:`Minimum Length: 3`}),`\n`,_jsx(_components.li,{children:`Maximum Length: 64`}),`\n`,_jsx(_components.li,{children:`Only lowercase characters`}),`\n`,_jsx(_components.li,{children:`Must begin with a character`}),`\n`,_jsx(_components.li,{children:`Allowed special characters: -`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`image`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Type: string`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`port`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Type: number`}),`\n`,_jsx(_components.li,{children:`Default: 8080`}),`\n`,_jsx(_components.li,{children:`Minimum Value: 80`}),`\n`,_jsx(_components.li,{children:`Maximum Value: 65535`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`cpu`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Type: string`}),`\n`,_jsx(_components.li,{children:`Default: 150m`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`memory`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Type: string`}),`\n`,_jsx(_components.li,{children:`Default: 128Mi`}),`\n`]}),`\n`]}),`\n`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`NOTE:`}),` The ratio between CPU to Memory can be at most 1/8.`]})]}),`\n`,_jsx(Accordion,{title:`Example`,id:`example-2`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --name`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --image`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` gcr.io/knative-samples/helloworld-go`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --desc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --tag`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` drink=water`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc-workload`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------+--------------+------------------+------+--------+-------------------------------------------------------------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |GVC |READY |CREATED |ENDPOINT |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|--------------|--------------|------------------|------|--------|-------------------------------------------------------------|--------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload |demo-workload |demo-gvc-workload | |Now |https://demo-workload-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app |drink=\"water\" |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------+--------------+------------------+------+--------+-------------------------------------------------------------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-cron`,children:`workload cron`}),`\n`,_jsx(_components.p,{children:`Manage cron workloads`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload cron [SUBCOMMAND]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Commands:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload cron get \u003cref> Get a list of job executions for the referenced workload`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload cron run Run a command with a cron workload instance. Use -- at the end to specify the command (e.g., cpln workload cron run --gvc my-gvc -- echo hello)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload cron start \u003cref> Start a cron job`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload cron stop \u003cref> Stop a cron job`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`4`,id:`workload-cron-get`,children:`workload cron get`}),`\n`,_jsx(_components.p,{children:`Get a list of job executions for the referenced workload`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload cron get \u003cref> [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-5`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`29`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`29`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref The resource reference. Usually it is the name of the resource. [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --location A global virtual cloud location [string]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(Accordion,{title:`Example`,id:`example-3`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cron`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` get`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cron-workload`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-------------------+-----------------+-------------------------------------+-------+----------------------+----------------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|WORKLOAD |LOCATION |NAME OR COMMAND ID |STATUS |START TIME |COMPLETION TIME |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|-------------------|-----------------|-------------------------------------|-------|----------------------|----------------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-cron-workload │aws-eu-central-1 |ce770d2b-2b7f-4415-b41e-961f161bcd86 |Active |3/30/2024, 3:29:47 AM |3/30/2024, 3:30:14 AM |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-------------------+-----------------+-------------------------------------+-------+----------------------+----------------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-cron-run`,children:`workload cron run`}),`\n`,_jsx(_components.p,{children:`Run a command using a persistent cron workload runner.`}),`\n`,_jsxs(_components.p,{children:[`Refer to the `,_jsx(_components.a,{href:`/guides/cli/workload/cron-run`,children:`cpln workload cron run guide`}),` for additional details.`]}),`\n`,_jsxs(Note,{children:[_jsx(_components.p,{children:`The runner workload is created on first use and reused for subsequent runs, avoiding the overhead of creating and deleting a workload each time.`}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`--interactive`}),` and `,_jsx(_components.code,{children:`--background`}),` are mutually exclusive.`]})]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload cron run [OPTIONS] -- \u003ccommand>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-6`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`39`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`39`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --name Target (or create) a cron workload with this exact name; without it a generated cpln-run-* runner is used`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --tag Attach tags (e.g., --tag drink=water)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --image Override image`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --interactive, -i Make the session interactive [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --background, -b Run in background without waiting for completion (fire and forget) [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --timeout, -t Maximum time to wait for job completion in seconds [number] [default: 600]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --cpu Set allocated CPU for the main container`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --memory, --mem Set allocated memory for the main container`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --env Environment variables in KEY=VALUE format`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --shell, -s Shell to use, only valid when interactive flag is true [default: \"bash\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --location Location to run the command`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --container Which container to run the command in`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --identity Attach the named identity to the runner workload`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` -- Command to execute. Must be at the end of the command (e.g., -- echo hello world)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(Accordion,{title:`Example`,id:`example-4`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Default (wait for completion)`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cron`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` echo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Hello from Control Plane!\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Background (fire and forget)`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cron`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --background`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` npm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` db:migrate`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Interactive session`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cron`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --interactive`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` bash`})]}),`\n`]})})})]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-cron-start`,children:`workload cron start`}),`\n`,_jsx(_components.p,{children:`Start a cron job`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload cron start \u003cref> [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-7`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`35`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`35`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref The resource reference. Usually it is the name of the resource. [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --location A global virtual cloud location [string]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --container-name Name of the container [string]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --env One or more environment variables in KEY=VALUE format [string]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --command Override the entrypoint [string]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --arg One or more custom command line argument that will be sent to the container [string]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --active-deadline-seconds Maximum duration in seconds for the cron job to complete. Used by the deadline reconciler to detect orphaned commands. [number]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --file, -f File to load and use for the command. Use `--file -` to enable input from stdin.\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsxs(Accordion,{title:`Example`,id:`example-5`,children:[_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Basic Usage`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cron`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` start`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cron-workload`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-------------------+-----------------+-------------------------------------+-------+----------------------+----------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|WORKLOAD |LOCATION |NAME OR COMMAND ID |STATUS |START TIME |COMPLETION TIME |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|-------------------|-----------------|-------------------------------------|-------|----------------------|----------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-cron-workload │aws-eu-central-1 |ce770d2b-2b7f-4415-b41e-961f161bcd86 |Active |3/30/2024, 3:29:47 AM | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-------------------+-----------------+-------------------------------------+-------+----------------------+----------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Override Container Through Arguments`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cron`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` start`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cron-workload`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --container-name`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --command`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` bash`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --arg`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` echo`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --arg`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` hello`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --arg`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` world`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --env`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` APP_MODE=dev`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --location`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` aws-eu-central-1`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-------------------+-----------------+-------------------------------------+-------+----------------------+----------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|WORKLOAD |LOCATION |NAME OR COMMAND ID |STATUS |START TIME |COMPLETION TIME |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|-------------------|-----------------|-------------------------------------|-------|----------------------|----------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-cron-workload │aws-eu-central-1 |2afa5cbc-049d-455b-96bc-db4cf459def3 |Active |3/30/2024, 3:29:47 AM | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-------------------+-----------------+-------------------------------------+-------+----------------------+----------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Override Multiple Containers Through a File`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example File`})}),_jsx(CodeBlock,{filename:`YAML`,numberOfLines:`17`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`demo`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`APP_MODE`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` value`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`dev`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`command`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`bash`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`args`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`echo`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`hello`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`world`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`---`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`demo`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`APP_MODE`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` value`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`prod`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`command`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`bash`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`args`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`ls`})]}),`\n`]})})}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cron`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` start`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cron-workload`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --file`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` overrideContainerFile.yaml`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --location`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` aws-eu-central-1`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-------------------+-----------------+-------------------------------------+-------+----------------------+----------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|WORKLOAD |LOCATION |NAME OR COMMAND ID |STATUS |START TIME |COMPLETION TIME |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|-------------------|-----------------|-------------------------------------|-------|----------------------|----------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-cron-workload │aws-eu-central-1 |beac030b-8e54-46c1-acbe-aa19e1682258 |Active |3/30/2024, 3:29:47 AM | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-------------------+-----------------+-------------------------------------+-------+----------------------+----------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-cron-stop`,children:`workload cron stop`}),`\n`,_jsx(_components.p,{children:`Stop a cron job`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload cron stop \u003cref> [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-8`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`30`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`30`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref The resource reference. Usually it is the name of the resource. [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --replica-name Name of the replica [string] [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --location A global virtual cloud location [string] [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-delete`,children:`workload delete`}),`\n`,_jsx(_components.p,{children:`Delete one or more referenced workloads`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload delete \u003cref...> [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Deleting a workload will remove all associated resources (containers, etc.)`})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-9`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`26`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`26`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref One or more resource references. Usually it is the name of the resource. [array] [required] [default: []]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsxs(Accordion,{title:`Example`,id:`example-6`,children:[_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Delete a workload`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` delete`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload-1`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc-workload`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`If the delete was successful, a new command prompt will be shown.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Delete multiple workloads`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` delete`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload-1`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload-2`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc-workload`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`If the delete was successful, a new command prompt will be shown.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-edit`,children:`workload edit`}),`\n`,_jsx(_components.p,{children:`Edit the referenced workload, as YAML, within an editor`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload edit \u003cref> [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`The default editor can be set by using the EDITOR environment variable.`})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-10`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`30`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`30`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref The resource reference. Usually it is the name of the resource. [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --replace, -r Replace instead of patch/merge [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(Accordion,{title:`Example`,id:`example-7`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` edit`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc-workload`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Your default editor will be launched.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Once any modifications are saved, the updates will be sent to the API.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-eventlog`,children:`workload eventlog`}),`\n`,_jsx(_components.p,{children:`Show the event log of the referenced workload`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload eventlog \u003cref> [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-11`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`26`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`26`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref The resource reference. Usually it is the name of the resource. [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(Accordion,{title:`Example`,id:`example-8`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` eventlog`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc-workload`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`The event log for the referenced workload will be shown.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-exec`,children:`workload exec`}),`\n`,_jsx(_components.p,{children:`Exec a command on a replica of the workload.`}),`\n`,_jsxs(_components.p,{children:[`Refer to the `,_jsx(_components.a,{href:`/guides/cli/workload/exec`,children:`cpln workload exec guide`}),` for additional details.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload exec \u003cref> --location LOCATION -- COMMAND ARG1 ARG2 [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-12`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`35`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`35`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref The resource reference. Usually it is the name of the resource. [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --location A global virtual cloud location [string]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --replica Replica of the deployment`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --container Container name of the workload`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --stdin, -i Pass stdin to the container [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --tty, -t Stdin is a TTY [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --quiet, -q Only print output from the remote session [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` -- Command to execute on replica`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsxs(Accordion,{title:`Example`,id:`example-9`,children:[_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Execute a command`}),`\n`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` exec`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` index`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --location`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` aws-eu-central-1`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ls`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /etc`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` grep`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` group`})]}),`\n`]})})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-force-redeployment`,children:`workload force-redeployment`}),`\n`,_jsx(_components.p,{children:`Force redeployment of the referenced workload(s).`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload force-redeployment \u003cref...> [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-13`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`29`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`29`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref One or more resource references. Usually it is the name of the resource. [array] [required] [default: []]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-get`,children:`workload get`}),`\n`,_jsx(_components.p,{children:`Retrieve one or more referenced workloads`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload get [ref...] [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`An empty reference will return all references`})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-14`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`29`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`29`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref One or more resource references. Usually it is the name of the resource. [array] [default: []]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --all-gvcs Show workloads from all the global virtual clouds within the current or overridden organization [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsxs(Accordion,{title:`Example`,id:`example-10`,children:[_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Get all workloads`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` get`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc-workload`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`8`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+--------------------+------------------+------+---------------+-------------------------------------------------------------------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |GVC |READY |CREATED |ENDPOINT |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|--------------------|--------------------|------------------|------|---------------|-------------------------------------------------------------------|--------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload |demo-workload |demo-gvc-workload |true |13 minutes ago |https://demo-workload-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app |drink=\"water\" |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-get-1 |demo-workload-get-1 |demo-gvc-workload |false |Now |https://demo-workload-get-1-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-get-2 |demo-workload-get-2 |demo-gvc-workload |false |Now |https://demo-workload-get-2-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+--------------------+------------------+------+---------------+-------------------------------------------------------------------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Get one workload`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` get`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload-get-1`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc-workload`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+--------------------+------------------+------+--------+-------------------------------------------------------------------+-----+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |GVC |READY |CREATED |ENDPOINT |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|--------------------|--------------------|------------------|------|--------|-------------------------------------------------------------------|-----|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-get-1 |demo-workload-get-1 |demo-gvc-workload |false |Now |https://demo-workload-get-1-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+--------------------+------------------+------+--------+-------------------------------------------------------------------+-----+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Get multiple workloads`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` get`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload-get-1`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload-get-2`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc-workload`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`7`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+--------------------+------------------+------+--------+-------------------------------------------------------------------+-----+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |GVC |READY |CREATED |ENDPOINT |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|--------------------|--------------------|------------------|------|--------|-------------------------------------------------------------------|-----|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-get-1 |demo-workload-get-1 |demo-gvc-workload |false |Now |https://demo-workload-get-1-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-get-2 |demo-workload-get-2 |demo-gvc-workload |false |Now |https://demo-workload-get-2-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+--------------------+------------------+------+--------+-------------------------------------------------------------------+-----+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-get-deployments`,children:`workload get-deployments`}),`\n`,_jsx(_components.p,{children:`Retrieve the current deployments of the referenced workload`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload get-deployments \u003cref> [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-15`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`26`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`26`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref The resource reference. Usually it is the name of the resource. [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(Accordion,{title:`Example`,id:`example-11`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` get-deployments`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload-get-deployments`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc-get-deployments`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`16`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------------+--------------+---------------------------------------------------------------------------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME/LOCATION |MODIFIED |STATUS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|-----------------|--------------|---------------------------------------------------------------------------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|aws-eu-central-1 |0 minutes ago |endpoint=\"https://demo-workload-get-deployments-dta8cb6daad8a.aws-eu-central-... |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`| | |expectedDeploymentVersion=2 |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`| | |internal={\"podStatus\":{},\"podsValidZone\":true,\"timestamp\":\"2024-02-29T22:04:0... |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`| | |lastProcessedVersion=2 |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`| | |message=\"\" |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`| | |ready=true |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`| | |message=\"\" |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`| | |ready=true |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`| | |remote=\"https://a4e2dc319c383ac09ceeed0475a71f33.remote.cpln.io\" |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`| | |versions=[{\"message\":\"Replica(s) Initializing...\",\"ready\":true,\"containers\":{... |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`| | |versions=[{\"message\":\"Replica(s) Initializing...\",\"ready\":true,\"containers\":{... |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------------+--------------+---------------------------------------------------------------------------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-get-replicas`,children:`workload get-replicas`}),`\n`,_jsx(_components.p,{children:`Get the replicas of the referenced workload in a given location`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload get-replicas \u003cref> --location LOCATION [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-16`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`29`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`29`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref The resource reference. Usually it is the name of the resource. [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --location A global virtual cloud location [string]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(Accordion,{title:`Example`,id:`example-12`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` get-replicas`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --location`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` aws-eu-central-1`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------------------------------------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|REPLICA |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|-----------------------------------------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-00118-deployment-655f87bffb-nmxxr|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------------------------------------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-open`,children:`workload open`}),`\n`,_jsx(_components.p,{children:`Open the referenced workload’s endpoint in your browser`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload open \u003cref> [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-17`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`26`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`26`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref The resource reference. Usually it is the name of the resource. [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsxs(Accordion,{title:`Example`,id:`example-13`,children:[_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Open the endpoint of the referenced workload`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` open`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` $2`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`The endpoint for this workload will be opened in the default browser`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-patch`,children:`workload patch`}),`\n`,_jsx(_components.p,{children:`Update the referenced workload’s metadata using an input file`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload patch \u003cref> --file FILE_NAME [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Running this command with the option `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`--file -`})}),` sets the input to stdin. The input is required to be a valid JSON or YAML string (e.g., `,_jsx(_components.code,{children:`{\"description\": \"My new description\"}`}),` or `,_jsx(_components.code,{children:`description: My new description`}),`). To complete the update, press Control-D (or Control-Z if you are using Windows).`]})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-18`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`30`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`30`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref The resource reference. Usually it is the name of the resource. [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --file, -f File to load the patch from. Use `--file -` to enable input from stdin. [required]\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsxs(Accordion,{title:`Example`,id:`example-14`,children:[_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` patch`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --file`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload-update.json`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` $2`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`The changes within the JSON file will be performed against the referenced workload.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsx(_components.p,{children:`To update the workload options (i.e., Capacity AI, Scaling Strategy) using the CLI, use the example below to pipe the updated JSON or YAML text to the patch command:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`echo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"spec\": {\"defaultOptions\": {\"autoscaling\": {\"metric\": \"cpu\", \"target\": 90}, \"capacityAI\": false}}}'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` patch`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` WORKLOAD_NAME`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` -`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ORG_NAME`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GVC_NAME`})]}),`\n`]})})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-permissions`,children:`workload permissions`}),`\n`,_jsx(_components.p,{children:`Show the grantable permissions for a workload object type`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload permissions [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-19`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`23`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`23`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(Accordion,{title:`Example`,id:`example-15`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` permissions`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc-workload`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`15`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`15`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+----------------------+-----------------------------------------+-----------------------------------------------------------------------------------------------------------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |IMPLIES |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|----------------------|-----------------------------------------|-----------------------------------------------------------------------------------------------------------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|configureLoadBalancer |Principal can configure LB | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|connect |Connect to replica (open an interacti... | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|create |Create new workloads | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|delete |Delete existing workloads | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|edit |Modify existing workloads |view |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|exec |Execute commands |exec.runCronWorkload, exec.stopReplica |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|exec.runCronWorkload |Force a cron-workload to run | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|exec.stopReplica |Force a replica to be stopped | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|manage |Full access |configureLoadBalancer, connect, create, delete, edit, exec, exec.runCronWorkload, exec.stopReplica, manage, view |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|view |Read-only access | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+----------------------+-----------------------------------------+-----------------------------------------------------------------------------------------------------------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-query`,children:`workload query`}),`\n`,_jsx(_components.p,{children:`Find all the workloads based on the given query`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload query QUERY_OPTIONS [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-20`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`29`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`29`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Query options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --match Query filter type [choices: \"all\", \"none\", \"any\"] [default: \"all\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --property, --prop Property to query`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --tag Tag to query`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --rel Relation to query`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsxs(Accordion,{title:`Example`,id:`example-16`,children:[_jsx(Note,{children:_jsxs(_components.p,{children:[`Use the `,_jsx(_components.code,{children:`--match`}),` option to display `,_jsx(_components.strong,{children:`all`}),`, `,_jsx(_components.strong,{children:`none`}),`, or `,_jsx(_components.strong,{children:`any`}),` of the results based on a given property or tag`]})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Search for a workload based on the name property`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` query`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --match`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` any`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --prop`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` name=demo-workload`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc-workload`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`8`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+--------------------+------------------+------+---------------+-------------------------------------------------------------------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |GVC |READY |CREATED |ENDPOINT |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|--------------------|--------------------|------------------|------|---------------|-------------------------------------------------------------------|--------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload |demo-workload |demo-gvc-workload | |13 minutes ago |https://demo-workload-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app |drink=\"water\" |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-get-1 |demo-workload-get-1 |demo-gvc-workload | |Now |https://demo-workload-get-1-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-get-2 |demo-workload-get-2 |demo-gvc-workload | |Now |https://demo-workload-get-2-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+--------------------+------------------+------+---------------+-------------------------------------------------------------------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Search for a workload based on the description property`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` query`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --match`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` any`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --prop`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` description=\"demo-workload\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc-workload`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`8`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+--------------------+------------------+------+---------------+-------------------------------------------------------------------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |GVC |READY |CREATED |ENDPOINT |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|--------------------|--------------------|------------------|------|---------------|-------------------------------------------------------------------|--------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload |demo-workload |demo-gvc-workload | |13 minutes ago |https://demo-workload-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app |drink=\"water\" |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-get-1 |demo-workload-get-1 |demo-gvc-workload | |Now |https://demo-workload-get-1-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-get-2 |demo-workload-get-2 |demo-gvc-workload | |Now |https://demo-workload-get-2-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+--------------------+------------------+------+---------------+-------------------------------------------------------------------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Search for a workload based on a tag`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` query`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --match`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` any`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --tag`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` drink=water`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc-workload`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`8`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+--------------------+------------------+------+---------------+-------------------------------------------------------------------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |GVC |READY |CREATED |ENDPOINT |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|--------------------|--------------------|------------------|------|---------------|-------------------------------------------------------------------|--------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload |demo-workload |demo-gvc-workload | |13 minutes ago |https://demo-workload-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app |drink=\"water\" |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-get-1 |demo-workload-get-1 |demo-gvc-workload | |Now |https://demo-workload-get-1-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-get-2 |demo-workload-get-2 |demo-gvc-workload | |Now |https://demo-workload-get-2-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+--------------------+------------------+------+---------------+-------------------------------------------------------------------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Search for a workload based on a property and tag`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` query`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --match`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` any`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --prop`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` description=\"demo-workload\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --tag`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` drink=water`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc-workload`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`8`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+--------------------+------------------+------+---------------+-------------------------------------------------------------------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |GVC |READY |CREATED |ENDPOINT |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|--------------------|--------------------|------------------|------|---------------|-------------------------------------------------------------------|--------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload |demo-workload |demo-gvc-workload | |13 minutes ago |https://demo-workload-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app |drink=\"water\" |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-get-1 |demo-workload-get-1 |demo-gvc-workload | |Now |https://demo-workload-get-1-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-get-2 |demo-workload-get-2 |demo-gvc-workload | |Now |https://demo-workload-get-2-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+--------------------+------------------+------+---------------+-------------------------------------------------------------------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-replica`,children:`workload replica`}),`\n`,_jsx(_components.p,{children:`Manage workload replicas`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload replica [SUBCOMMAND]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Commands:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload replica get \u003cref> Get the replica of the referenced workload in a given location`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln workload replica stop \u003cref> Stop the replica of the referenced workload in a given location`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`4`,id:`workload-replica-get`,children:`workload replica get`}),`\n`,_jsx(_components.p,{children:`Get the replica of the referenced workload in a given location`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload replica get \u003cref> [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-21`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`30`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`30`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref The resource reference. Usually it is the name of the resource. [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --replica-name Name of the replica [string]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --location A global virtual cloud location [string]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-replica-stop`,children:`workload replica stop`}),`\n`,_jsx(_components.p,{children:`Stop the replica of the referenced workload in a given location`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload replica stop \u003cref> [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-22`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`30`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`30`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref The resource reference. Usually it is the name of the resource. [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --replica-name Name of the replica [string] [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --location A global virtual cloud location [string] [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(Accordion,{title:`Example`,id:`example-17`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` replica`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` stop`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --replica-name`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload-0`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --location`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` aws-eu-central-1`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------------+-----------------+-------------------+---------+----------------------+----------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|WORKLOAD |LOCATION |REPLICA |STATUS |START TIME |COMPLETION TIME |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|-----------------|-----------------|-------------------|---------|----------------------|----------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload |aws-eu-central-1 |demo-workload-0 |Stopping |3/30/2024, 4:02:12 AM | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------------+-----------------+-------------------+---------+----------------------+----------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-run`,children:`workload run`}),`\n`,_jsx(_components.p,{children:`Run a command with a workload instance.`}),`\n`,_jsxs(_components.p,{children:[`Refer to the `,_jsx(_components.a,{href:`/guides/cli/workload/run`,children:`cpln workload run guide`}),` for additional details.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recommendation:`}),` Consider using `,_jsx(_components.a,{href:`#workload-cron-run`,children:_jsx(_components.code,{children:`cpln workload cron run`})}),` instead — it’s significantly faster and the preferred way to run commands going forward. It uses a persistent cron workload runner that is reused across executions, eliminating the overhead of creating and tearing down a workload each time.`]})}),`\n`,_jsxs(Note,{children:[_jsxs(_components.p,{children:[`Most basic usage is `,_jsx(_components.code,{children:`cpln workload run -- ls -al`}),`.`]}),_jsx(_components.p,{children:`This will create a new workload to execute the command, it uses an ubuntu base image.`}),_jsx(_components.p,{children:`Other examples are:`}),_jsxs(_components.p,{children:[`If you have a workload you want to reuse: `,_jsx(_components.code,{children:`cpln workload run --clone WORKLOAD_NAME -- ls -al`})]}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`-- \u003ccommand>`}),`: Must always be at the end.`]}),_jsx(_components.p,{children:`Optional flags:`}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`--rm`}),`: To clean up afterwards.`]}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`-i`}),`: To connect to the session.`]}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`--cpu`}),` and `,_jsx(_components.code,{children:`--mem`}),`: To override the default resources.`]}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`--location`}),`: To override the location. (By default the first location fetched from your gvc).`]})]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload run -- COMMAND [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-23`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`38`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`38`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --clone Clone a workload`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --tag Attach tags (e.g., --tag drink=water)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --image Override image`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --interactive, -i Make the session interactive [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --remove, --rm Deletes the workload after the command is run [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --cpu Set allocated CPU for the main container`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --memory, --mem Set allocated memory for the main container`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --env Environment variables in KEY=VALUE format`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --command, -c Container command`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --arg, -a Container args`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --shell, -s Shell to use, only valid when interactive flag is true [default: \"bash\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --location Location to run the command`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --container Which container to run the command in, only used when \"clone\" option is used`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(Accordion,{title:`Example`,id:`example-18`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ls`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -al`})]}),`\n`]})})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-start`,children:`workload start`}),`\n`,_jsx(_components.p,{children:`Start the workload(s)`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload start \u003cref...> [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-24`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`29`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`29`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref One or more resource references. Usually it is the name of the resource. [array] [required] [default: []]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(Accordion,{title:`Example`,id:`example-19`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` start`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc`})]}),`\n`]})})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-stop`,children:`workload stop`}),`\n`,_jsx(_components.p,{children:`Stop the workload(s)`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload stop \u003cref...> [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-25`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`29`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`29`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref One or more resource references. Usually it is the name of the resource. [array] [required] [default: []]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(Accordion,{title:`Example`,id:`example-20`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` stop`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc`})]}),`\n`]})})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-tag`,children:`workload tag`}),`\n`,_jsx(_components.p,{children:`Manage the tags belonging to one or more referenced workloads`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload tag \u003cref...> --tag KEY=VALUE [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Built-in tags, which begin with cpln/*, can’t be modified.`})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-26`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`31`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`31`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref One or more resource references. Usually it is the name of the resource. [array] [required] [default: []]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --tag Attach tags (e.g., --tag drink=water)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --remove-tag Remove tags (e.g., --remove-tag tagname)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsxs(Accordion,{title:`Example`,id:`example-21`,children:[_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Add a tag to a workload`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tag`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload-tag-1`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --tag`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` drink=water`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc-workload`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+--------------------+------------------+------+--------+-------------------------------------------------------------------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |GVC |READY |CREATED |ENDPOINT |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|--------------------|--------------------|------------------|------|--------|-------------------------------------------------------------------|--------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-tag-1 |demo-workload-tag-1 |demo-gvc-workload | |Now |https://demo-workload-tag-1-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app |drink=\"water\" |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+--------------------+------------------+------+--------+-------------------------------------------------------------------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Update same tag (after running the example above)`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tag`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload-tag-1`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --tag`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` drink=coffee`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc-workload`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+--------------------+------------------+------+--------+-------------------------------------------------------------------+---------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |GVC |READY |CREATED |ENDPOINT |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|--------------------|--------------------|------------------|------|--------|-------------------------------------------------------------------|---------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-tag-1 |demo-workload-tag-1 |demo-gvc-workload | |Now |https://demo-workload-tag-1-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app |drink=\"coffee\" |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+--------------------+------------------+------+--------+-------------------------------------------------------------------+---------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Remove tag (after running the example above)`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tag`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload-tag-1`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --remove-tag`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` drink`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc-workload`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+--------------------+------------------+------+--------+-------------------------------------------------------------------+-----+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |GVC |READY |CREATED |ENDPOINT |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|--------------------|--------------------|------------------|------|--------|-------------------------------------------------------------------|-----|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-tag-1 |demo-workload-tag-1 |demo-gvc-workload | |Now |https://demo-workload-tag-1-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+--------------------+------------------+------+--------+-------------------------------------------------------------------+-----+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Add same tag to multiple workloads`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tag`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload-tag-1`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload-tag-2`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --tag`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` multiple-workloads=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc-workload`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`7`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+--------------------+------------------+------+--------+-------------------------------------------------------------------+--------------------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |GVC |READY |CREATED |ENDPOINT |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|--------------------|--------------------|------------------|------|--------|-------------------------------------------------------------------|--------------------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-tag-1 |demo-workload-tag-1 |demo-gvc-workload | |Now |https://demo-workload-tag-1-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app |multiple-workloads=\"true\" |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-tag-2 |demo-workload-tag-2 |demo-gvc-workload | |Now |https://demo-workload-tag-2-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app |multiple-workloads=\"true\" |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+--------------------+------------------+------+--------+-------------------------------------------------------------------+--------------------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Update same tag on multiple workloads (after running the example above)`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tag`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload-tag-1`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload-tag-2`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --tag`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` multiple-workloads=demo-workload`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc-workload`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`7`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+--------------------+------------------+------+--------+-------------------------------------------------------------------+-----------------------------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |GVC |READY |CREATED |ENDPOINT |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|--------------------|--------------------|------------------|------|--------|-------------------------------------------------------------------|-----------------------------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-tag-1 |demo-workload-tag-1 |demo-gvc-workload | |Now |https://demo-workload-tag-1-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app |multiple-workloads=\"demo-workload\" |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-tag-2 |demo-workload-tag-2 |demo-gvc-workload | |Now |https://demo-workload-tag-2-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app |multiple-workloads=\"demo-workload\" |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+--------------------+------------------+------+--------+-------------------------------------------------------------------+-----------------------------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Remove same tag from multiple workload (after running the example above)`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tag`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload-tag-1`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload-tag-2`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --remove-tag`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` multiple-workloads`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc-workload`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`7`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+--------------------+------------------+------+--------+-------------------------------------------------------------------+-----+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |GVC |READY |CREATED |ENDPOINT |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|--------------------|--------------------|------------------|------|--------|-------------------------------------------------------------------|-----|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-tag-1 |demo-workload-tag-1 |demo-gvc-workload | |Now |https://demo-workload-tag-1-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-tag-2 |demo-workload-tag-2 |demo-gvc-workload | |Now |https://demo-workload-tag-2-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------------------+--------------------+------------------+------+--------+-------------------------------------------------------------------+-----+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`workload-update`,children:`workload update`}),`\n`,_jsx(_components.p,{children:`Update properties of the referenced workload`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln workload update \u003cref> --set UPDATE_PROPERTY [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-27`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`83`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`83`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref The resource reference. Usually it is the name of the resource. [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Update Properties:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --set Update the following properties (e.g., --set description=\"Updated Description\"):`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` description string`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` tags.\u003ckey> string`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.identityLink string`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.containers.\u003cname>.image string`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.containers.\u003cname>.workingDir string`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.containers.\u003cname>.metrics.port string`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.containers.\u003cname>.metrics.path string`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.containers.\u003cname>.cpu string`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.containers.\u003cname>.memory string`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.containers.\u003cname>.command string`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.containers.\u003cname>.args string[]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.containers.\u003cname>.env.\u003cname>.value string`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.containers.\u003cname>.env.\u003cname> string`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.containers.\u003cname>.inheritEnv boolean`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.firewallConfig.external.inboundAllowCIDR string[]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.firewallConfig.external.outboundAllowHostname string[]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.firewallConfig.external.outboundAllowCIDR string[]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.firewallConfig.internal.inboundAllowType { 'none' | 'same-gvc' | 'same-org' | 'workload-list' }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.firewallConfig.internal.inboundAllowWorkload string[]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.defaultOptions.autoscaling.metric { 'concurrency' | 'cpu' | 'rps' }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.defaultOptions.autoscaling.target number`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.defaultOptions.autoscaling.minScale number`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.defaultOptions.autoscaling.maxScale number`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.defaultOptions.autoscaling.scaleToZeroDelay number`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.defaultOptions.autoscaling.maxConcurrency number`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.defaultOptions.timeoutSeconds number`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.defaultOptions.capacityAI boolean`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.defaultOptions.debug boolean`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.defaultOptions.suspend boolean`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.job.schedule string`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.job.concurrencyPolicy { 'Forbid' | 'Replace' }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.job.historyLimit number`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.job.restartPolicy { 'OnFailure' | 'Never' }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.job.activeDeadlineSeconds number`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.loadBalancer.direct.enabled boolean`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.loadBalancer.direct.ipSet string`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.loadBalancer.geoLocation.enabled boolean`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.loadBalancer.geoLocation.headers.asn string`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.loadBalancer.geoLocation.headers.city string`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.loadBalancer.geoLocation.headers.country string`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.loadBalancer.geoLocation.headers.region string`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.requestRetryPolicy.attempts number`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.requestRetryPolicy.retryOn string[]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.extras string`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.extras.affinity string`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.extras.tolerations string`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` spec.extras.topologySpreadConstraints string`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" Arrays can be appended to, replaced, or removed using the `+=`, `=`, or `-=` operators, respectively.\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --unset Unset a property (same paths as --set, e.g., --unset description)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --gvc Override the global virtual cloud. The default global virtual cloud can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsxs(Accordion,{title:`Options`,id:`options-1`,children:[_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Array items are addressed by their `,_jsx(_components.code,{children:`name`}),`, not by index — for example `,_jsx(_components.code,{children:`spec.containers\\\\.\u003cname\\\\>.inheritEnv`}),` (such as `,_jsx(_components.code,{children:`spec.containers.main.inheritEnv=true`}),`). Index selectors like `,_jsx(_components.code,{children:`spec.containers[0]`}),` are not supported.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`--set`}),` option allows the modification of the following workload properties:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[\"`description1\",`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Description of the workload`}),`\n`,_jsx(_components.li,{children:`Type: string`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`tags`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Tags (key=value) associated with the workload`}),`\n`,_jsx(_components.li,{children:`Type: string`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`spec.identityLink`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The identity of the workload`}),`\n`,_jsx(_components.li,{children:`Type: string`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`spec.containers\\\\.\u003cname\\\\>.image`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The name of the container image to be pulled`}),`\n`,_jsx(_components.li,{children:`Type: string`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`spec.containers\\\\.\u003cname\\\\>.port`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The port to serve traffic over`}),`\n`,_jsx(_components.li,{children:`Type: number`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`spec.containers\\\\.\u003cname\\\\>.cpu`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The amount of cpu units available to the workload`}),`\n`,_jsx(_components.li,{children:`Default: 150m`}),`\n`,_jsx(_components.li,{children:`Type: string`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`spec.containers\\\\.\u003cname\\\\>.memory`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The amount of memory available to the workload`}),`\n`,_jsx(_components.li,{children:`Default: 128Mi`}),`\n`,_jsx(_components.li,{children:`Type: string`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`spec.containers\\\\.\u003cname\\\\>.env\\\\.\u003cname\\\\>.value`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The environment variables to be available to the workload`}),`\n`,_jsx(_components.li,{children:`Type: string`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`spec.firewallConfig.external.outboundAllowHostname`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The list of hostnames that the workload is allowed to call`}),`\n`,_jsx(_components.li,{children:`Type: string[]`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`spec.firewallConfig.external.outboundAllowCIDR`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The list of CIDR values that the workload is allowed to call`}),`\n`,_jsx(_components.li,{children:`Type: string[]`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`spec.firewallConfig.external.inboundAllowCIDR`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The list of CIDR values that are allowed to call the workload`}),`\n`,_jsx(_components.li,{children:`Type: string[]`}),`\n`,_jsxs(_components.li,{children:[`Tip: Use the value `,_jsx(_components.code,{children:`[\"0.0.0.0/0\"]`}),` to allow all inbound requests`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`spec.firewallConfig.internal.inboundAllowType`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The allowed inbound types to a workload`}),`\n`,_jsx(_components.li,{children:`Type: string`}),`\n`,_jsx(_components.li,{children:`Allowed values: ‘none’ | ‘same-gvc’ | ‘same-org’ | ‘workload-list’`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`spec.firewallConfig.internal.inboundAllowWorkload`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`If the inbound allow type is ‘workload-list’, this property will be active and contain the names of other workloads that can communicate with this workload`}),`\n`,_jsx(_components.li,{children:`Type: string[]`}),`\n`,_jsx(_components.li,{children:`Allowed values: Other workload names within the same global virtual cloud`}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`NOTE:`}),` The ratio between CPU to Memory can be at most 1/8.`]})]}),`\n`,_jsxs(Accordion,{title:`Example`,id:`example-22`,children:[_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`For the examples below, the initial workload is configured as:`}),`\n`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+---------------------+---------------------+------------------+------+--------+--------------------------------------------------------------------+-----+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |GVC |READY |CREATED |ENDPOINT |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|---------------------|---------------------|------------------|------|--------|--------------------------------------------------------------------|-----|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-update |demo-workload-update |demo-gvc-workload | |Now |https://demo-workload-update-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+---------------------+---------------------+------------------+------+--------+--------------------------------------------------------------------+-----+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Update an workload’s description`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` update`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload-update`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --set`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` description=\"new description\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc-workload`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+---------------------+----------------+------------------+------+--------+--------------------------------------------------------------------+-----+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |GVC |READY |CREATED |ENDPOINT |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|---------------------|----------------|------------------|------|--------|--------------------------------------------------------------------|-----|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-update |new description |demo-gvc-workload | |Now |https://demo-workload-update-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+---------------------+----------------+------------------+------+--------+--------------------------------------------------------------------+-----+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Update an workload’s tags`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` update`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload-update`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --set`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tags.demo-key=demo-value`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc-workload`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+---------------------+----------------+------------------+------+--------+--------------------------------------------------------------------+----------------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |GVC |READY |CREATED |ENDPOINT |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|---------------------|----------------|------------------|------|--------|--------------------------------------------------------------------|----------------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-update |new description |demo-gvc-workload | |Now |https://demo-workload-update-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app |demo-key=\"demo-value\" |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+---------------------+----------------+------------------+------+--------+--------------------------------------------------------------------+----------------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Update a workload’s Image`}),`\n`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`NOTE:`}),` Use the convention `,_jsx(_components.code,{children:`//image/IMAGE:TAG`}),` to reference an image residing within the current org’s private repository.`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` workload`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` update`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-workload-update`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --set`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` spec.containers.helloworld-go.image=gcr.io/knative-samples/helloworld-go:latest`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc-workload`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+---------------------+----------------+------------------+------+--------+--------------------------------------------------------------------+----------------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |GVC |READY |CREATED |ENDPOINT |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|---------------------|----------------|------------------|------|--------|--------------------------------------------------------------------|----------------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-workload-update |new description |demo-gvc-workload | |Now |https://demo-workload-update-4razc9rbmer7r.geta3p46gfrsp.t.cpln.app |demo-key=\"demo-value\" |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+---------------------+----------------+------------------+------+--------+--------------------------------------------------------------------+----------------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})]}),`\n`,_jsx(_components.hr,{})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"workload","description":"cpln workload — Manage workloads that run containerized applications within a GVC.","keywords":["cpln workload","microservice","app deploy","service","pod equivalent","replica","serverless workload","standard workload","stateful workload","cron workload","horizontal scaling","workload create"],"href":"/cli-reference/commands/workload"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"workload access-report","slug":"workload-access-report","depth":4,"children":[]},{"title":"workload audit","slug":"workload-audit","depth":4,"children":[]},{"title":"workload clone","slug":"workload-clone","depth":4,"children":[]},{"title":"workload connect","slug":"workload-connect","depth":4,"children":[]},{"title":"workload create","slug":"workload-create","depth":4,"children":[]},{"title":"workload cron","slug":"workload-cron","depth":4,"children":[]},{"title":"workload cron get","slug":"workload-cron-get","depth":4,"children":[]},{"title":"workload cron run","slug":"workload-cron-run","depth":4,"children":[]},{"title":"workload cron start","slug":"workload-cron-start","depth":4,"children":[]},{"title":"workload cron stop","slug":"workload-cron-stop","depth":4,"children":[]},{"title":"workload delete","slug":"workload-delete","depth":4,"children":[]},{"title":"workload edit","slug":"workload-edit","depth":4,"children":[]},{"title":"workload eventlog","slug":"workload-eventlog","depth":4,"children":[]},{"title":"workload exec","slug":"workload-exec","depth":4,"children":[]},{"title":"workload force-redeployment","slug":"workload-force-redeployment","depth":4,"children":[]},{"title":"workload get","slug":"workload-get","depth":4,"children":[]},{"title":"workload get-deployments","slug":"workload-get-deployments","depth":4,"children":[]},{"title":"workload get-replicas","slug":"workload-get-replicas","depth":4,"children":[]},{"title":"workload open","slug":"workload-open","depth":4,"children":[]},{"title":"workload patch","slug":"workload-patch","depth":4,"children":[]},{"title":"workload permissions","slug":"workload-permissions","depth":4,"children":[]},{"title":"workload query","slug":"workload-query","depth":4,"children":[]},{"title":"workload replica","slug":"workload-replica","depth":4,"children":[]},{"title":"workload replica get","slug":"workload-replica-get","depth":4,"children":[]},{"title":"workload replica stop","slug":"workload-replica-stop","depth":4,"children":[]},{"title":"workload run","slug":"workload-run","depth":4,"children":[]},{"title":"workload start","slug":"workload-start","depth":4,"children":[]},{"title":"workload stop","slug":"workload-stop","depth":4,"children":[]},{"title":"workload tag","slug":"workload-tag","depth":4,"children":[]},{"title":"workload update","slug":"workload-update","depth":4,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/controlplanecorporation/20452e834d3719a6/content/legacy-cli-hash-redirects.js","/_mintlify/custom/controlplanecorporation/dd1961f62f732454/content/sync-tabs.js"],"subdomain":"controlplanecorporation","siteName":"Control Plane","title":"workload - Control Plane","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-07T16:52:38.939Z","originalFileLocation":"cli-reference/commands/workload.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"cpln workload — Manage workloads that run containerized applications within a GVC.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Control Plane\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"workload - Control Plane\">\u003cmeta data-mint-head property=\"og:description\" content=\"cpln workload — Manage workloads that run containerized applications within a GVC.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Control Plane\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.controlplane.com/cli-reference/commands/workload\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://controlplanecorporation.mintlify.site/_mintlify/api/og/v2?division=Commands\u0026amp;title=workload\u0026amp;description=cpln+workload+%E2%80%94+Manage+workloads+that+run+containerized+applications+within+a+GVC.\u0026amp;theme=565533155d08f0e2a83ec355\u0026amp;signature=c619a9a5bc6854943861ee39d1c3ca0a60958a7f3617df92276887368c76b4b3\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"workload - Control Plane\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"cpln workload — Manage workloads that run containerized applications within a GVC.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://controlplanecorporation.mintlify.site/_mintlify/api/og/v2?division=Commands\u0026amp;title=workload\u0026amp;description=cpln+workload+%E2%80%94+Manage+workloads+that+run+containerized+applications+within+a+GVC.\u0026amp;theme=565533155d08f0e2a83ec355\u0026amp;signature=c619a9a5bc6854943861ee39d1c3ca0a60958a7f3617df92276887368c76b4b3\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Control Plane\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1563ff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.controlplane.com/cli-reference/commands/workload\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/cli-reference/commands/workload.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.controlplane.com/#organization\",\"name\":\"Control Plane\",\"url\":\"https://docs.controlplane.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/controlplanecorporation/hwvJiAoqIziVJ3gK/logos/dark.svg?fit=max\u0026auto=format\u0026n=hwvJiAoqIziVJ3gK\u0026q=85\u0026s=ec7b5a4bb958adc4d92dedfb41ab2e3c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.controlplane.com#website\",\"name\":\"Control Plane\",\"url\":\"https://docs.controlplane.com\",\"publisher\":{\"@id\":\"https://docs.controlplane.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.controlplane.com/cli-reference/commands/workload#webpage\",\"url\":\"https://docs.controlplane.com/cli-reference/commands/workload\",\"name\":\"workload\",\"description\":\"cpln workload — Manage workloads that run containerized applications within a GVC.\",\"dateModified\":\"2026-10-07T16:52:38.939Z\",\"isPartOf\":{\"@id\":\"https://docs.controlplane.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.controlplane.com/cli-reference/commands/workload#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.controlplane.com/cli-reference/commands/workload#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Commands\",\"item\":\"https://docs.controlplane.com/cli-reference/commands/account\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"workload\",\"item\":\"https://docs.controlplane.com/cli-reference/commands/workload\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.controlplane.com/cli-reference/commands/workload#article\",\"headline\":\"workload\",\"name\":\"workload\",\"description\":\"cpln workload — Manage workloads that run containerized applications within a GVC.\",\"url\":\"https://docs.controlplane.com/cli-reference/commands/workload\",\"mainEntityOfPage\":{\"@id\":\"https://docs.controlplane.com/cli-reference/commands/workload#webpage\"},\"dateModified\":\"2026-10-07T16:52:38.939Z\",\"keywords\":\"cpln workload, microservice, app deploy, service, pod equivalent, replica, serverless workload, standard workload, stateful workload, cron workload, horizontal scaling, workload create\",\"publisher\":{\"@id\":\"https://docs.controlplane.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.controlplane.com#website\"}}]}\u003c/script>","agentPointerHref":"/cli-reference/commands/workload.md","siteName":"Control Plane","nav":{"global":{"anchors":[{"anchor":"Website","icon":"compass","href":"https://controlplane.com"},{"anchor":"Status","icon":"signal","href":"https://status.cpln.io/"},{"anchor":"Blog","icon":"newspaper","href":"https://controlplane.com/blog"},{"anchor":"FAQ","icon":"question","href":"https://controlplane.com/faq"},{"anchor":"Product Demos","icon":"video","href":"https://controlplane.com/product-demos"}]},"tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/introduction"}]},{"tab":"How-to Guides","pages":[{"title":"How-to Guides","href":"/guides/overview"}]},{"tab":"Template Catalog","pages":[{"title":"Template Catalog","href":"/template-catalog/overview"}]},{"tab":"Managed Kubernetes","pages":[{"title":"Managed Kubernetes","href":"/mk8s/overview"}]},{"tab":"CPLN BYOK","pages":[{"title":"CPLN BYOK","href":"/byok/overview"}]},{"tab":"AI Agents","pages":[{"title":"AI Agents","href":"/ai/overview"}]},{"tab":"Infra as Code","pages":[{"title":"Infra as Code","href":"/iac/overview"}]},{"tab":"CLI Reference","groups":[{"group":"CLI Reference","pages":[{"title":"CLI Reference","sidebarTitle":"Overview","href":"/cli-reference/overview"},{"title":"Installation","href":"/cli-reference/installation"},{"title":"Release Notes","href":"/cli-reference/release-notes"},{"group":"Getting Started","pages":[{"title":"Quickstart","href":"/cli-reference/get-started/quickstart"},{"title":"Authentication","href":"/cli-reference/get-started/authentication"},{"title":"Profiles","href":"/cli-reference/get-started/profiles"},{"title":"Images","href":"/cli-reference/get-started/images"}]},{"group":"Using the CLI","pages":[{"title":"Getting Help","href":"/cli-reference/using-cli/help"},{"title":"Common Options","href":"/cli-reference/using-cli/common-options"},{"title":"Output Formats","href":"/cli-reference/using-cli/output"},{"title":"Shell Completion","href":"/cli-reference/using-cli/shell-completion"},{"title":"Troubleshooting","href":"/cli-reference/using-cli/troubleshooting"}]},{"group":"CI/CD \u0026 Development","pages":[{"title":"CI/CD Usage","href":"/cli-reference/ci-cd-development/ci-cd"},{"title":"Using the CLI in Containers","href":"/cli-reference/ci-cd-development/container-image"}]}]},{"group":"Commands","pages":[{"title":"account","href":"/cli-reference/commands/account"},{"title":"agent","href":"/cli-reference/commands/agent"},{"title":"apply","href":"/cli-reference/commands/apply"},{"title":"auditctx","href":"/cli-reference/commands/auditctx"},{"title":"cloudaccount","href":"/cli-reference/commands/cloudaccount"},{"title":"convert","href":"/cli-reference/commands/convert"},{"title":"cp","href":"/cli-reference/commands/cp"},{"title":"delete","href":"/cli-reference/commands/delete"},{"title":"domain","href":"/cli-reference/commands/domain"},{"title":"group","href":"/cli-reference/commands/group"},{"title":"gvc","href":"/cli-reference/commands/gvc"},{"title":"helm","href":"/cli-reference/commands/helm"},{"title":"identity","href":"/cli-reference/commands/identity"},{"title":"image","href":"/cli-reference/commands/image"},{"title":"ipset","href":"/cli-reference/commands/ipset"},{"title":"location","href":"/cli-reference/commands/location"},{"title":"login","href":"/cli-reference/commands/login"},{"title":"logs","href":"/cli-reference/commands/logs"},{"title":"metrics","href":"/cli-reference/commands/metrics"},{"title":"misc","href":"/cli-reference/commands/misc"},{"title":"mk8s","href":"/cli-reference/commands/mk8s"},{"title":"operator","href":"/cli-reference/commands/operator"},{"title":"org","href":"/cli-reference/commands/org"},{"title":"policy","href":"/cli-reference/commands/policy"},{"title":"port-forward","href":"/cli-reference/commands/port-forward"},{"title":"profile","href":"/cli-reference/commands/profile"},{"title":"quota","href":"/cli-reference/commands/quota"},{"title":"rest","href":"/cli-reference/commands/rest"},{"title":"sandbox","href":"/cli-reference/commands/sandbox"},{"title":"secret","href":"/cli-reference/commands/secret"},{"title":"serviceaccount","href":"/cli-reference/commands/serviceaccount"},{"title":"stack","href":"/cli-reference/commands/stack"},{"title":"task","href":"/cli-reference/commands/task"},{"title":"upgrade","href":"/cli-reference/commands/upgrade"},{"title":"user","href":"/cli-reference/commands/user"},{"title":"version","href":"/cli-reference/commands/version"},{"title":"volumeset","description":"cpln volumeset — Manage persistent volume sets within a GVC. Supports traditional filesystems (ext4, xfs) for stateful workloads and shared filesystems for any workload type.","href":"/cli-reference/commands/volumeset"},{"title":"workload","href":"/cli-reference/commands/workload"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/api"}]}]},"basePath":"","title":"workload - Control Plane","buildId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","deploymentId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","dynamics":[],"chunks":[]}