检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Figure 2 Buying an elastic IP address Create a NAT gateway. For details, see Buying a Public NAT Gateway. Log in to the NAT Gateway console. On the displayed page, click Buy Public NAT Gateway in the upper right corner. Configure the parameters as prompted. Select the same VPC.
On the Summary tab, check whether a route to the NAT gateway exists. If no, manually add a route. Click Add Route. Destination: Set this parameter to 0.0.0.0/0, which means any IP address. Next Hop Type: Select NAT gateway.
By default, the resources (such as VPC endpoints, NAT gateways, and EIPs specified in the SNAT rules) created in the VPC of the cluster are retained. Ensure that the resources are not reused by other clusters or Services and delete them on the Network Console.
NAT Gateway Used when SNAT is configured for the cluster. A NAT gateway is automatically created and billed on a pay-per-use basis. Billing factor: NAT gateway specifications For details, see Billing.
If there are no NAT gateways, CCE Autopilot automatically creates a NAT gateway with default specifications, binds an EIP to the NAT gateway, and configures SNAT rules. The NAT gateway will be billed. For details, see NAT Gateway Billing.
*:* - × √ Performing all operations on NAT Gateway resources nat:*:get - √ √ Viewing NAT Gateway resource details nat:*:list - √ √ Listing all NAT Gateway resources vpcep:*:* - × √ Performing all operations on VPC Endpoint resources ecs:*:* - √ √ Performing all operations on ECSs
Gateway resources x √ √ Viewing NAT Gateway resource details √ √ √ Listing all NAT Gateway resources √ √ √ Performing all operations on VPC Endpoint resources x √ √ Viewing VPC Endpoint resource details √ √ √ Listing all VPC Endpoint resources √ √ √ Performing all operations on EVS
Accessing the internet: You can bind an EIP to the pod by referring to Configuring an EIP for a Pod, or configure SNAT rules for NAT gateway by referring to Accessing the Public Network from a Container. Figure 3 Network access diagram Parent Topic: Network
Optimized the function of creating a NAT gateway by default during cluster creation so that applications can access the public network. Fixed some security issues. v1.27.3-r10 v1.27.4 Supported cluster v1.27.
Optimized the function of creating a NAT gateway by default during cluster creation so that applications can access the public network. Fixed some security issues. v1.27.3-r10 v1.27.4 Supported cluster v1.27.
After this function is enabled, the cluster can access the Internet through a NAT gateway. By default, the existing NAT gateway in the selected VPC is used.
After this function is enabled, the cluster can access the Internet through a NAT gateway. By default, the existing NAT gateway in the selected VPC is used.
After this function is enabled, the cluster can access the Internet through a NAT gateway. By default, the existing NAT gateway in the selected VPC is used.
After this function is enabled, the cluster can access the Internet through a NAT gateway. By default, the existing NAT gateway in the selected VPC is used.
After this function is enabled, the cluster can access the Internet through a NAT gateway. By default, the existing NAT gateway in the selected VPC is used.
In addition, compared with the container tunnel network and VPC network, Cloud Native Network 2.0 does not require container tunnel encapsulation and NAT, and provides higher network performance.
/18 15:30:00 ~ 2023/04/19 21:06:00 Pay-per-use 773.6 hours (33 days, including March 18 and April 19) 5-GB public network traffic Cluster management: $0.1 USD/hour (AP-Bangkok) VPC endpoints: VPC endpoint for API Server: $0.014 USD/hour VPC endpoint for SWR: $0.014 USD/hour SNAT NAT
VPC resources (such as endpoints, NAT gateways, and EIPs for SNAT) associated with a cluster are retained by default when the cluster is deleted. Before deleting a cluster, ensure that the resources are not used by other clusters. Log in to the CCE console.
VPC resources (such as endpoints, NAT gateways, and EIPs for SNAT) associated with a cluster are retained by default when the cluster is deleted. Before deleting a cluster, ensure that the resources are not used by other clusters. Log in to the CCE console.