Skip to content

rdme: Update access for non-kms apps#306

Merged
kvinwang merged 1 commit into
masterfrom
rdme-portmap
Sep 1, 2025
Merged

rdme: Update access for non-kms apps#306
kvinwang merged 1 commit into
masterfrom
rdme-portmap

Conversation

@kvinwang

Copy link
Copy Markdown
Collaborator

Updates README documentation with details on non-kms application connectivity to agent dashboards and services, featuring gRPC access protocols via the zt-https proxy gateway.

Comment thread README.md
- `3327603e03f5bd1f830812ca4a789277fc31f577-8080s.app.kvin.wang` → port `8080` (TLS passthrough)

**Example**: `3327603e03f5bd1f830812ca4a789277fc31f577-8080.app.kvin.wang` maps to port `8080` in the CVM.
The `<id>` can be either the app ID or instance ID. When using the app ID, the load balancer will select one of the available instances. Adding an `s` suffix enables TLS passthrough to the app instead of terminating at dstack-gateway. Adding a `g` suffix enables HTTPS/2 with TLS termination for gRPC applications.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Two questions:

  • Is it only for gRPC, or also used for other http/2 applications?
  • Is it necessary to have the g suffix?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

  • It's for all HTTP/2.
  • Without g, the gateway doesn't know HTTP/2 backend support. Falsely advertising HTTP/2 compatibility would result in the client sending incompatible packets to an HTTP/1.1 server.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do you think it's better to use -h2 instead of -g? And for custom domain, does it detect the suffix in the TXT record?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

*-8080-h2 would be a breaking change introducing another compatibility issue, *-8080h2 looks a bit weird to me.

And for custom domain, does it detect the suffix in the TXT record?

No, custom domain knows itself support h2 or not, it can only advertising h2 when the backend support it.

@kvinwang
kvinwang merged commit f77c2ef into master Sep 1, 2025
10 checks passed
kvinwang added a commit that referenced this pull request Jan 19, 2026
rdme: Update access for non-kms apps
@kvinwang
kvinwang deleted the rdme-portmap branch January 21, 2026 06:25
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.

2 participants