BootstrapOptions

class aws_cdk.aws_eks_legacy.BootstrapOptions(*, additional_args=None, aws_api_retry_attempts=None, docker_config_json=None, enable_docker_bridge=None, kubelet_extra_args=None, use_max_pods=None)

Bases: object

__init__(*, additional_args=None, aws_api_retry_attempts=None, docker_config_json=None, enable_docker_bridge=None, kubelet_extra_args=None, use_max_pods=None)
Parameters
  • additional_args (Optional[str]) – Additional command line arguments to pass to the /etc/eks/bootstrap.sh command. Default: - none

  • aws_api_retry_attempts (Union[int, float, None]) – Number of retry attempts for AWS API call (DescribeCluster). Default: 3

  • docker_config_json (Optional[str]) – 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

  • enable_docker_bridge (Optional[bool]) – Restores the docker default bridge network. Default: false

  • kubelet_extra_args (Optional[str]) – Extra arguments to add to the kubelet. Useful for adding labels or taints. Default: - none

  • use_max_pods (Optional[bool]) – Sets --max-pods for the kubelet based on the capacity of the EC2 instance. Default: true

stability :stability: deprecated

Return type

None

Attributes

additional_args

Additional command line arguments to pass to the /etc/eks/bootstrap.sh command.

default :default: - none

see :see: https://github.com/awslabs/amazon-eks-ami/blob/master/files/bootstrap.sh stability :stability: deprecated

Return type

Optional[str]

aws_api_retry_attempts

Number of retry attempts for AWS API call (DescribeCluster).

default :default: 3

stability :stability: deprecated

Return type

Union[int, float, None]

docker_config_json

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 :default: - none

stability :stability: deprecated

Return type

Optional[str]

enable_docker_bridge

Restores the docker default bridge network.

default :default: false

stability :stability: deprecated

Return type

Optional[bool]

kubelet_extra_args

Extra arguments to add to the kubelet.

Useful for adding labels or taints.

default :default: - none

stability :stability: deprecated

Example:

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
--node - labelsfoo = bar , goo = far
Return type

Optional[str]

use_max_pods

Sets --max-pods for the kubelet based on the capacity of the EC2 instance.

default :default: true

stability :stability: deprecated

Return type

Optional[bool]