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

feat(api): add JobService and ListClusters #318

Merged
merged 1 commit into from
Jan 3, 2025
Merged

Conversation

kkaneda
Copy link
Contributor

@kkaneda kkaneda commented Jan 3, 2025

This is mainly for debugging.

@github-actions github-actions bot added the enhancement New feature or request label Jan 3, 2025
This is mainly for debugging.
@kkaneda kkaneda force-pushed the kenji/list-clusters branch from 61af2e1 to 13c007e Compare January 3, 2025 00:56
@kkaneda
Copy link
Contributor Author

kkaneda commented Jan 3, 2025

Example usage:

$ kubectl port-forward -n llmariner service/job-manager-server-grpc 8081 &

$ grpcurl -plaintext -H authorization:<token> -d "{}" localhost:8081  llmariner.jobs.server.v1.JobService/ListClusters
{
  "clusters": [
    {
      "id": "cluster-B_0YrG_sTdWabDitCB8I3zrn",
      "status": {
        "gpuNodes": [
          {
            "resourceName": "nvidia.com/gpu",
            "allocatableCount": 2
          }
        ]
      }
    }
  ]
}

@kkaneda kkaneda merged commit bd42c09 into main Jan 3, 2025
2 checks passed
@kkaneda kkaneda deleted the kenji/list-clusters branch January 3, 2025 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant