Skip to content

Fixed ingress domain methods #263

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

Merged

Conversation

Bobbins228
Copy link
Contributor

@Bobbins228 Bobbins228 commented Aug 1, 2023

Issue link

What changes have been made

Added the api_config_handler() method to client.CustomObjectsApi methods so that when a user authenticates with their token and password it uses their api instance.

Verification steps

  • Run poetry build in the codeflare folder from the terminal
  • run pip install dist/codeflare_sdk-0.0.0.dev0-py3-none-any.whl
  • From one of the guided demo Jupyter Notebooks
  • log in with token + server
  • Create a local interactive cluster config by setting local_interactive = True
  • run cluster.up()
  • run cluster.local_client_url()
    You should receive a url similar to this...
    ray://rayclient-<"cluster-name">-<"namespace">.<"domain">

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • Testing is not required for this change

@Fiona-Waters
Copy link
Contributor

Ran verification steps and can confirm that it works as expected.
/lgtm

Copy link
Collaborator

@Maxusmusti Maxusmusti left a comment

Choose a reason for hiding this comment

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

LGTM

@Maxusmusti Maxusmusti merged commit 9727f9a into project-codeflare:main Aug 1, 2023
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.

3 participants