我正在尝试在 AWS EKS 组上创建一个新的节点组, 使用以下的调制调制 :
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
name: kf
region: us-east-1
vpc:
id: <VPC_ID>
securityGroup: <SG_ID>
subnets:
private:
private1:
id: <SUBNET1>
private2:
id: <SUBNET2>
private3:
id: <SUBNET3>
managedNodeGroups:
- name: managed-ng-gpu-g4dn
amiFamily: AmazonLinux2
ami: ami-072885db87a9a23d7
overrideBootstrapCommand: |
#!/bin/bash
/etc/eks/bootstrap.sh kf
instanceType: g4dn.xlarge
labels: { role: workers }
minSize: 0
maxSize: 4
volumeSize: 45
privateNetworking: true
当我去创建节点组时, 它从未加入该组。 未丢弃错误, 但节点组没有被排除, 也从未创建。 我不使用 cli 命令中的包含或排除参数, 只是 eksctl 创建节点组 -- config- file create_ nodegroup. yaml code >
2024-05-18 08:25:36 [ℹ] will use version 1.25 for new nodegroup(s) based on control plane version
2024-05-18 08:25:37 [!] no eksctl-managed CloudFormation stacks found for "kf", will attempt to create nodegroup(s) on non eksctl-managed cluster
2024-05-18 08:25:39 [ℹ] nodegroup "managed-ng-gpu-g4dn" will use "ami-072885db87a9a23d7" [AmazonLinux2/1.25]
2024-05-18 08:25:40 [ℹ] 3 existing nodegroup(s) (managed-ng-gpu-g4dn,managed-ng-gpu-p2-xlarge,managed-ondemand-cpu-20240503123911636500000009) will be excluded
2024-05-18 08:25:40 [ℹ] 1 task: { no tasks }
2024-05-18 08:25:40 [ℹ] no tasks
2024-05-18 08:25:40 [✔] created 0 nodegroup(s) in cluster "kf"
2024-05-18 08:25:40 [✔] created 0 managed nodegroup(s) in cluster "kf"
2024-05-18 08:25:40 [ℹ] checking security group configuration for all nodegroups
2024-05-18 08:25:40 [ℹ] all nodegroups have up-to-date cloudformation templates