@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)",
date="2022-05-13T01:13:38.222Z")
public interface BootstrapOptions
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 java.lang.String |
getAdditionalArgs()
Additional command line arguments to pass to the `/etc/eks/bootstrap.sh` command.
|
default java.lang.Number |
getAwsApiRetryAttempts()
Number of retry attempts for AWS API call (DescribeCluster).
|
default java.lang.String |
getDnsClusterIp()
Overrides the IP address to use for DNS queries within the cluster.
|
default java.lang.String |
getDockerConfigJson()
The contents of the `/etc/docker/daemon.json` file.
|
default java.lang.Boolean |
getEnableDockerBridge()
Restores the docker default bridge network.
|
default java.lang.String |
getKubeletExtraArgs()
Extra arguments to add to the kubelet.
|
default java.lang.Boolean |
getUseMaxPods()
Sets `--max-pods` for the kubelet based on the capacity of the EC2 instance.
|
default java.lang.String getAdditionalArgs()
Default: - none
https://github.com/awslabs/amazon-eks-ami/blob/master/files/bootstrap.sh
default java.lang.Number getAwsApiRetryAttempts()
Default: 3
default java.lang.String getDnsClusterIp()
Default: - 10.100.0.10 or 172.20.0.10 based on the IP address of the primary interface.
default java.lang.String getDockerConfigJson()
Default: - none
default java.lang.Boolean getEnableDockerBridge()
Default: false
default java.lang.String getKubeletExtraArgs()
For example, --node-labels foo=bar,goo=far
.
Default: - none
default java.lang.Boolean getUseMaxPods()
Default: true
static BootstrapOptions.Builder builder()
BootstrapOptions.Builder
of BootstrapOptions