kuberay icon indicating copy to clipboard operation
kuberay copied to clipboard

Refactor Apiserver e2e run in cluster

Open machichima opened this issue 8 months ago • 4 comments

  • Create a curl container in the same pod as apiserver for sending curl request
  • Add make command to start up pod with both apiserver and curl for e2e test
  • Create exec.go for sending request to apiserver through remote command (similar to kubectl exec behaviour).
    • The exec.go contains all functions in pkg/http/client.go, but send through remote command

Why are these changes needed?

Currently, the KubeRay API server e2e tests rely on accessing the API server via a NodePort exposed through kind's extraPortMappings, defaulting to http://localhost:31888. This approach depends on the local environments. Everything should run inside the Kubernetes cluster.

Related issue number

Closes #3380

Checks

  • [ ] I've made sure the tests are passing.
  • Testing Strategy
    • [ ] Unit tests
    • [ ] Manual tests
    • [ ] This PR is not tested :(

machichima avatar May 03 '25 00:05 machichima

@dentiny @rueian PTAL. Thanks!

machichima avatar May 24 '25 11:05 machichima

Hi @rueian @dentiny , The autoscaler e2e test is failing, which I think is flaky. Could you please re-trigger it for me?

Thanks!

machichima avatar May 26 '25 02:05 machichima

Hi @rueian @dentiny , The autoscaler e2e test is failing, which I think is flaky. Could you please re-trigger it for me?

Thanks!

Hi @machichima, I don't have the permission to retrigger it. Perhaps you could merge the master branch to retrigger it.

rueian avatar May 26 '25 22:05 rueian

@dentiny , PTAL Thanks!

machichima avatar May 27 '25 04:05 machichima

Hi @kevin85421, Could you please have a look at this?

machichima avatar Jul 17 '25 21:07 machichima

@machichima can you resolve the conflict? @rueian can you shepherd this PR and merge if you think it is good to go? Thanks!

kevin85421 avatar Jul 18 '25 07:07 kevin85421