Class BootstrapOptions
Inheritance
Implements
Namespace: Amazon.CDK.AWS.EKS.Legacy
Assembly: Amazon.CDK.AWS.EKS.Legacy.dll
Syntax (csharp)
public class BootstrapOptions : Object, IBootstrapOptions
Syntax (vb)
Public Class BootstrapOptions
Inherits Object
Implements IBootstrapOptions
Remarks
Stability: Deprecated
ExampleMetadata: infused
Examples
// up to ten spot instances
Cluster cluster;
cluster.AddCapacity("spot", new CapacityOptions {
InstanceType = new InstanceType("t3.large"),
DesiredCapacity = 2,
BootstrapOptions = new BootstrapOptions {
KubeletExtraArgs = "--node-labels foo=bar,goo=far",
AwsApiRetryAttempts = 5
}
});
Synopsis
Constructors
BootstrapOptions() |
Properties
AdditionalArgs | (deprecated) Additional command line arguments to pass to the |
AwsApiRetryAttempts | (deprecated) Number of retry attempts for AWS API call (DescribeCluster). |
DockerConfigJson | (deprecated) The contents of the |
EnableDockerBridge | (deprecated) Restores the docker default bridge network. |
KubeletExtraArgs | (deprecated) Extra arguments to add to the kubelet. Useful for adding labels or taints. |
UseMaxPods | (deprecated) Sets |
Constructors
BootstrapOptions()
public BootstrapOptions()
Properties
AdditionalArgs
(deprecated) Additional command line arguments to pass to the /etc/eks/bootstrap.sh
command.
public string AdditionalArgs { get; set; }
Property Value
System.String
Remarks
Default: - none
Stability: Deprecated
See: https://github.com/awslabs/amazon-eks-ami/blob/master/files/bootstrap.sh
AwsApiRetryAttempts
(deprecated) Number of retry attempts for AWS API call (DescribeCluster).
public Nullable<double> AwsApiRetryAttempts { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Default: 3
Stability: Deprecated
DockerConfigJson
(deprecated) The contents of the /etc/docker/daemon.json
file. Useful if you want a custom config differing from the default one in the EKS AMI.
public string DockerConfigJson { get; set; }
Property Value
System.String
Remarks
Default: - none
Stability: Deprecated
EnableDockerBridge
(deprecated) Restores the docker default bridge network.
public Nullable<bool> EnableDockerBridge { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: false
Stability: Deprecated
KubeletExtraArgs
(deprecated) Extra arguments to add to the kubelet. Useful for adding labels or taints.
public string KubeletExtraArgs { get; set; }
Property Value
System.String
Remarks
For example, --node-labels foo=bar,goo=far
Default: - none
Stability: Deprecated
UseMaxPods
(deprecated) Sets --max-pods
for the kubelet based on the capacity of the EC2 instance.
public Nullable<bool> UseMaxPods { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true
Stability: Deprecated