tencent cloud

Tencent Kubernetes Engine

Release Notes and Announcements
Release Notes
Announcements
Release Notes
Product Introduction
Overview
Strengths
Architecture
Scenarios
Features
Concepts
Native Kubernetes Terms
Common High-Risk Operations
Regions and Availability Zones
Service Regions and Service Providers
Open Source Components
Purchase Guide
Purchase Instructions
Purchase a TKE General Cluster
Purchasing Native Nodes
Purchasing a Super Node
Getting Started
Beginner’s Guide
Quickly Creating a Standard Cluster
Examples
Container Application Deployment Check List
Cluster Configuration
General Cluster Overview
Cluster Management
Network Management
Storage Management
Node Management
GPU Resource Management
Remote Terminals
Application Configuration
Workload Management
Service and Configuration Management
Component and Application Management
Auto Scaling
Container Login Methods
Observability Configuration
Ops Observability
Cost Insights and Optimization
Scheduler Configuration
Scheduling Component Overview
Resource Utilization Optimization Scheduling
Business Priority Assurance Scheduling
QoS Awareness Scheduling
Security and Stability
TKE Security Group Settings
Identity Authentication and Authorization
Application Security
Multi-cluster Management
Planned Upgrade
Backup Center
Cloud Native Service Guide
Cloud Service for etcd
TMP
TKE Serverless Cluster Guide
TKE Registered Cluster Guide
Use Cases
Cluster
Serverless Cluster
Scheduling
Security
Service Deployment
Network
Release
Logs
Monitoring
OPS
Terraform
DevOps
Auto Scaling
Containerization
Microservice
Cost Management
Hybrid Cloud
AI
Troubleshooting
Disk Full
High Workload
Memory Fragmentation
Cluster DNS Troubleshooting
Cluster kube-proxy Troubleshooting
Cluster API Server Inaccessibility Troubleshooting
Service and Ingress Inaccessibility Troubleshooting
Common Service & Ingress Errors and Solutions
Engel Ingres appears in Connechtin Reverside
CLB Ingress Creation Error
Troubleshooting for Pod Network Inaccessibility
Pod Status Exception and Handling
Authorizing Tencent Cloud OPS Team for Troubleshooting
CLB Loopback
API Documentation
History
Introduction
API Category
Making API Requests
Elastic Cluster APIs
Resource Reserved Coupon APIs
Cluster APIs
Third-party Node APIs
Relevant APIs for Addon
Network APIs
Node APIs
Node Pool APIs
TKE Edge Cluster APIs
Cloud Native Monitoring APIs
Scaling group APIs
Super Node APIs
Other APIs
Data Types
Error Codes
TKE API 2022-05-01
FAQs
TKE General Cluster
TKE Serverless Cluster
About OPS
Hidden Danger Handling
About Services
Image Repositories
About Remote Terminals
Event FAQs
Resource Management
Service Agreement
TKE Service Level Agreement
TKE Serverless Service Level Agreement
Contact Us
Glossary

Ingress Cross-region Binding

PDF
Mode fokus
Ukuran font
Terakhir diperbarui: 2024-12-23 11:30:47

Overview

When you use the Ingress of the CLB type, the CLB is generated for random availability zone in the VPC where the cluster resides by default. Currently, the CLB Ingress of TKE allows you to specify availability zones, including availability zones in other regions. This document describes how to bind and specify availability zones for CLB Ingress across regions via the console and YAML.

Operations

The cross-region access or cross-VPC access of CLB must be supported. That is, the VPC where the CLB resides and the VPC where the cluster resides are not in the same VPC.
The availability zone of CLB has realized unified management of resources.
Note:
1. If you need to use the CLB that is not in the same VPC as this cluster, you need to connect the VPCs of the current cluster and the CLB via CCN.
2. After the VPCs are connected, please submit a ticket to apply for this feature.
3. You should enter the region ID in the following YAML. You can check the region ID in Regions and Availability Zones.

Directions

You can bind and specify availability zones for CLB Ingress across regions via the console and YAML.
Console
YAML
1. Log in to the TKE console and click Cluster in the left sidebar.
2. On the "Cluster Management" page, click the cluster ID whose Ingress object needs to be modified.
3. On the cluster details page, select Services and Routes > Ingress in the left sidebar, as shown in the figure below:

4. Click Create and configure the availability zone rules on the Create Ingress page. The configuration rules are as follows:
Current VPC: use the CLB in the VPC where the cluster resides. Random AZ is recommended to avoid the instance creation failure due to the resource shortage in the specified availability zone.
Other VPC: it only supports the VPC that has connected to the VPC of the current cluster via CCN. Random AZ is recommended to avoid the instance creation failure due to the resource shortage in the specified availability zone.

Note:
1. If you need to use the CLB that is not in the same VPC as this cluster, you need to connect the VPCs of the current cluster and the CLB via CCN.
2. After the VPCs are connected, please submit a ticket to apply for this feature.

Sample 1

If you only need to specify the availability zone of the VPC where the cluster resides, for example, if the VPC of the cluster is located in Guangzhou, and you need to specify the CLB of Guangzhou Zone 1 for CLB Ingress, you can add the following annotations to the YAML of the Ingress:
kubernetes.io/ingress.extensiveParameters: '{"ZoneId":"ap-guangzhou-1"}'


Sample 2

If you need to use a CLB that is not in the VPC of the cluster, you need to add the following annotations:
ingress.cloud.tencent.com/cross-region-id:
ingress.cloud.tencent.com/cross-vpc-id:

The specific examples are as follows:
To create a CLB for remote access, you need to add the following annotations:
ingress.cloud.tencent.com/cross-region-id: "ap-guangzhou"
ingress.cloud.tencent.com/cross-vpc-id: "vpc-646vhcjj"

Note:
If you need to specify the availability zone, you also need to add the annotations of sample 1.
To select an existing CLB for remote access, you need to add the following annotations:
ingress.cloud.tencent.com/cross-region-id: "ap-guangzhou"
kubernetes.io/ingress.existLbId: "lb-342wppll"

Note:
If you need to specify the availability zone, you also need to add the annotations of sample 1.
For the detailed Ingress annotations, please see Ingress Annotation.

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan