By Wang Xining
This article is the fourth edition in the ASM Public Preview Series, a collection of articles that describes key capabilities of Alibaba Cloud Service Mesh (ASM). To access a deployed application through the Internet, you need to deploy an ingress gateway in the cluster where the application runs. This article demonstrates how to add an ingress gateway to an Alibaba Cloud Kubernetes ACK cluster in an Alibaba Cloud Service Mesh (ASM) instance. Find below the links to other articles in this series:
An ingress gateway provides Kubernetes clusters with layer-7 gateway features and a unified layer-7 service entry. Based on the content of HTTP requests, the ingress gateway distributes requests from the same TCP port to different Kubernetes services.
1) Use Existing SLB: Select an SLB instance from the list of existing SLB instances.
2) Create SLB: Click Create SLB and select the required SLB type from the drop-down list.
Note: We recommend assigning an SLB instance for each Kubernetes service. If the same SLB instance is shared among multiple Kubernetes services, the following risks and restrictions occur:
i) If an existing SLB instance is reused, existing listeners will be forcibly overwritten. Consequently, the application becomes inaccessible.
ii) Only the SLB instances that are manually created in the console or via an API can be reused. If an SLB instance is automatically created by the system for a service, it cannot be reused by any other services.
iii) The multiple services that share the same SLB instance cannot have the same frontend listening port. Otherwise, port conflicts occur.
iv) The listener and virtual server group names of a reused SLB instance are used as unique identifiers in ACK and cannot be modified.
v) An SLB instance cannot be reused by services across Kubernetes clusters.
Note: We recommend specifying the same service and container ports and enabling this port in the Istio gateway resource definition. The console provides four common Istio ports by default. However, it allows you to add or delete ports based on actual requirements.
After creating an ASM instance and adding an ACK cluster to the instance, deploy applications to the cluster and use the service mesh functions.
Xi Ning Wang - March 7, 2019
Alibaba Clouder - February 22, 2019
Xi Ning Wang(王夕宁) - August 6, 2020
Xi Ning Wang - March 19, 2020
Alibaba Container Service - May 30, 2019
Xi Ning Wang(王夕宁) - June 16, 2020
Respond to sudden traffic spikes and minimize response time with Server Load BalancerLearn More
Alibaba Cloud Server Load Balancer is built to cope with high volume traffic and each year in November is put to the test during Alibaba’s annual Global Shopping Festival. Alibaba relies on Server Load Balancer to provide uninterrupted service during the festival by switching requests between data centers and transferring transactions to the most available server.Learn More
Alibaba Cloud Container Service for Kubernetes is a fully managed cloud container management service that supports native Kubernetes and integrates with other Alibaba Cloud products.Learn More
ApsaraDB Dedicated Cluster provided by Alibaba Cloud is a dedicated service for managing databases on the cloud.Learn More
More Posts by Xi Ning Wang(王夕宁)