0

I have coded AWS instances that can serve as nodes where my containers will run. So by default each of these instances have docker installed. This part is working fine.

Eventually i would like to have all these containers managed by Kubernetes - preferably EKS. I don't have experience yet with EKS as yet but i think it would require that the instances im building have some kubernetes agent or client running on those instances. Im trying to figure out what those are.

Im looking at the documentation here: https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/#:~:text=Installing%20kubeadm%2C%20kubelet%20and%20kubectl,like%20starting%20pods%20and%20containers.

And it states the following:

> You will install these packages on all of your machines:
> 
> kubeadm: the command to bootstrap the cluster. 
> kubelet: the component that runs on all of the machines in your
> cluster and does things like starting pods and containers.  
> kubectl: the command line util to talk to your cluster.

This does not seem correct to me. From reading various sources, I was under the impression only kubelet and kube-proxy were needed to be installed on the nodes/instances. Can anyone confirm? If so, how would i install just the required libraries/components on these instances to be able to add them as nodes? is that something that should be coded or does EKS also handle that sort of thing?

The other part of this question is... Is it good practice to add existing instances where i may run containers, but that also has other applications and services running currently (directly on the host)?

thanks much

1
  • 1
    Sure, you only need kube-proxy and kubelet. But you're looking at the documentation for kubeadm, which bootstraps these components for you, and it also needs kubectl as a dependency. I don't remember off the top of my head what steps you'd need to take to setup manually, but it's possible. Commented Jul 20, 2023 at 10:35

0

You must log in to answer this question.

Browse other questions tagged .