简体   繁体   English

EKS Nodegroup 真的有必要吗

[英]Is EKS Nodegroup really necessary

I have a few questions on EKS node groups.我有几个关于 EKS 节点组的问题。

  1. I dont understand the concept of Node group and why is it required.我不明白节点组的概念以及为什么需要它。 Can't we create an EC2 and run kubeadm join for joining EC2 node to EKS Cluster.我们不能创建一个 EC2 并运行 kubeadm join 以将 EC2 节点加入 EKS 集群。 What advantage does node group hold.节点组有什么优势。

  2. Does node groups (be it managed or self-managed) have to exist in same VPC of EKS cluster.节点组(托管或自我管理)是否必须存在于 EKS 集群的同一 VPC 中。 Is it not possible to create node group in another VPC.是否不能在另一个 VPC 中创建节点组。 If so how?如果是这样怎么办?

  1. managed node groups is a way to let AWS manage part of the lifecycle of the Kube.netes nodes. 托管节点组是一种让 AWS 管理 Kube.netes 节点生命周期的一部分的方法。 For sure you are allowed to continue to configure self managed nodes if you need/want to.当然,如果需要/想要,您可以继续配置自我管理的节点 To be fair you can also spin up a few EC2 instances and configure your own K8s control plane.公平地说,您还可以启动一些 EC2 实例并配置您自己的 K8s 控制平面。 It boils down to how much you wanted managed Vs how much you want to do yourself.它归结为你想要管理多少与你想要自己做多少。 The other extreme on this spectrum would be to use Fargate which is a fully managed experience (where there are no nodes to scale, configure, no AMIs etc).这个范围内的另一个极端是使用Fargate ,这是一种完全托管的体验(没有可扩展、配置的节点,没有 AMI 等)。
  2. the EKS cluster (control plane) lives in a separate AWS managed account/VPC. EKS 集群(控制平面)位于单独的 AWS 托管账户/VPC 中。 See here .这里 When you deploy a cluster EKS will ask you which su.nets (and which VPC) you want the EKS cluster to manifest itself (through ENIs that get plugged into your VPC/su.nets).当您部署集群时,EKS 会询问您希望 EKS 集群显示其自身的哪个 su.net(以及哪个 VPC)(通过插入您的 VPC/su.net 的 ENI)。 That VPC is where your self managed workers, your managed node groups and your Fargate profiles need to be plugged into.该 VPC 是您的自我管理工作人员、托管节点组和 Fargate 配置文件需要插入的地方。 You can't use another VPC to add capacity to the cluster.您不能使用另一个 VPC 来向集群添加容量。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用 cdk 升级 eks 默认节点组版本? - how do i upgrade eks default nodegroup version using cdk? AWS EKS NodeGroup“创建失败”:实例未能加入 kubernetes 集群 - AWS EKS NodeGroup "Create failed": Instances failed to join the kubernetes cluster 如何使用 cdk 升级我的自定义 eks 节点组版本? - how do i upgrade my custom eks nodegroup version using cdk? 通过 CloudFormation 在启动模板中具有容量预留的 EKS 托管节点组不使用容量预留 - EKS Managed Nodegroup with Capacity Reservation in Launch Template through CloudFormation does not use Capacity Reservation 将 pod 从一个包含 2 个节点的节点组移动到另一个包含 3 个节点的节点组 - Move pods from one nodegroup of 2 nodes to another nodegroup of 3 nodes 在 AWS EKS 中自动扩展 POD - Autoscaling of PODs in AWS EKS 带有 EKS 集群的 PV 和 PVC - PV & PVC with EKS Cluster 如何删除托管节点组并保留用于另一个集群中其他节点组的角色? - How can i delete a managed node group and keep the role that is used for other nodegroup in another cluster? EKS 节点与 EKS Fargate pod 之间的通信 - Communication between EKS node and EKS Fargate pod Argo cd 与 eks fargate - Argo cd with eks fargate
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM