5G-ERA / middleware

Middleware for orchestration and lifecycle management of the could-native robotic applications
Apache License 2.0
8 stars 3 forks source link

feat: dynamically adjusts the gateway's exposure based on the instance type —cloud or edge— #278

Closed appmdev closed 4 months ago

appmdev commented 4 months ago

Description

The enhancement dynamically adjusts the Gateway's exposure method in an Orchestrator environment based on the operational context—Cloud or Edge—and the presence of an Ingress Controller. In Cloud setups, the Gateway is exposed using a LoadBalancer service, while in Edge environments, it defaults to a NodePort service with a customizable port option. If an Ingress Controller is detected, the Gateway's exposure shifts to ClusterIP, enabling advanced routing and SSL/TLS management through CertManager regardless of instance type.

Type of change

Please delete options that are not relevant.

What has been changed?

This section lists what has been changed with this pull request. Each entry lists the type of change introduced in the following order:

  1. Breaking
  2. Feature
  3. Fix
  4. Doc

Example:

How Has This Been Tested?

Checklist: