cloudera.cloud.de module – Enable, disable or update CDP Data Engineering Services
Note
This module is part of the cloudera.cloud collection (version 3.3.0).
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install cloudera.cloud.
To use it in a playbook, specify: cloudera.cloud.de.
New in cloudera.cloud 1.5.0
Synopsis
Enable, disable or update CDP Data Engineering Services.
Parameters
Parameter |
Comments |
|---|---|
If provided, the Cloudera on cloud API will use this value as its access key. If not provided, the API will attempt to use the value from the environment variable Required if Mutually exclusive with |
|
Initial number of instances when the service is enabled for the All Purpose Instance Group. Applicable to services with the All Purpose (ALLP) virtual cluster tier. |
|
Initial number of spot instances when the service is enabled for the All Purpose Instance Group. Applicable to services with the All Purpose (ALLP) virtual cluster tier. |
|
Instance type for the All Purpose Instance Group. Applicable to services with the All Purpose (ALLP) virtual cluster tier. |
|
Maximum number of instances for the All Purpose Instance Group. Applicable to services with the All Purpose (ALLP) virtual cluster tier. |
|
Maximum number of spot instances for the All Purpose Instance Group. Applicable to services with the All Purpose (ALLP) virtual cluster tier. |
|
Minimum number of instances for the All Purpose Instance Group. Applicable to services with the All Purpose (ALLP) virtual cluster tier. |
|
Minimum number of spot instances for the All Purpose Instance Group. Applicable to services with the All Purpose (ALLP) virtual cluster tier. |
|
EBS volume size in GB for the All Purpose Instance Group. Applicable to services with the All Purpose (ALLP) virtual cluster tier. |
|
Resource ID of the custom private DNS zone associated with the Azure database. Applicable to Azure deployments only. |
|
Resource ID of the custom private DNS zone for the Azure storage account. Applicable to Azure deployments only. |
|
Azure managed identity resource ID for the CDE service. Applicable to Azure deployments only. |
|
Azure managed identity resource IDs for virtual clusters. Applicable to Azure deployments only. |
|
Chart overrides for enabling a service. |
|
The key-value pair for the chart override. |
|
Service wide CPU resource request quota. Applicable to Private Cloud deployments only. |
|
If provided, the Cloudera on cloud API will use this value as its credentials path. If not provided, the API will attempt to use the value from the environment variable Default: |
|
Override Azure Files storage configuration. By default CDE uses public File Shares storage provisioned by AKS. Applicable to Azure deployments only. |
|
Azure File Share server address. Defaults to |
|
Resource Group of the Storage Account. |
|
Azure Storage Account of the File Share. |
|
If Choices:
|
|
The internal polling interval (in seconds) while the module waits for the DE Service to achieve the declared state. Default: |
|
If set to Choices:
|
|
When set to When set to Choices:
|
|
Create a fully private CDE instance. Choices:
|
|
Creates a CDE endpoint (Load Balancer) in a publicly accessible subnet. Choices:
|
|
If set to False, diagnostic information about job and query execution is not sent to Cloudera Workload Manager. Choices:
|
|
The Cloudera on cloud API endpoint to use. If not provided, the API will attempt to use the value from the environment variable Mutually exclusive with |
|
Specify the Cloudera on cloud API endpoint region. See Cloudera Control Plane regions for more information. If not provided, the API will attempt to use the value from the environment variable
Mutually exclusive with Choices:
|
|
Verify the TLS certificates for the Cloudera on cloud API endpoint. Choices:
|
|
The CDP environment name where the CDE service should be enabled. |
|
Flag to force delete a service even if errors occur during deletion. Choices:
|
|
Service wide GPU resource request quota. Applicable to Private Cloud deployments only. |
|
The HTTP user agent to use for Cloudera on cloud API requests. Default: |
|
Initial number of instances when the service is enabled. Default: |
|
Initial number of spot instances when the service is enabled. Default: |
|
Instance type of the cluster for the CDE Service. For example, Required when |
|
List of CIDRs allowed to access the load balancer. |
|
Maximum number of instances for the CDE Service. Default: |
|
Maximum number of spot instances for the CDE Service. Default: |
|
Service wide memory resource request quota. Applicable to Private Cloud deployments only. |
|
Minimum number of instances for the CDE Service. Default: |
|
Minimum number of spot instances for the CDE Service. Default: |
|
The name of the CDE Service. |
|
Network outbound type. Currently only Applicable to Azure deployments only. Choices:
|
|
If provided, the Cloudera on cloud API will use this value as its private key. If not provided, the API will attempt to use the value from the environment variable Required if |
|
If provided, the Cloudera on cloud API will use this value as its profile. If not provided, the API will attempt to use the value from the environment variable Default: |
|
Resource Pool for the CDE service. Applicable to Private Cloud deployments only. |
|
EBS volume size in GB. Default: |
|
Skip validation check. Choices:
|
|
The declarative state of the CDE service. Choices:
|
|
Legacy CDPy SDK error handling. Choices:
|
|
List of Subnet IDs of CDP subnets to use for the Kubernetes worker nodes. |
|
User defined labels that tag all provisioned cloud resources. Specified as a dictionary of key-value string pairs. |
|
The internal polling timeout (in seconds) while the module waits for the DE Service to achieve the declared state. Default: |
|
Instance local storage (SSD) would be used for the workload filesystem. Currently supported only for AWS services. Choices:
|
|
Flag to enable internal polling to wait for the DE Service to achieve the declared state. If set to False, the module will return immediately after initiating the operation. Choices:
|
|
List of CIDRs that would be allowed to access the Kubernetes master API server. |
Notes
Note
When updating an existing service, only the following parameters can be changed: minimum_instances, maximum_instances, minimum_spot_instances, maximum_spot_instances, all_purpose_minimum_instances, all_purpose_maximum_instances, all_purpose_minimum_spot_instances, all_purpose_maximum_spot_instances, whitelist_ips, loadbalancer_ips.
Immutable parameters (instance_type, network settings, etc.) cannot be changed after creation. To change them, disable and recreate the service.
Examples
# Note: These examples do not set authentication details.
# Enable a CDE service and wait for it to become active
- cloudera.cloud.de:
name: my-cde-service
environment: my-cdp-environment
instance_type: m5.2xlarge
minimum_instances: 1
maximum_instances: 4
state: present
wait: true
# Enable a CDE service with additional options
- cloudera.cloud.de:
name: my-cde-service
environment: my-cdp-environment
instance_type: m5.2xlarge
minimum_instances: 2
maximum_instances: 8
enable_public_endpoint: true
enable_workload_analytics: false
tags:
team: data-engineering
cost-center: "12345"
state: present
wait: true
# Disable a CDE service without waiting
- cloudera.cloud.de:
name: my-cde-service
environment: my-cdp-environment
state: absent
wait: false
# Force disable a CDE service
- cloudera.cloud.de:
name: my-cde-service
environment: my-cdp-environment
force: true
state: absent
wait: true
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
|---|---|
Returns the captured CDP SDK log. Returned: when supported |
|
Returns a list of each line of the captured CDP SDK log. Returned: when supported |
|
Description of the CDE Service. Returned: always |
|
The cloud platform where the CDE service is enabled. Returned: always |
|
FQDN of the CDE service. Returned: always |
|
Cluster ID of the CDE Service. Returned: always |
|
CRN of the creator. Returned: always |
|
Email address of the CDE creator. Returned: always |
|
Timestamp of service enabling. Returned: always |
|
CRN of the environment. Returned: always |
|
CDP Environment Name. Returned: always |
|
Location for the log files of jobs. Returned: always |
|
Name of the CDE Service. Returned: always |
|
Resource details of the CDE Service. Returned: always |
|
Initial instances for the CDE service. Returned: success |
|
Initial spot instances for the CDE service. Returned: success |
|
Instance type of the CDE service. Returned: success |
|
Maximum instances for the CDE service. Returned: success |
|
Maximum number of spot instances. Returned: success |
|
Minimum instances for the CDE service. Returned: success |
|
Minimum number of spot instances. Returned: success |
|
Root volume size in GB. Returned: success |
|
Status of the CDE Service. Returned: always |
|
CDP tenant ID. Returned: always |