create-cluster

subtitle

Create a Cloudera Data Warehouse cluster.

version

0.9.66

Description

Create a Cloudera Data Warehouse cluster.

Synopsis

  create-cluster
--environment-crn <value>
[--use-overlay-network | --no-use-overlay-network]
[--whitelist-ip-cidrs <value>]
[--use-private-load-balancer | --no-use-private-load-balancer]
[--aws-options <value>]
[--azure-options <value>]
[--private-cloud-options <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--environment-crn (string)

The CRN of the environment for the cluster to create.

--use-overlay-network | --no-use-overlay-network (boolean)

Using an overlay network will save IP addresses in the VPC by using a private IP address range for Pods in the cluster.

--whitelist-ip-cidrs (string)

Comma separated list of IP address CIDRs to whitelist.

--use-private-load-balancer | --no-use-private-load-balancer (boolean)

Set up load balancer with private IP address. In AWS it is created in private subnets. In Azure an internal load balancer gets created. Make sure there is connectivity between your client network and the network (VPC/VNet) where CDW environment is deployed.

--aws-options (object)

Options for activating an AWS environment.

privateSubnetIds -> (array)

IDs of private AWS subnets where the cluster should be deployed.

item -> (string)

publicSubnetIds -> (array)

IDs of public AWS subnets where the cluster should be deployed.

item -> (string)

customEcrRepository -> (string)

DEPRECATED, superseded by the CustomRegistryOptions. URL for custom ECR repository

customAmiId -> (string)

Custom AMI ID.

Shorthand Syntax:

privateSubnetIds=string,string,publicSubnetIds=string,string,customEcrRepository=string,customAmiId=string

JSON Syntax:

{
  "privateSubnetIds": ["string", ...],
  "publicSubnetIds": ["string", ...],
  "customEcrRepository": "string",
  "customAmiId": "string"
}

--azure-options (object)

Options for activating an Azure environment.

subnetId -> (string)

ID of Azure subnet where the cluster should be deployed.

enableAZ -> (boolean)

Enables Azure Availability Zones for the cluster deployment.

enableSpotInstances -> (boolean)

Whether to enable spot instances for Virtual warehouses. It cannot be updated later. If the AzureActivationOptions is not provided it defaults to false.

vmGenerationType -> (string)

The generation type of the virtual machines used to create the environment.

logAnalyticsWorkspaceId -> (string)

Workspace ID for Azure log analytics.

dockerBridgeCidr -> (string)

Docker bridge CIDR range for deployment.

enableUDR -> (boolean)

Enable user defined routing for the cluster deployment.

enablePrivateSQL -> (boolean)

Enables private SQL for the cluster deployment.

privateDNSZoneAKS -> (string)

Private DNS zone AKS resource ID.

enablePrivateAks -> (boolean)

Enable Azure Private AKS mode.

enableUptimeSLA -> (boolean)

Enable uptime SLA for Kubernetes API server.

Shorthand Syntax:

subnetId=string,enableAZ=boolean,enableSpotInstances=boolean,vmGenerationType=string,logAnalyticsWorkspaceId=string,dockerBridgeCidr=string,enableUDR=boolean,enablePrivateSQL=boolean,privateDNSZoneAKS=string,enablePrivateAks=boolean,enableUptimeSLA=boolean

JSON Syntax:

{
  "subnetId": "string",
  "enableAZ": true|false,
  "enableSpotInstances": true|false,
  "vmGenerationType": "Standard_E16_v3"|"Standard_E16ds_v4"|"Standard_E16ads_v5",
  "logAnalyticsWorkspaceId": "string",
  "dockerBridgeCidr": "string",
  "enableUDR": true|false,
  "enablePrivateSQL": true|false,
  "privateDNSZoneAKS": "string",
  "enablePrivateAks": true|false,
  "enableUptimeSLA": true|false
}

--private-cloud-options (object)

Options for activating a Private Cloud environment.

delegationUsername -> (string)

Name of delegation user. This user is used between Hue - Impala to create a session, as Hue should not pass the user credentials, instead Hue authenticates with the delegation user, then this user will impersonate the logged in user. This means that the Delegation User and Password should be able to authenticate through LDAP.

delegationPassword -> (string)

Password of delegation user.

securityContextConstraintName -> (string)

The name of the Hive Security Context Constraint.

storageClass -> (string)

The storage class for the Local Storage Operator.

dbDas -> (string)

The name of the DAS database. Not required for embedded databases

dbHue -> (string)

The name of the HUE database. Not required for embedded databases.

Shorthand Syntax:

delegationUsername=string,delegationPassword=string,securityContextConstraintName=string,storageClass=string,dbDas=string,dbHue=string

JSON Syntax:

{
  "delegationUsername": "string",
  "delegationPassword": "string",
  "securityContextConstraintName": "string",
  "storageClass": "string",
  "dbDas": "string",
  "dbHue": "string"
}

--cli-input-json (string)

Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (boolean)

Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for --cli-input-json.

Output

clusterId -> (string)

ID of new cluster.

Form Factors

public, private