manage enable-proxy

Apply your HTTP proxy configuration to an instance of Cloud Pak for Data.

Required role

Instance administrator An instance administrator can run this command.

Prerequisites

Before you can run this command, you must run the cpd-cli manage create-proxy-config command.

Extended description

If you use HTTP proxy to manage inbound traffic to and outbound traffic from your Red Hat® OpenShift® Container Platform cluster, you can use the cpd-cli to apply the same HTTP proxy settings to an instance of IBM Cloud Pak for Data.

Syntax

cpd-cli manage enable-proxy \
--cpd_instance_ns=<project-name> \
[-v][-vv][-vvv]

Arguments

The enable-proxy command has no arguments.

Options

Table 1: Command options
Option Description
--cpd_instance_ns The project where the IBM Cloud Pak® for Data control plane and services are installed.
Status
Required.
Syntax
--cpd_instance_ns=<project-name>
Default value
No default. User-defined.
Valid values
The name of the project where you want to apply the HTTP proxy configuration. Cloud Pak for Data must be installed in this project.
-v
-vv
-vvv
Display verbose output.

Options are listed from least verbose to the most verbose.

Status
Optional.
Syntax
Verbose output
-v
Very verbose output
-vv
Most verbose output
-vvv
Default value
Not applicable.
Valid values
Not applicable.

Examples

Note: The following example uses the recommended installation environment variables.

It is strongly recommended that you use a script to create environment variables with the correct values for your environment. For details, see Setting up installation environment variables.

Apply the proxy configuration to the specified instance of Cloud Pak for Data
cpd-cli manage enable-proxy \
--cpd_instance_ns=${PROJECT_CPD_INST_OPERANDS}