@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.894Z") @Stability(value=Stable) public interface BootstrapOptions extends software.amazon.jsii.JsiiSerializable
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());
| Modifier and Type | Interface and Description |
|---|---|
static class |
BootstrapOptions.Builder
A builder for
BootstrapOptions |
static class |
BootstrapOptions.Jsii$Proxy
An implementation for
BootstrapOptions |
| Modifier and Type | Method and Description |
|---|---|
static BootstrapOptions.Builder |
builder() |
default String |
getAdditionalArgs()
Additional command line arguments to pass to the `/etc/eks/bootstrap.sh` command.
|
default Number |
getAwsApiRetryAttempts()
Number of retry attempts for AWS API call (DescribeCluster).
|
default String |
getDnsClusterIp()
Overrides the IP address to use for DNS queries within the cluster.
|
default String |
getDockerConfigJson()
The contents of the `/etc/docker/daemon.json` file.
|
default Boolean |
getEnableDockerBridge()
Restores the docker default bridge network.
|
default String |
getKubeletExtraArgs()
Extra arguments to add to the kubelet.
|
default Boolean |
getUseMaxPods()
Sets `--max-pods` for the kubelet based on the capacity of the EC2 instance.
|
@Stability(value=Stable) @Nullable default String getAdditionalArgs()
Default: - none
@Stability(value=Stable) @Nullable default Number getAwsApiRetryAttempts()
Default: 3
@Stability(value=Stable) @Nullable default String getDnsClusterIp()
Default: - 10.100.0.10 or 172.20.0.10 based on the IP address of the primary interface.
@Stability(value=Stable) @Nullable default String getDockerConfigJson()
Default: - none
@Stability(value=Stable) @Nullable default Boolean getEnableDockerBridge()
Default: false
@Stability(value=Stable) @Nullable default String getKubeletExtraArgs()
For example, --node-labels foo=bar,goo=far.
Default: - none
@Stability(value=Stable) @Nullable default Boolean getUseMaxPods()
Default: true
@Stability(value=Stable) static BootstrapOptions.Builder builder()
BootstrapOptions.Builder of BootstrapOptionsCopyright © 2022. All rights reserved.