Show / Hide Table of Contents

Interface IBootstrapOptions

(experimental) EKS node bootstrapping options.

Namespace: Amazon.CDK.AWS.Eks.V2.Alpha
Assembly: Amazon.CDK.AWS.Eks.V2.Alpha.dll
Syntax (csharp)
public interface IBootstrapOptions
Syntax (vb)
Public Interface 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

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.

Properties

AdditionalArgs

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

string? AdditionalArgs { get; }
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).

double? AwsApiRetryAttempts { get; }
Property Value

double?

Remarks

Default: 3

Stability: Experimental

DnsClusterIp

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

string? DnsClusterIp { get; }
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.

string? DockerConfigJson { get; }
Property Value

string

Remarks

Default: - none

Stability: Experimental

EnableDockerBridge

(experimental) Restores the docker default bridge network.

bool? EnableDockerBridge { get; }
Property Value

bool?

Remarks

Default: false

Stability: Experimental

KubeletExtraArgs

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

string? KubeletExtraArgs { get; }
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.

bool? UseMaxPods { get; }
Property Value

bool?

Remarks

Default: true

Stability: Experimental

Back to top Generated by DocFX