Interface IAutoScalingGroupOptions
(deprecated) Options for adding an AutoScalingGroup as capacity.
Namespace: Amazon.CDK.AWS.EKS.Legacy
Assembly: Amazon.CDK.AWS.EKS.Legacy.dll
Syntax (csharp)
public interface IAutoScalingGroupOptions
Syntax (vb)
Public Interface IAutoScalingGroupOptions
Remarks
Stability: Deprecated
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EKS.Legacy;
var autoScalingGroupOptions = new AutoScalingGroupOptions {
BootstrapEnabled = false,
BootstrapOptions = new BootstrapOptions {
AdditionalArgs = "additionalArgs",
AwsApiRetryAttempts = 123,
DockerConfigJson = "dockerConfigJson",
EnableDockerBridge = false,
KubeletExtraArgs = "kubeletExtraArgs",
UseMaxPods = false
},
MapRole = false
};
Synopsis
Properties
BootstrapEnabled | (deprecated) Configures the EC2 user-data script for instances in this autoscaling group to bootstrap the node (invoke |
BootstrapOptions | (deprecated) Allows options for node bootstrapping through EC2 user data. |
MapRole | (deprecated) Will automatically update the aws-auth ConfigMap to map the IAM instance role to RBAC. |
Properties
BootstrapEnabled
(deprecated) Configures the EC2 user-data script for instances in this autoscaling group to bootstrap the node (invoke /etc/eks/bootstrap.sh
) and associate it with the EKS cluster.
virtual Nullable<bool> BootstrapEnabled { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
If you wish to provide a custom user data script, set this to false
and
manually invoke autoscalingGroup.addUserData()
.
Default: true
Stability: Deprecated
BootstrapOptions
(deprecated) Allows options for node bootstrapping through EC2 user data.
virtual IBootstrapOptions BootstrapOptions { get; }
Property Value
Remarks
Stability: Deprecated
MapRole
(deprecated) Will automatically update the aws-auth ConfigMap to map the IAM instance role to RBAC.
virtual Nullable<bool> MapRole { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
This cannot be explicitly set to true
if the cluster has kubectl disabled.
Default: - true if the cluster has kubectl enabled (which is the default).
Stability: Deprecated