cloudera.cloud.de module – Enable and Disable CDP Data Engineering Services
Note
This module is part of the cloudera.cloud collection (version 2.5.1).
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
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: cloudera.cloud.de
.
Synopsis
Enable or Disable CDP Data Engineering Service
Requirements
The below requirements are needed on the host that executes this module.
cdpy
Parameters
Parameter |
Comments |
---|---|
Chart overrides for enabling a service |
|
The key-value pair for the chart_name-override |
|
The internal polling interval (in seconds) while the module waits for the DE Service to achieve the declared state. Default: |
|
Create a fully private CDE instance Choices:
|
|
Creates a CDE endpoint (Load Balancer) in a publicly accessible subnet Choices:
|
|
If set false, diagnostic information about job and query execution is sent to Cloudera Workload Manager Choices:
|
|
CDP environment where CDE service should be enabled |
|
Flag to force delete a service even if errors occur during deletion. Choices:
|
|
Initial Instances when the service is enabled |
|
Initial spot Instances when the service is enabled |
|
Instance type of the cluster for CDE Service For example, (AWS) |
|
List of CIDRs allowed to access the load balancer. |
|
Maximum Instances for the CDE Service |
|
Maximum Spot Instances for the CDE Service |
|
Minimum Instances for the CDE Service |
|
Minimum Spot Instances for the CDE Service |
|
The name of the CDE Service |
|
EBS volume size in GB |
|
Skip Validation check. Choices:
|
|
The declarative state of the CDE service Choices:
|
|
User defined labels that tag all provisioned cloud resources |
|
The key/value pair for the tag |
|
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 (Example - spark local directory). 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. Choices:
|
|
List of CIDRs that would be allowed to access Kubernetes master API server |
Examples
# Create a DE service using defaults for optional parameters and wait for completion
- cloudera.cloud.de:
name: cde-cloudera-deploy-example
env: cdp-environment-name
instance_type: "m5.2xlarge"
state: present
wait: yes
# Remove a DE service without waiting
- cloudera.cloud.de:
name: cde-cloudera-deploy-example+
env: cdp-environment-name
state: absent
wait: no
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
DE service description Returned: always |
|
Status of the CDE Service. Returned: always |
|
Response object containing chart value overrides. Returned: always |
|
Name of the chart that has to be overridden. Returned: always |
|
Space separated key value-pairs for overriding chart values (colon separated) 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 |
|
Endpoint of Data Lake Atlas.E Returned: always |
|
The Data lake file system. 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 |
|
Resources details of CDE Service. Returned: always |
|
Object to store resources for a CDE service. Returned: always |
|
Initial instances for the CDE service. Returned: always |
|
Initial Spot Instances for the CDE Service. Returned: always |
|
Instance type of the CDE service. Returned: always |
|
Maximum instances for the CDE service. Returned: always |
|
Maximum Number of Spot instances. Returned: always |
|
Minimum Instances for the CDE service. Returned: always |
|
Minimum number of spot instances for the CDE service. Returned: always |
|
Root Volume Size. Returned: always |
|
Status of the CDE Service. Returned: always |
|
CDP tenant ID. Returned: always |