This topic describes how to deploy a Kubernetes cluster in a hybrid cloud environment that consists of on-premises data centers and Alibaba Cloud. The services are deployed both on Alibaba Cloud and in on-premises data centers. Cloud resources can scale dynamically as the workload fluctuates.
Data Transmission Service (DTS) is used to implement one-way synchronization between on-premises data centers and cloud databases. In this hybrid cloud environment, cloud databases provide data redundancy and disaster recovery capabilities. Services that have a high tolerance of read latency can be deployed in the cloud to reduce workloads in on-premises data centers. On-premises images can be synchronized to Alibaba Cloud Container Registry Enterprise Edition. This enables cloud services to pull images from the nearest on-premises data center to speed up application deployment.
- Cloud deployments provide sufficient redundancy and support fast auto-scaling, which offer a cost-effective alternative to auto-scaling in on-premises data centers.
- Applications that have a high tolerance of read latency can be deployed in the cloud to reduce workloads in on-premises data centers.
- Alibaba Cloud Container Registry Enterprise Edition supports image deployment and synchronization across multiple regions to speed up image distribution.
- DTS supports one-way synchronization and disaster recovery to enhance the availability of on-premises data centers.
- A Kubernetes cluster is deployed both in the on-premises data center and on Alibaba Cloud. The clusters are connected to an internal network through Express Connect.
- The applications deployed in the cloud cluster can be the same as on-premises applications to provide redundancy. Alternatively, new applications can be deployed in the cloud cluster. Cloud applications call data services APIs to access on-premises databases.
- On-premises image repositories such as Docker harbor synchronize image files to Alibaba Cloud Container Registry Enterprise Edition. Nodes in the cloud cluster directly pull Docker images from the nearest Container Registry instance to speed up application deployment.
- On-premises databases use one-way synchronization tasks in DTS to synchronize data to ApsaraDB for RDS for disaster recovery. Applications that have a high tolerance of read latency can be deployed in the cloud and directly access cloud databases.
For more information about the best practices for Kubernetes deployments in hybrid clouds, see Best practices for Kubernetes deployments in hybrid clouds .