Create External Services
This section explains how to create external services.
External services forward business traffic to other services outside the cluster, and can be accessed internally within the cluster using the domain name format <service name>.<project name>.svc.cluster.local
.
Prerequisites
You should join a project and have the Application Workload Management permission within the project. For more information, refer to "Project Members" and "Project Roles".
Steps
-
Log in to the KubeSphere web console with a user who has the Application Workload Management permission, and access your project.
-
Click Application Workloads > Services in the left navigation pane.
-
Click Create on the page.
-
In the Create Service dialog, select External Service.
-
On the Basic Information tab, set the basic information of the service, then click Next.
-
On the External Service tab, set the address of the target service, then click Create.
Note -
The address of the target service must be a domain name. If you input an IP address, it will be considered as a domain composed of numbers rather than a real IP address.
-
To ensure that business traffic can be correctly forwarded to the target service, please make sure the domain name of the target service can be resolved to an actual IP address by a domain name server.
-
Feedback
Was this page Helpful?
Receive the latest news, articles and updates from KubeSphere
Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.