Class BootstrapOptions
(experimental) EKS node bootstrapping options.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Eks.V2.Alpha
Assembly: Amazon.CDK.AWS.Eks.V2.Alpha.dll
Syntax (csharp)
public class BootstrapOptions : Object, IBootstrapOptions
Syntax (vb)
Public Class BootstrapOptions
Inherits Object
Implements IBootstrapOptions
Remarks
Stability: Experimental
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.V2.Alpha;
var bootstrapOptions = new BootstrapOptions {
AdditionalArgs = "additionalArgs",
AwsApiRetryAttempts = 123,
DnsClusterIp = "dnsClusterIp",
DockerConfigJson = "dockerConfigJson",
EnableDockerBridge = false,
KubeletExtraArgs = "kubeletExtraArgs",
UseMaxPods = false
};
Synopsis
Constructors
Bootstrap |
Properties
Additional |
(experimental) Additional command line arguments to pass to the |
Aws |
(experimental) Number of retry attempts for AWS API call (DescribeCluster). |
Dns |
(experimental) Overrides the IP address to use for DNS queries within the cluster. |
Docker |
(experimental) The contents of the |
Enable |
(experimental) Restores the docker default bridge network. |
Kubelet |
(experimental) Extra arguments to add to the kubelet. Useful for adding labels or taints. |
Use |
(experimental) Sets |
Constructors
BootstrapOptions()
public BootstrapOptions()
Properties
AdditionalArgs
(experimental) Additional command line arguments to pass to the /etc/eks/bootstrap.sh
command.
public string AdditionalArgs { get; set; }
Property Value
System.
Remarks
Default: - none
Stability: Experimental
See: https://github.com/awslabs/amazon-eks-ami/blob/master/files/bootstrap.sh
AwsApiRetryAttempts
(experimental) Number of retry attempts for AWS API call (DescribeCluster).
public Nullable<double> AwsApiRetryAttempts { get; set; }
Property Value
System.
Remarks
Default: 3
Stability: Experimental
DnsClusterIp
(experimental) Overrides the IP address to use for DNS queries within the cluster.
public string DnsClusterIp { get; set; }
Property Value
System.
Remarks
Default: - 10.100.0.10 or 172.20.0.10 based on the IP address of the primary interface.
Stability: Experimental
DockerConfigJson
(experimental) 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.
Remarks
Default: - none
Stability: Experimental
EnableDockerBridge
(experimental) Restores the docker default bridge network.
public Nullable<bool> EnableDockerBridge { get; set; }
Property Value
System.
Remarks
Default: false
Stability: Experimental
KubeletExtraArgs
(experimental) Extra arguments to add to the kubelet. Useful for adding labels or taints.
public string KubeletExtraArgs { get; set; }
Property Value
System.
Remarks
For example, --node-labels foo=bar,goo=far
.
Default: - none
Stability: Experimental
UseMaxPods
(experimental) Sets --max-pods
for the kubelet based on the capacity of the EC2 instance.
public Nullable<bool> UseMaxPods { get; set; }
Property Value
System.
Remarks
Default: true
Stability: Experimental