Interface BootstrapOptions

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:46.489Z") @Stability(Stable) public interface BootstrapOptions extends
EKS node bootstrapping options.


 Cluster cluster;
 cluster.addAutoScalingGroupCapacity("spot", AutoScalingGroupCapacityOptions.builder()
         .instanceType(new InstanceType("t3.large"))
                 .kubeletExtraArgs("--node-labels foo=bar,goo=far")
  • Method Details

    • getAdditionalArgs

      @Stability(Stable) @Nullable default String getAdditionalArgs()
      Additional command line arguments to pass to the /etc/eks/ command.

      Default: - none

      See Also:
    • getAwsApiRetryAttempts

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

      Default: 3

    • getDnsClusterIp

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

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

    • getDockerConfigJson

      @Stability(Stable) @Nullable default String getDockerConfigJson()
      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(Stable) @Nullable default Boolean getEnableDockerBridge()
      Restores the docker default bridge network.

      Default: false

    • getKubeletExtraArgs

      @Stability(Stable) @Nullable default String getKubeletExtraArgs()
      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(Stable) @Nullable default Boolean getUseMaxPods()
      Sets --max-pods for the kubelet based on the capacity of the EC2 instance.

      Default: true

    • builder

      @Stability(Stable) static BootstrapOptions.Builder builder()
      a BootstrapOptions.Builder of BootstrapOptions