Coder Social home page Coder Social logo

Comments (10)

dgoodwin avatar dgoodwin commented on June 26, 2024 1

I'm quite new to all this but my current understanding was that on a typical node you will install kubelet, but have no need for kubectl on those hosts, so they should not depend on each other at all.

I'm not really familiar with CNI or the networking, but I thought it was an optional component and kept it off the kubelet deps for time being.

from release.

luxas avatar luxas commented on June 26, 2024 1

Why not?

I see kubectl as a not-so-heavy-dep, and the most of users want it on their machines.
If they're installing kubeadm which is a CLI tool, kubectl CLI tool is handy to have as well.

from release.

pires avatar pires commented on June 26, 2024

kubelet doesn't have such dependencies, so I'm in favor of removal.

from release.

mikedanese avatar mikedanese commented on June 26, 2024

I think we should depend on kubernetes-cni, but I don't think we should depend on kubectl. kubernetes-cni is basically required for core networking functionality like running flannel. e.g. we depend on socat even though port forwarding is an "optional" feature. kubectl on the other hand should only be installed on the master.

We need to do a pass and figure out how we can keep the rpms and debs from drifting.

from release.

luxas avatar luxas commented on June 26, 2024

for me:
kubelet should depend on kubernetes-cni, but not kubectl
kubeadm should depend on both kubectl and kubelet

from release.

yoojinl avatar yoojinl commented on June 26, 2024

@luxas Why kubeadm should depend on kubectl?

from release.

errordeveloper avatar errordeveloper commented on June 26, 2024

@RustyRobot the instructions in kubeadm docs will refer to kubectl (e.g.
for installing network add-on), so it would be sort of sub-optimal to not
pull it in.

@luxas I recall you have captured all kubelet deps, has that been reflected
in out package specs?

On Tue, 20 Sep 2016, 16:16 Evgeny L, [email protected] wrote:

@luxas https://github.com/luxas Why kubeadm should depend on kubectl?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#97 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPWS91-lU9RTsWGQc79yUTih59FilRfks5qr_i9gaJpZM4KBfxN
.

from release.

luxas avatar luxas commented on June 26, 2024

Documented here: kubernetes/kubernetes#26093 (comment)

I think I covered the most of them already: https://github.com/kubernetes/release/blob/master/debian/xenial/kubelet/debian/control#L13

from release.

yoojinl avatar yoojinl commented on June 26, 2024

@luxas

Why not?

Well, because it's hard-dependency, which is not required for kubeadm to work.

I see kubectl as a not-so-heavy-dep, and the most of users want it on their machines.
If they're installing kubeadm which is a CLI tool, kubectl CLI tool is handy to have as well.

kubeadm is used to bootstrap the cluster, and there are a couple of servers from which cluster management is performed not from all the minions.

@errordeveloper

the instructions in kubeadm docs will refer to kubectl (e.g. for installing network add-on), so it would be sort of sub-optimal to not pull it in.

We can write in the instruction on the nodes which are required sudo apt-get install kubeadm kubectl

from release.

yoojinl avatar yoojinl commented on June 26, 2024

If you think that it is what we should do (add kubectl dependency for kubeadm) here is a patch for that #109.

from release.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.