The page has been translated by Gen AI.
icon

Microservice with Kubernetes

Microservice with Kubernetes

Overview

Microservice Architecture(MSA) refers to an approach that develops business applications by combining small services(Microservices). Using MSA enables rapid development of business requirements, relatively free deployment of changes directly to the production environment, easy maintenance, and the advantage of minimizing failure impact because partial failures do not affect the entire system.

Samsung Cloud Platform provides cloud services such as Kubernetes Engine, API Gateway, and Event Streams for developing MSA‑based cloud‑native applications, enabling response to recent rapid business and technology changes.

Architecture Diagram

MSA
Figure. Kubernetes-based Microservice architecture
  1. The client’s request is delivered to the VM/Container workload via the API Gateway service.
  2. According to the API request, the API Gateway forwards it to the Ingress Controller of the Kubernetes Engine that corresponds to the Container Workload. 2. Kubernetes Engine routes incoming requests received via ingress to the mapped service Pods.
  3. According to the API request, the API Gateway connects to the LoadBalancer corresponding to the VM Workload and processes the application.
  4. Microservice Architecture configures a separate DB for each structured service unit.
  5. Backing Service refers to a backend service that microservices can use over the network, such as DBMS services like PostgreSQL (DBaaS), in‑memory cache services like CacheStore (DBaaS), and asynchronous processing of microservice messages like Event Streams. Provides Message Queue services, etc., for
  6. Using a DevOps-based CI/CD service, the Container Image pulls the image stored in the Container Registry and assembles the application.
  7. You can use Service Mesh technology to control the network between microservice components. 7. Through Service Mesh technology, it is possible to manage and trace various network configurations and data flows between segmented applications.
  8. In MSA, because many Microservices operate in a distributed environment, monitoring of service status is required. 8. Telemetry services such as Monitoring, Logging, and Tracing serve to monitor services and configure the environment so that issues arising for each service can be addressed.

Use Cases

Logistics system Microservice implementation

To create a lightweight, highly available logistics system application and an architecture that can flexibly respond to business expansion, we applied a container‑based MSA during the development of the new application.

The detailed systems that constitute the logistics system, such as the warehouse management system, delivery system, and multimodal transportation system, are built with containers, and the Samsung Cloud Platform uses the standard Kubernetes Engine service to enable easy and fast deployment of microservices in a container-based environment, independently. Provides a runtime environment, scalability, and resilience.

Global manufacturer’s development platform case

The platform that supports application development for global manufacturers offers an API Gateway, DevOps, and Kubernetes-based container services for microservice-based application development.

Through this, we support DevOps‑based Canary deployments for individual build services, and by cataloging each service’s API through the API Gateway, we enhance service reusability.

Using Service mesh technology, you can ensure flow control and visibility for Microservice.

Prerequisites

None

Constraints

Since some features such as Ingress Controller and Service Mesh are not provided by Samsung Cloud Platform, separate configuration is required.

Considerations

None

Related service

This is a list of Samsung Cloud Platform services that are related to the features or configurations described in this guide. Refer to this when selecting and designing services.

service groupserviceDetailed description
ComputeVirtual ServerVirtual server optimized for cloud computing
NetworkingVPCA service that provides an isolated virtual network in a cloud environment.
DatabaseMySQL(DBaaS)A service that easily creates and manages the open-source relational database (RDBMS) MySQL.
DatabaseMariaDB(DBaaS)A service that easily creates and manages MariaDB with high compatibility with MySQL.
DatabasePostgreSQL(DBaaS)A service that easily creates and manages open-source PostgreSQL
DatabaseEPAS(DBaaS)A service that easily creates and manages EPAS
DatabaseMicrosoft SQL Server(DBaaS)A service that easily creates and manages Microsoft SQL Server
DatabaseCacheStore(DBaaS)Key-value in-memory data store with fast data processing capability
Data AnalyticsEvent StreamsA service that easily creates and manages Apache Kafka clusters
ContainerKubernetes EngineKubernetes container orchestration service
ContainerContainer RegistryA service that easily stores, manages, and shares container images
Application ServiceAPI GatewayA service that easily manages and monitors APIs
ManagementServiceWatchA service that provides various tools to collect metrics, logs, events, and other data from created resources for monitoring, offering observability of overall resources such as performance and operational status.
Table. List of related services