Skip to content

ASM-21890 LLM-external-access #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

fyuan1316
Copy link
Contributor

@fyuan1316 fyuan1316 commented Jul 18, 2025

close #ASM-21890

LLM-external-access

Summary by CodeRabbit

  • Documentation
    • Added a comprehensive step-by-step guide for configuring external access to inference services, including domain setup, load balancer configuration, traffic routing, and verification instructions.

Signed-off-by: Yuan Fang <[email protected]>
Copy link

coderabbitai bot commented Jul 18, 2025

Walkthrough

A new documentation file was introduced, providing a comprehensive, step-by-step guide on configuring external access to inference services. The guide details procedures for setting up domains, configuring load balancers, and verifying external connectivity, including troubleshooting steps and references to related documentation.

Changes

File(s) Change Summary
docs/en/model_inference/inference_service/how_to/external_access_inference_service.mdx Added new documentation with step-by-step instructions for configuring external access to inference services.

Suggested reviewers

  • typhoonzero
  • zhaomingkun1030

Poem

A hop, a skip, a leap outside,
Now inference services open wide.
With load balancers set and domains in place,
Curl commands test the interface.
Through docs we bound, with guides anew—
External access, made clear for you!
🐇✨


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between d949112 and 97d6ac0.

📒 Files selected for processing (1)
  • docs/en/model_inference/inference_service/how_to/external_access_inference_service.mdx (1 hunks)
✅ Files skipped from review due to trivial changes (1)
  • docs/en/model_inference/inference_service/how_to/external_access_inference_service.mdx

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@fyuan1316 fyuan1316 changed the title ASM-21890 llm-external-access ASM-21890 LLM-external-access Jul 18, 2025
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (5)
docs/en/model_inference/inference_service/how_to/external_access_inference_service.mdx (5)

1-7: Front-matter lacks a canonical slug and description
Most docs pages include slug: and (optionally) description: in the front-matter so that the static site generator produces predictable URLs and richer metadata for SEO. Add them to keep the page consistent with the rest of the docs set.

 ---
 weight: 10
+i18n:
+  # …
+slug: external-access-inference-service
+description: Step-by-step instructions for exposing Alauda inference services to the Internet.
 i18n:
   title:
     en: Configure External Access for Inference Services
     zh: 配置推理服务外部访问
 ---

19-22: Include a CLI one-liner for quickly retrieving status.url
Docs consumers often work purely from a terminal. A concrete kubectl command removes guesswork and speeds up validation.

 ### 1. View External Access Address of the Inference Service
@@
-To find the external access address of your inference service, navigate to the inference service details page. You can find the address in the **Access Method** card, or by viewing the **YAML** card and checking the address under `status.url`.
+You can:
+1. Navigate to the service details page and copy the address from the **Access Method** card, **or**
+2. Run  
+   ```bash
+   kubectl get inferenceservice <SERVICE_NAME> -o jsonpath='{.status.url}'
+   ```  
+   which prints the `status.url` field directly.

30-33: Ambiguous parenthetical note
“(Multiple projects can share, create as needed)” reads awkwardly and may confuse non-native speakers. Re-phrase for clarity.

-### 3. Create a Load Balancer (Multiple projects can share, create as needed)
+### 3. Create a Load Balancer  
+(*One load balancer can be shared by multiple projects; create a new one only if necessary.*)

38-46: Terminology & cross-product mapping could trip readers
A first-time ACP user might not know that “ServiceGroup” ≈ Kubernetes Service. Add a short parenthetical to anchor the concept.

-* **ServiceGroup**: Select the service named `knative-ingressgateway` under the `istio-system` namespace, and choose port **80**.
+* **ServiceGroup** (Kubernetes **Service**): Select `knative-ingressgateway` in the `istio-system` namespace and choose port **80**.

51-56: curl example omits the HTTPS pathway and may mislead
The preceding steps configure both 80/HTTP and 443/HTTPS. Show the secure variant or explicitly state that the example targets HTTP to avoid doubt.

-curl -v --resolve "your-inference-service-domain.com:your-port:your-load-balancer-ip" http://your-inference-service-domain.com/v1/models
+# For HTTP
+curl -v --resolve "your-inference-service-domain.com:80:your-load-balancer-ip" \
+  http://your-inference-service-domain.com/v1/models
+
+# For HTTPS (skip `-k` if you have a valid certificate)
+curl -vk --resolve "your-inference-service-domain.com:443:your-load-balancer-ip" \
+  https://your-inference-service-domain.com/v1/models
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e26f82d and 568b2b8.

📒 Files selected for processing (1)
  • docs/en/model_inference/inference_service/how_to/external_access_inference_service.mdx (1 hunks)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant