Interface BootstrapOptions

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:46.687Z") @Stability(Deprecated) @Deprecated public interface BootstrapOptions extends software.amazon.jsii.JsiiSerializable
Deprecated.
Example:

 // up to ten spot instances
 Cluster cluster;
 cluster.addCapacity("spot", CapacityOptions.builder()
         .instanceType(new InstanceType("t3.large"))
         .desiredCapacity(2)
         .bootstrapOptions(BootstrapOptions.builder()
                 .kubeletExtraArgs("--node-labels foo=bar,goo=far")
                 .awsApiRetryAttempts(5)
                 .build())
         .build());
 
  • Method Details

    • getAdditionalArgs

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

      Default: - none

      See Also:
    • getAwsApiRetryAttempts

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

      Default: 3

    • getDockerConfigJson

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

      Default: false

    • getKubeletExtraArgs

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

      Default: true

    • builder

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