Struct google_dataproc1::ClusterConfig[][src]

pub struct ClusterConfig {
    pub software_config: Option<SoftwareConfig>,
    pub config_bucket: Option<String>,
    pub gce_cluster_config: Option<GceClusterConfig>,
    pub initialization_actions: Option<Vec<NodeInitializationAction>>,
    pub worker_config: Option<InstanceGroupConfig>,
    pub secondary_worker_config: Option<InstanceGroupConfig>,
    pub master_config: Option<InstanceGroupConfig>,
}

The cluster config.

This type is not used in any activity, and only used as part of another schema.

Fields

Optional. The config settings for software inside the cluster.

Optional. A Google Cloud Storage staging bucket used for sharing generated SSH keys and config. If you do not specify a staging bucket, Cloud Dataproc will determine an appropriate Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Google Compute Engine zone where your cluster is deployed, and then it will create and manage this project-level, per-location bucket for you.

Required. The shared Google Compute Engine config settings for all instances in a cluster.

Optional. Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's role metadata to run an executable on a master or worker node, as shown below using curl (you can also use wget): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) if [[ "${ROLE}" == 'Master' ]]; then ... master specific actions ... else ... worker specific actions ... fi

Optional. The Google Compute Engine config settings for worker instances in a cluster.

Optional. The Google Compute Engine config settings for additional worker instances in a cluster.

Optional. The Google Compute Engine config settings for the master instance in a cluster.

Trait Implementations

impl Default for ClusterConfig
[src]

Returns the "default value" for a type. Read more

impl Clone for ClusterConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ClusterConfig
[src]

Formats the value using the given formatter. Read more

impl Part for ClusterConfig
[src]

Auto Trait Implementations