Show / Hide Table of Contents

Class BootstrapOptions

(experimental) EKS node bootstrapping options.

Inheritance
object
BootstrapOptions
Implements
IBootstrapOptions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Eks.V2.Alpha
Assembly: Amazon.CDK.AWS.Eks.V2.Alpha.dll
Syntax (csharp)
public class BootstrapOptions : IBootstrapOptions
Syntax (vb)
Public Class BootstrapOptions 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

BootstrapOptions()

(experimental) EKS node bootstrapping options.

Properties

AdditionalArgs

(experimental) Additional command line arguments to pass to the /etc/eks/bootstrap.sh command.

AwsApiRetryAttempts

(experimental) Number of retry attempts for AWS API call (DescribeCluster).

DnsClusterIp

(experimental) Overrides the IP address to use for DNS queries within the cluster.

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.

EnableDockerBridge

(experimental) Restores the docker default bridge network.

KubeletExtraArgs

(experimental) Extra arguments to add to the kubelet. Useful for adding labels or taints.

UseMaxPods

(experimental) Sets --max-pods for the kubelet based on the capacity of the EC2 instance.

Constructors

BootstrapOptions()

(experimental) EKS node bootstrapping options.

public BootstrapOptions()
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
             };

Properties

AdditionalArgs

(experimental) Additional command line arguments to pass to the /etc/eks/bootstrap.sh command.

public string? AdditionalArgs { get; set; }
Property Value

string

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 double? AwsApiRetryAttempts { get; set; }
Property Value

double?

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

string

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

string

Remarks

Default: - none

Stability: Experimental

EnableDockerBridge

(experimental) Restores the docker default bridge network.

public bool? EnableDockerBridge { get; set; }
Property Value

bool?

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

string

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 bool? UseMaxPods { get; set; }
Property Value

bool?

Remarks

Default: true

Stability: Experimental

Implements

IBootstrapOptions
Back to top Generated by DocFX