Overview of creating and deploying applications in Kubernetes

更新时间:
复制 MD 格式

Enterprise Distributed Application Service (EDAS) hosts applications in Elastic Compute Service (ECS) and Kubernetes environments. When you host applications in a Kubernetes environment, EDAS supports Java applications and applications in other languages, such as Node.js, Go, and Python. This topic describes the deployment methods for different types of applications.

Java applications

After you develop a Spring Cloud, Dubbo, or High-speed Service Framework (HSF) application, you can deploy it to a Kubernetes cluster using a WAR package, a JAR package, or an image.

Deployment method

Description

Runtime environment

Monitoring and administration solution

Example document

Image-based deployment

Applicable to applications deployed in Kubernetes clusters using custom images.

Custom

By default, a Java agent is automatically mounted for fine-grained monitoring. EDAS also provides a complete microservice administration solution that includes canary releases, service authentication, and throttling and degradation.

Deploy a Java microservice application in a Kubernetes cluster using an image

JAR package deployment

Applicable to Dubbo and Spring Boot applications.

Java

Deploy an application from a JAR or WAR package in a Container Service for Kubernetes (ACK) cluster

WAR package deployment

Applicable to Dubbo and Spring applications.

Java, Apache

WAR or FatJar package deployment

Applicable to HSF applications.

EDAS-Container

Note

To create multiple Java applications in a Kubernetes environment at the same time, you can call the InsertK8sApplication operation. For more information, see InsertK8sApplication in the EDAS Developer Guide.

Multi-language applications

EDAS supports multi-language applications that are deployed from custom images.

When you deploy multi-language applications, EDAS uses Istio (Service Mesh) to provide a complete microservice administration solution. This solution includes features such as canary releases, service authentication, and throttling and degradation.

Note

To create multiple multi-language applications in a Kubernetes environment at the same time, you can call the InsertK8sApplication operation.