Class: AWSCDK::EKS::CfnCluster::RemoteNodeNetworkProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EKS::CfnCluster::RemoteNodeNetworkProperty
- Defined in:
- eks/cfn_cluster.rb
Overview
A network CIDR that can contain hybrid nodes.
These CIDR blocks define the expected IP address range of the hybrid nodes that join the cluster. These blocks are typically determined by your network administrator.
Enter one or more IPv4 CIDR blocks in decimal dotted-quad notation (for example, 10.2.0.0/16 ).
It must satisfy the following requirements:
- Each block must be within an
IPv4RFC-1918 network range. Minimum allowed size is /32, maximum allowed size is /8. Publicly-routable addresses aren't supported. - Each block cannot overlap with the range of the VPC CIDR blocks for your EKS resources, or the block of the Kubernetes service IP range.
- Each block must have a route to the VPC that uses the VPC CIDR blocks, not public IPs or Elastic IPs. There are many options including AWS Transit Gateway , AWS Site-to-Site VPN , or AWS Direct Connect .
- Each host must allow outbound connection to the EKS cluster control plane on TCP ports
443and10250. - Each host must allow inbound connection from the EKS cluster control plane on TCP port 10250 for logs, exec and port-forward operations.
- Each host must allow TCP and UDP network connectivity to and from other hosts that are running
CoreDNSon UDP port53for service and pod DNS names.
Instance Attribute Summary collapse
-
#cidrs ⇒ Array<String>
readonly
A network CIDR that can contain hybrid nodes.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cidrs:) ⇒ RemoteNodeNetworkProperty
constructor
A new instance of RemoteNodeNetworkProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(cidrs:) ⇒ RemoteNodeNetworkProperty
Returns a new instance of RemoteNodeNetworkProperty.
1600 1601 1602 1603 |
# File 'eks/cfn_cluster.rb', line 1600 def initialize(cidrs:) @cidrs = cidrs Jsii::Type.check_type(@cidrs, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "cidrs") end |
Instance Attribute Details
#cidrs ⇒ Array<String> (readonly)
A network CIDR that can contain hybrid nodes.
These CIDR blocks define the expected IP address range of the hybrid nodes that join the cluster. These blocks are typically determined by your network administrator.
Enter one or more IPv4 CIDR blocks in decimal dotted-quad notation (for example, 10.2.0.0/16 ).
It must satisfy the following requirements:
- Each block must be within an
IPv4RFC-1918 network range. Minimum allowed size is /32, maximum allowed size is /8. Publicly-routable addresses aren't supported. - Each block cannot overlap with the range of the VPC CIDR blocks for your EKS resources, or the block of the Kubernetes service IP range.
- Each block must have a route to the VPC that uses the VPC CIDR blocks, not public IPs or Elastic IPs. There are many options including AWS Transit Gateway , AWS Site-to-Site VPN , or AWS Direct Connect .
- Each host must allow outbound connection to the EKS cluster control plane on TCP ports
443and10250. - Each host must allow inbound connection from the EKS cluster control plane on TCP port 10250 for logs, exec and port-forward operations.
- Each host must allow TCP and UDP network connectivity to and from other hosts that are running
CoreDNSon UDP port53for service and pod DNS names.
1622 1623 1624 |
# File 'eks/cfn_cluster.rb', line 1622 def cidrs @cidrs end |
Class Method Details
.jsii_properties ⇒ Object
1624 1625 1626 1627 1628 |
# File 'eks/cfn_cluster.rb', line 1624 def self.jsii_properties { :cidrs => "cidrs", } end |
Instance Method Details
#to_jsii ⇒ Object
1630 1631 1632 1633 1634 1635 1636 |
# File 'eks/cfn_cluster.rb', line 1630 def to_jsii result = {} result.merge!({ "cidrs" => @cidrs, }) result.compact end |