This document provides a step-by-step guide on how to configure external access for your inference services, including checking external access addresses, creating domains, setting up load balancers, and verifying the configuration.
You can:
status.url
.In the Administrator Console, go to Network > Domains, and then click Create Domain.
(One load balancer can be shared by multiple projects; create a new one only if necessary.)
In the Administrator Console, go to Network > Load Balancers, and then click Create Load Balancer. For detailed help documentation, please refer to .
In the Alauda Container Platform Console, navigate to Network > Load Balancers, then click the name of the load balancer you just created to enter its configuration page.
Add listening ports: HTTP protocol on port 80, and HTTPS protocol on port 443. You can add more as needed.
knative-ingressgateway
in the istio-system
namespace and choose port 80.For more detailed parameter configurations, you can refer to .
To verify that your inference service is accessible externally, use the curl
command below. Remember to replace the placeholders with your actual load balancer IP address, port, and inference service address.
Here's what each part of the command means and what you need to replace:
your-inference-service-domain.com
: This should be the domain name you created for your inference service (e.g., qwen2-0b5-kubeflow-admin-cpaas-io.my-company.com
).your-port
: This is the port your load balancer is listening on for HTTP traffic (commonly 80
).your-load-balancer-ip
: This is the actual IP address of your load balancer (e.g., 192.168.137.21
).If the request successfully returns the model list, your configuration is complete! If it fails, double-check your load balancer settings or review the inference service logs to pinpoint the problem.