cloudera-labs / cloudera-deploy

A general purpose framework for automating Cloudera Products
Apache License 2.0
63 stars 61 forks source link

How to set proxy in the definition.yml ? #100

Closed HirossxD closed 1 year ago

HirossxD commented 1 year ago

Hello, I am deploying the CDP private Basic Cluster via definition.yml file. I have managed to add kerberos via adding the following code as an parameter in the basic cluster

 security:
        kerberos: true

I am looking for a solution of setting proxy parameters in definiton.yml I think it should look like this:

configs:
    parcel_proxy_port: 1234
    parcel_proxy_server: my_beautiful_proxy.com

But in the configs section of the cluster it expects service name, I need to specify somehow that it's CM i suppose..

I have tried to add it into mgmt as well, it does not recognized those options.

HirossxD commented 1 year ago
mgmt:
  name: Cloudera Management Service
  services: [ALERTPUBLISHER, EVENTSERVER, HOSTMONITOR, REPORTSMANAGER, SERVICEMONITOR]

hosts:
  configs:
    host_default_proc_memswap_thresholds:
      warning: never
      critical: never
    host_memswap_thresholds:
      warning: never
      critical: never
    host_config_suppression_agent_system_user_group_validator: true

cloudera_manager_options:
  CUSTOM_BANNER_HTML: "Cloudera Blog Deployment Example"
  PARCEL_PROXY_SERVER: "my.proxy.com"
  PARCEL_PROXY_PORT: "8888"
  PARCEL_PROXY_PROTOCOL: "HTTPS"