Interface BootstrapOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BootstrapOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:04.504Z")
@Stability(Stable)
public interface BootstrapOptions
extends software.amazon.jsii.JsiiSerializable
EKS node bootstrapping options.
Example:
Cluster cluster;
cluster.addAutoScalingGroupCapacity("spot", AutoScalingGroupCapacityOptions.builder()
.instanceType(new InstanceType("t3.large"))
.minCapacity(2)
.bootstrapOptions(BootstrapOptions.builder()
.kubeletExtraArgs("--node-labels foo=bar,goo=far")
.awsApiRetryAttempts(5)
.build())
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forBootstrapOptionsstatic final classAn implementation forBootstrapOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic BootstrapOptions.Builderbuilder()default StringAdditional command line arguments to pass to the/etc/eks/bootstrap.shcommand.default NumberNumber of retry attempts for AWS API call (DescribeCluster).default StringOverrides the IP address to use for DNS queries within the cluster.default StringThe contents of the/etc/docker/daemon.jsonfile.default BooleanRestores the docker default bridge network.default StringExtra arguments to add to the kubelet.default BooleanSets--max-podsfor the kubelet based on the capacity of the EC2 instance.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAdditionalArgs
Additional command line arguments to pass to the/etc/eks/bootstrap.shcommand.Default: - none
- See Also:
-
getAwsApiRetryAttempts
Number of retry attempts for AWS API call (DescribeCluster).Default: 3
-
getDnsClusterIp
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
The contents of the/etc/docker/daemon.jsonfile. Useful if you want a custom config differing from the default one in the EKS AMI.Default: - none
-
getEnableDockerBridge
Restores the docker default bridge network.Default: false
-
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
Sets--max-podsfor the kubelet based on the capacity of the EC2 instance.Default: true
-
builder
- Returns:
- a
BootstrapOptions.BuilderofBootstrapOptions
-