Updating proxy configuration in an existing Cloudera Data Engineering
Changes to proxy settings in the Management Console do not automatically propagate to an existing Cloudera Data Engineering installation. Learn about how to manually update the proxy configuration in an existing Cloudera Data Engineering installation.
Identifying the namespaces of Cloudera Data Engineering service and Virtual Cluster
Each Cloudera Data Engineering service has one or more Virtual Clusters in it. Perform these steps to identify the namespaces of the Cloudera Data Engineering service and all the Virtual Clusters.
- Identify the Cloudera Data Engineering service namespace:
- In the Cloudera Data Platform (CDP) console, click the Data Engineering tile. The Cloudera Data Engineering home page displays.
- On the left navigation menu, click Administration.
- In the Services column, click for the Cloudera Data Engineering service for which you want to identify the namespace.
- Note the Cluster ID displayed on the page and identify the Cloudera
Data Engineering service namespace. For example, if the Cluster ID is
cluster-5d88hpjx
, then the Cloudera Data Engineering service namespace isdex-base-5d88hpjx
. - Note this namespace.
- Identify the Virtual Cluster(s) namespace:
- In the Cloudera Data Platform (CDP) console, click the Data Engineering tile. The Cloudera Data Engineering home page displays.
- On the left navigation menu, click Administration.
- In the Virtual Clusters column, click for the Virtual Cluster for which you want to identify the namespace.
- Note the VC-ID displayed on the page and identify the Virtual
Cluster namespace. For example, if the VC-ID is
dex-app-6zqthvpq
, then your Virtual Cluster namespace is also the same, that isdex-app-6zqthvpq
. - Note this namespace and repeat these steps for all Virtual Clusters.
Updating the proxy config
Update the ConfigMap cdp-proxy-config present in the namespaces of the Cloudera Data Engineering service and the Virtual Cluster(s) using this command:
kubectl edit configmaps cdp-proxy-config -n [***NAMESPACE***]
For example,
kubectl edit configmaps cdp-proxy-config -n dex-base-2bs9t4kv
Restarting all the deployments
After updating the ConfigMaps in all the relevant namespaces, restart all the deployments in Cloudera Data Engineering service and all the Virtual Clusters namespaces using this command:
kubectl -n [***NAMESPACE***] rollout restart deployment
For example,
kubectl -n dex-base-2bs9t4kv rollout restart deployment
kubectl -n dex-app-6zqthvpq rollout restart deployment