Skip to content
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

GetMeta APIs #46

Merged
merged 6 commits into from
Dec 24, 2024
Merged

GetMeta APIs #46

merged 6 commits into from
Dec 24, 2024

Conversation

Leechael
Copy link
Collaborator

@Leechael Leechael commented Dec 10, 2024

This PR have added the GetMeta API for Teepod, TProxy, and KMS. This API retrieves the configured behavior for each core service:

  • Teepod: Returns the associated TProxy and KMS addresses along with the maximum capacity.
  • TProxy: Currently returns statistics only, as non-critical configuration options should not be exposed.
  • KMS: Detects whether allow_any_upgrade is enabled to determine if an associated CVM can process upgrades.

These APIs allow the creation of a standalone service that connects to multiple DStack deployments and activates various features based on metadata.

@Leechael Leechael marked this pull request as ready for review December 23, 2024 22:32
@Leechael Leechael requested a review from kvinwang December 23, 2024 22:32
@Leechael Leechael changed the title GetMeta API for heartbeat GetMeta APIs Dec 23, 2024
Copy link
Collaborator

@kvinwang kvinwang left a comment

Choose a reason for hiding this comment

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

LGTM

@Leechael Leechael merged commit e907dc6 into master Dec 24, 2024
1 check passed
@Leechael Leechael deleted the feat-get-meta-api branch December 24, 2024 08:47
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