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.
Alibaba Cloud Indonesia - April 10, 2023
Alibaba Cloud Native Community - September 20, 2023
Alibaba Cloud Native Community - May 17, 2022
Alibaba Cloud Native - May 23, 2023
Xi Ning Wang(王夕宁) - April 8, 2023
Xi Ning Wang(王夕宁) - September 20, 2023
Respond to sudden traffic spikes and minimize response time with Server Load BalancerLearn 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
Provides a control plane to allow users to manage Kubernetes clusters that run based on different infrastructure resourcesLearn 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(王夕宁)