[][src]Struct rusoto_eks::CreateNodegroupRequest

pub struct CreateNodegroupRequest {
    pub ami_type: Option<String>,
    pub client_request_token: Option<String>,
    pub cluster_name: String,
    pub disk_size: Option<i64>,
    pub instance_types: Option<Vec<String>>,
    pub labels: Option<HashMap<String, String>>,
    pub node_role: String,
    pub nodegroup_name: String,
    pub release_version: Option<String>,
    pub remote_access: Option<RemoteAccessConfig>,
    pub scaling_config: Option<NodegroupScalingConfig>,
    pub subnets: Vec<String>,
    pub tags: Option<HashMap<String, String>>,
    pub version: Option<String>,
}

Fields

ami_type: Option<String>

The AMI type for your node group. GPU instance types should use the AL2_x86_64_GPU AMI type, which uses the Amazon EKS-optimized Linux AMI with GPU support. Non-GPU instances should use the AL2_x86_64 AMI type, which uses the Amazon EKS-optimized Linux AMI.

client_request_token: Option<String>

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

cluster_name: String

The name of the cluster to create the node group in.

disk_size: Option<i64>

The root device disk size (in GiB) for your node group instances. The default disk size is 20 GiB.

instance_types: Option<Vec<String>>

The instance type to use for your node group. Currently, you can specify a single instance type for a node group. The default value for this parameter is t3.medium. If you choose a GPU instance type, be sure to specify the AL2_x86_64_GPU with the amiType parameter.

labels: Option<HashMap<String, String>>

The Kubernetes labels to be applied to the nodes in the node group when they are created.

node_role: String

The Amazon Resource Name (ARN) of the IAM role to associate with your node group. The Amazon EKS worker node kubelet daemon makes calls to AWS APIs on your behalf. Worker nodes receive permissions for these API calls through an IAM instance profile and associated policies. Before you can launch worker nodes and register them into a cluster, you must create an IAM role for those worker nodes to use when they are launched. For more information, see Amazon EKS Worker Node IAM Role in the Amazon EKS User Guide .

nodegroup_name: String

The unique name to give your node group.

release_version: Option<String>

The AMI version of the Amazon EKS-optimized AMI to use with your node group. By default, the latest available AMI version for the node group's current Kubernetes version is used. For more information, see Amazon EKS-Optimized Linux AMI Versions in the Amazon EKS User Guide.

remote_access: Option<RemoteAccessConfig>

The remote access (SSH) configuration to use with your node group.

scaling_config: Option<NodegroupScalingConfig>

The scaling configuration details for the Auto Scaling group that is created for your node group.

subnets: Vec<String>

The subnets to use for the Auto Scaling group that is created for your node group. These subnets must have the tag key kubernetes.io/cluster/CLUSTER_NAME with a value of shared, where CLUSTER_NAME is replaced with the name of your cluster.

tags: Option<HashMap<String, String>>

The metadata to apply to the node group to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Node group tags do not propagate to any other resources associated with the node group, such as the Amazon EC2 instances or subnets.

version: Option<String>

The Kubernetes version to use for your managed nodes. By default, the Kubernetes version of the cluster is used, and this is the only accepted specified value.

Trait Implementations

impl Clone for CreateNodegroupRequest[src]

impl Debug for CreateNodegroupRequest[src]

impl Default for CreateNodegroupRequest[src]

impl PartialEq<CreateNodegroupRequest> for CreateNodegroupRequest[src]

impl Serialize for CreateNodegroupRequest[src]

impl StructuralPartialEq for CreateNodegroupRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.