Interface BootstrapOptions

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
BootstrapOptions.Jsii$Proxy

@Generated(value="jsii-pacmak/1.110.0 (build 336b265)", date="2025-04-24T21:16:02.758Z") @Stability(Experimental) public interface BootstrapOptions extends software.amazon.jsii.JsiiSerializable
(experimental) EKS node bootstrapping options.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.eks.v2.alpha.*;
 BootstrapOptions bootstrapOptions = BootstrapOptions.builder()
         .additionalArgs("additionalArgs")
         .awsApiRetryAttempts(123)
         .dnsClusterIp("dnsClusterIp")
         .dockerConfigJson("dockerConfigJson")
         .enableDockerBridge(false)
         .kubeletExtraArgs("kubeletExtraArgs")
         .useMaxPods(false)
         .build();
 
  • Method Details

    • getAdditionalArgs

      @Stability(Experimental) @Nullable default String getAdditionalArgs()
      (experimental) Additional command line arguments to pass to the /etc/eks/bootstrap.sh command.

      Default: - none

      See Also:
    • getAwsApiRetryAttempts

      @Stability(Experimental) @Nullable default Number getAwsApiRetryAttempts()
      (experimental) Number of retry attempts for AWS API call (DescribeCluster).

      Default: 3

    • getDnsClusterIp

      @Stability(Experimental) @Nullable default String getDnsClusterIp()
      (experimental) Overrides the IP address to use for DNS queries within the cluster.

      Default: - 10.100.0.10 or 172.20.0.10 based on the IP address of the primary interface.

    • getDockerConfigJson

      @Stability(Experimental) @Nullable default String getDockerConfigJson()
      (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.

      Default: - none

    • getEnableDockerBridge

      @Stability(Experimental) @Nullable default Boolean getEnableDockerBridge()
      (experimental) Restores the docker default bridge network.

      Default: false

    • getKubeletExtraArgs

      @Stability(Experimental) @Nullable default String getKubeletExtraArgs()
      (experimental) Extra arguments to add to the kubelet. Useful for adding labels or taints.

      For example, --node-labels foo=bar,goo=far.

      Default: - none

    • getUseMaxPods

      @Stability(Experimental) @Nullable default Boolean getUseMaxPods()
      (experimental) Sets --max-pods for the kubelet based on the capacity of the EC2 instance.

      Default: true

    • builder

      @Stability(Experimental) static BootstrapOptions.Builder builder()
      Returns:
      a BootstrapOptions.Builder of BootstrapOptions