manage
enable-proxy
Apply your HTTP proxy configuration to an instance of IBM Software Hub.
- 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
| Option | Description |
|---|---|
--cpd_instance_ns |
The project where the IBM Software Hub control plane and services are
installed.
|
-v-vv-vvv |
Display verbose output. Options are listed from least verbose to the most verbose.
|
Examples
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}