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

[Docker] Remove Kubectl #38524

Merged
merged 3 commits into from
Sep 11, 2023
Merged

[Docker] Remove Kubectl #38524

merged 3 commits into from
Sep 11, 2023

Conversation

ijrsvt
Copy link
Contributor

@ijrsvt ijrsvt commented Aug 16, 2023

Why are these changes needed?

Ray no longer needs kubectl. It was used for the old "kubernetes cluster launcher." KubeRay does not require that Kubectl is installed to run.
Kubernetes moved to a new location to host packages https://kubernetes.io/blog/2023/08/15/pkgs-k8s-io-introduction/
The old package locations did not support newer versions of kubectl :(

Related issue number

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
    • I've added any new APIs to the API Reference. For example, if I added a
      method in Tune, I've added it in doc/source/tune/api/ under the
      corresponding .rst file.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

Signed-off-by: Ian Rodney <ian.rodney@gmail.com>
Copy link
Collaborator

@aslonnie aslonnie left a comment

Choose a reason for hiding this comment

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

where do we need kubectl today?

@ijrsvt
Copy link
Contributor Author

ijrsvt commented Aug 17, 2023

Oh, good point @aslonnie. @kevin85421 , do we need Kubectl in the Ray containers still?

@kevin85421
Copy link
Member

do we need Kubectl in the Ray containers still?

No, to the best of my knowledge. In Ray, only the Ray Autoscaler interacts with the Kubernetes cluster. However, it uses the curl CLI to send requests to the Kubernetes API Server for cluster information, instead of using kubectl.

@ijrsvt ijrsvt requested a review from aslonnie September 11, 2023 13:48
Copy link
Collaborator

@aslonnie aslonnie left a comment

Choose a reason for hiding this comment

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

update PR title and description?

@ijrsvt ijrsvt changed the title [Docker] Install Newer Kubectl Version [Docker] Remove Kubectl Sep 11, 2023
@ijrsvt
Copy link
Contributor Author

ijrsvt commented Sep 11, 2023 via email

@aslonnie aslonnie merged commit b57390a into ray-project:master Sep 11, 2023
@aslonnie
Copy link
Collaborator

merged, but some of the k8s chaos tests are failing?

https://buildkite.com/ray-project/oss-ci-build-pr/builds/35832#018a84be-42b6-4393-9a71-c9d6b633fde4/7582-7618

not sure if I made a mistake or not..

jimthompson5802 pushed a commit to jimthompson5802/ray that referenced this pull request Sep 12, 2023
Ray no longer needs kubectl. It was used for the old "kubernetes cluster launcher." KubeRay does not require that Kubectl is installed to run.

Signed-off-by: Ian Rodney <ian.rodney@gmail.com>
Signed-off-by: Jim Thompson <jimthompson5802@gmail.com>
vymao pushed a commit to vymao/ray that referenced this pull request Oct 11, 2023
Ray no longer needs kubectl. It was used for the old "kubernetes cluster launcher." KubeRay does not require that Kubectl is installed to run.

Signed-off-by: Ian Rodney <ian.rodney@gmail.com>
Signed-off-by: Victor <vctr.y.m@example.com>
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