Skip to content

Instantly share code, notes, and snippets.

@benwaffle
Last active June 23, 2021 22:38
Show Gist options
  • Save benwaffle/d9a9c32e80df6dcb7df7c0d787631c22 to your computer and use it in GitHub Desktop.
Save benwaffle/d9a9c32e80df6dcb7df7c0d787631c22 to your computer and use it in GitHub Desktop.
❯ eksctl get nodegroup --cluster ${CLUSTER_NAME} -v 4
2021-06-23 18:26:45 [▶] role ARN for the current session is "arn:aws:sts::<account-number>:assumed-role/DeveloperAdmin/me@me.com"
2021-06-23 18:26:45 [ℹ] eksctl version 0.54.0
2021-06-23 18:26:45 [ℹ] using region us-east-1
2021-06-23 18:26:45 [▶] cluster = {
Arn: "arn:aws:eks:us-east-1:<account-number>:cluster/CLUSTER_NAME",
CertificateAuthority: {
Data: "..."
},
CreatedAt: 2021-06-23 21:23:33.914 +0000 UTC,
EncryptionConfig: [{
Provider: {
KeyArn: "..."
},
Resources: ["secrets"]
}],
Endpoint: "...",
Identity: {
Oidc: {
Issuer: "..."
}
},
KubernetesNetworkConfig: {
ServiceIpv4Cidr: "172.20.0.0/16"
},
Logging: {
ClusterLogging: [{
Enabled: false,
Types: [
"api",
"audit",
"authenticator",
"controllerManager",
"scheduler"
]
}]
},
Name: "CLUSTER_NAME",
PlatformVersion: "eks.8",
ResourcesVpcConfig: {
ClusterSecurityGroupId: "sg-0e...",
EndpointPrivateAccess: false,
EndpointPublicAccess: true,
PublicAccessCidrs: ["0.0.0.0/0"],
SecurityGroupIds: ["sg-0a..."],
SubnetIds: [
"subnet-3...",
"subnet-6...",
"subnet-0...",
"subnet-0..."
],
VpcId: "vpc-0a..."
},
RoleArn: "arn:aws:iam::<account-number>:role/eksctl-CLUSTER_NAME-cluster-ServiceRole-IX...",
Status: "ACTIVE",
Tags: {
},
Version: "1.16"
}
2021-06-23 18:26:46 [!] retryable error (Throttling: Rate exceeded
status code: 400, request id: 1) from cloudformation/DescribeStacks - will retry after delay of 9.269774058s
2021-06-23 18:26:55 [▶] nodegroups = [{
Capabilities: ["CAPABILITY_IAM"],
CreationTime: 2021-06-23 21:40:59.344 +0000 UTC,
Description: "EKS nodes (AMI family: AmazonLinux2, SSH access: true, private networking: true) [created and managed by eksctl]",
DisableRollback: false,
DriftInformation: {
StackDriftStatus: "NOT_CHECKED"
},
EnableTerminationProtection: false,
Outputs: [
{
OutputKey: "FeaturePrivateNetworking",
OutputValue: "true"
},
{
ExportName: "eksctl-CLUSTER_NAME-nodegroup-workers::InstanceRoleARN",
OutputKey: "InstanceRoleARN",
OutputValue: "arn:aws:iam::<account-number>:role/eksctl-CLUSTER_NAME-nodegro-NodeInstanceRole-7..."
},
{
OutputKey: "FeatureLocalSecurityGroup",
OutputValue: "true"
},
{
ExportName: "eksctl-CLUSTER_NAME-nodegroup-workers::InstanceProfileARN",
OutputKey: "InstanceProfileARN",
OutputValue: "arn:aws:iam::<account-number>:instance-profile/eksctl-CLUSTER_NAME-nodegroup-workers-NodeInstanceProfile-4..."
},
{
OutputKey: "FeatureSharedSecurityGroup",
OutputValue: "true"
}
],
RollbackConfiguration: {
},
StackId: "arn:aws:cloudformation:us-east-1:<account-number>:stack/eksctl-CLUSTER_NAME-nodegroup-workers/b...",
StackName: "eksctl-CLUSTER_NAME-nodegroup-workers",
StackStatus: "CREATE_COMPLETE",
Tags: [
{
Key: "alpha.eksctl.io/cluster-name",
Value: "CLUSTER_NAME"
},
{
Key: "alpha.eksctl.io/nodegroup-name",
Value: "workers"
},
{
Key: "k8s.io/cluster-autoscaler/CLUSTER_NAME",
Value: "1"
},
{
Key: "eksctl.cluster.k8s.io/v1alpha1/cluster-name",
Value: "CLUSTER_NAME"
},
{
Key: "alpha.eksctl.io/nodegroup-type",
Value: "unmanaged"
},
{
Key: "k8s.io/cluster-autoscaler/enabled",
Value: "1"
},
{
Key: "alpha.eksctl.io/eksctl-version",
Value: "0.54.0"
},
{
Key: "eksctl.io/v1alpha2/nodegroup-name",
Value: "workers"
}
]
} {
Capabilities: ["CAPABILITY_IAM"],
CreationTime: 2021-06-23 21:40:59.342 +0000 UTC,
Description: "EKS nodes (AMI family: AmazonLinux2, SSH access: true, private networking: true) [created and managed by eksctl]",
DisableRollback: false,
DriftInformation: {
StackDriftStatus: "NOT_CHECKED"
},
EnableTerminationProtection: false,
Outputs: [
{
OutputKey: "FeaturePrivateNetworking",
OutputValue: "true"
},
{
ExportName: "eksctl-CLUSTER_NAME-nodegroup-workers-spot::InstanceRoleARN",
OutputKey: "InstanceRoleARN",
OutputValue: "arn:aws:iam::<account-number>:role/eksctl-CLUSTER_NAME-nodegro-NodeInstanceRole-1..."
},
{
OutputKey: "FeatureLocalSecurityGroup",
OutputValue: "true"
},
{
ExportName: "eksctl-CLUSTER_NAME-nodegroup-workers-spot::InstanceProfileARN",
OutputKey: "InstanceProfileARN",
OutputValue: "arn:aws:iam::<account-number>:instance-profile/eksctl-CLUSTER_NAME-nodegroup-workers-spot-NodeInstanceProfile-1..."
},
{
OutputKey: "FeatureSharedSecurityGroup",
OutputValue: "true"
}
],
RollbackConfiguration: {
},
StackId: "arn:aws:cloudformation:us-east-1:<account-number>:stack/eksctl-CLUSTER_NAME-nodegroup-workers-spot/b...",
StackName: "eksctl-CLUSTER_NAME-nodegroup-workers-spot",
StackStatus: "CREATE_COMPLETE",
Tags: [
{
Key: "k8s.io/cluster-autoscaler/node-template/taint/node-role.kubernetes.io/workers-spot",
Value: "true:NoSchedule"
},
{
Key: "alpha.eksctl.io/cluster-name",
Value: "CLUSTER_NAME"
},
{
Key: "alpha.eksctl.io/nodegroup-name",
Value: "workers-spot"
},
{
Key: "k8s.io/cluster-autoscaler/CLUSTER_NAME",
Value: "1"
},
{
Key: "k8s.io/cluster-autoscaler/node-template/label/role",
Value: "workers-spot"
},
{
Key: "eksctl.cluster.k8s.io/v1alpha1/cluster-name",
Value: "CLUSTER_NAME"
},
{
Key: "alpha.eksctl.io/nodegroup-type",
Value: "unmanaged"
},
{
Key: "k8s.io/cluster-autoscaler/enabled",
Value: "1"
},
{
Key: "alpha.eksctl.io/eksctl-version",
Value: "0.54.0"
},
{
Key: "eksctl.io/v1alpha2/nodegroup-name",
Value: "workers-spot"
}
]
} {
Capabilities: ["CAPABILITY_IAM"],
CreationTime: 2021-06-23 21:40:59.331 +0000 UTC,
Description: "EKS nodes (AMI family: AmazonLinux2, SSH access: true, private networking: true) [created and managed by eksctl]",
DisableRollback: false,
DriftInformation: {
StackDriftStatus: "NOT_CHECKED"
},
EnableTerminationProtection: false,
Outputs: [
{
OutputKey: "FeaturePrivateNetworking",
OutputValue: "true"
},
{
ExportName: "eksctl-CLUSTER_NAME-nodegroup-workers-gpu::InstanceRoleARN",
OutputKey: "InstanceRoleARN",
OutputValue: "arn:aws:iam::<account-number>:role/eksctl-CLUSTER_NAME-nodegro-NodeInstanceRole-1..."
},
{
OutputKey: "FeatureLocalSecurityGroup",
OutputValue: "true"
},
{
ExportName: "eksctl-CLUSTER_NAME-nodegroup-workers-gpu::InstanceProfileARN",
OutputKey: "InstanceProfileARN",
OutputValue: "arn:aws:iam::<account-number>:instance-profile/eksctl-CLUSTER_NAME-nodegroup-workers-gpu-NodeInstanceProfile-4..."
},
{
OutputKey: "FeatureSharedSecurityGroup",
OutputValue: "true"
}
],
RollbackConfiguration: {
},
StackId: "arn:aws:cloudformation:us-east-1:<account-number>:stack/eksctl-CLUSTER_NAME-nodegroup-workers-gpu/b...",
StackName: "eksctl-CLUSTER_NAME-nodegroup-workers-gpu",
StackStatus: "CREATE_COMPLETE",
Tags: [
{
Key: "k8s.io/cluster-autoscaler/node-template/label/k8s.amazonaws.com/accelerator",
Value: "nvidia-tesla-k80"
},
{
Key: "alpha.eksctl.io/cluster-name",
Value: "CLUSTER_NAME"
},
{
Key: "alpha.eksctl.io/nodegroup-name",
Value: "workers-gpu"
},
{
Key: "k8s.io/cluster-autoscaler/node-template/taint/nvidia.com/gpu",
Value: "true:NoSchedule"
},
{
Key: "k8s.io/cluster-autoscaler/node-template/resources/nvidia.com/gpu",
Value: "1"
},
{
Key: "k8s.io/cluster-autoscaler/CLUSTER_NAME",
Value: "1"
},
{
Key: "k8s.io/cluster-autoscaler/node-template/label/role",
Value: "workers-gpu"
},
{
Key: "eksctl.cluster.k8s.io/v1alpha1/cluster-name",
Value: "CLUSTER_NAME"
},
{
Key: "alpha.eksctl.io/nodegroup-type",
Value: "unmanaged"
},
{
Key: "k8s.io/cluster-autoscaler/enabled",
Value: "1"
},
{
Key: "alpha.eksctl.io/eksctl-version",
Value: "0.54.0"
},
{
Key: "eksctl.io/v1alpha2/nodegroup-name",
Value: "workers-gpu"
}
]
} {
Capabilities: ["CAPABILITY_IAM"],
CreationTime: 2021-06-23 21:40:59.328 +0000 UTC,
Description: "EKS nodes (AMI family: AmazonLinux2, SSH access: true, private networking: true) [created and managed by eksctl]",
DisableRollback: false,
DriftInformation: {
StackDriftStatus: "NOT_CHECKED"
},
EnableTerminationProtection: false,
Outputs: [
{
OutputKey: "FeaturePrivateNetworking",
OutputValue: "true"
},
{
ExportName: "eksctl-CLUSTER_NAME-nodegroup-workers-lg::InstanceRoleARN",
OutputKey: "InstanceRoleARN",
OutputValue: "arn:aws:iam::<account-number>:role/eksctl-CLUSTER_NAME-nodegro-NodeInstanceRole-5..."
},
{
OutputKey: "FeatureLocalSecurityGroup",
OutputValue: "true"
},
{
ExportName: "eksctl-CLUSTER_NAME-nodegroup-workers-lg::InstanceProfileARN",
OutputKey: "InstanceProfileARN",
OutputValue: "arn:aws:iam::<account-number>:instance-profile/eksctl-CLUSTER_NAME-nodegroup-workers-lg-NodeInstanceProfile-13..."
},
{
OutputKey: "FeatureSharedSecurityGroup",
OutputValue: "true"
}
],
RollbackConfiguration: {
},
StackId: "arn:aws:cloudformation:us-east-1:<account-number>:stack/eksctl-CLUSTER_NAME-nodegroup-workers-lg/b...",
StackName: "eksctl-CLUSTER_NAME-nodegroup-workers-lg",
StackStatus: "CREATE_COMPLETE",
Tags: [
{
Key: "alpha.eksctl.io/cluster-name",
Value: "CLUSTER_NAME"
},
{
Key: "alpha.eksctl.io/nodegroup-name",
Value: "workers-lg"
},
{
Key: "k8s.io/cluster-autoscaler/CLUSTER_NAME",
Value: "1"
},
{
Key: "k8s.io/cluster-autoscaler/node-template/label/role",
Value: "workers-lg"
},
{
Key: "eksctl.cluster.k8s.io/v1alpha1/cluster-name",
Value: "CLUSTER_NAME"
},
{
Key: "k8s.io/cluster-autoscaler/node-template/taint/node-role.kubernetes.io/workers-lg",
Value: "true:NoSchedule"
},
{
Key: "alpha.eksctl.io/nodegroup-type",
Value: "unmanaged"
},
{
Key: "k8s.io/cluster-autoscaler/enabled",
Value: "1"
},
{
Key: "alpha.eksctl.io/eksctl-version",
Value: "0.54.0"
},
{
Key: "eksctl.io/v1alpha2/nodegroup-name",
Value: "workers-lg"
}
]
} {
Capabilities: ["CAPABILITY_IAM"],
CreationTime: 2021-06-23 21:40:59.319 +0000 UTC,
Description: "EKS nodes (AMI family: AmazonLinux2, SSH access: true, private networking: true) [created and managed by eksctl]",
DisableRollback: false,
DriftInformation: {
StackDriftStatus: "NOT_CHECKED"
},
EnableTerminationProtection: false,
Outputs: [
{
OutputKey: "FeaturePrivateNetworking",
OutputValue: "true"
},
{
ExportName: "eksctl-CLUSTER_NAME-nodegroup-workers-spot-lg::InstanceRoleARN",
OutputKey: "InstanceRoleARN",
OutputValue: "arn:aws:iam::<account-number>:role/eksctl-CLUSTER_NAME-nodegro-NodeInstanceRole-1..."
},
{
OutputKey: "FeatureLocalSecurityGroup",
OutputValue: "true"
},
{
ExportName: "eksctl-CLUSTER_NAME-nodegroup-workers-spot-lg::InstanceProfileARN",
OutputKey: "InstanceProfileARN",
OutputValue: "arn:aws:iam::<account-number>:instance-profile/eksctl-CLUSTER_NAME-nodegroup-workers-spot-lg-NodeInstanceProfile-1H..."
},
{
OutputKey: "FeatureSharedSecurityGroup",
OutputValue: "true"
}
],
RollbackConfiguration: {
},
StackId: "arn:aws:cloudformation:us-east-1:<account-number>:stack/eksctl-CLUSTER_NAME-nodegroup-workers-spot-lg/b...",
StackName: "eksctl-CLUSTER_NAME-nodegroup-workers-spot-lg",
StackStatus: "CREATE_COMPLETE",
Tags: [
{
Key: "k8s.io/cluster-autoscaler/node-template/taint/node-role.kubernetes.io/workers-spot",
Value: "true:NoSchedule"
},
{
Key: "alpha.eksctl.io/cluster-name",
Value: "CLUSTER_NAME"
},
{
Key: "alpha.eksctl.io/nodegroup-name",
Value: "workers-spot-lg"
},
{
Key: "k8s.io/cluster-autoscaler/CLUSTER_NAME",
Value: "1"
},
{
Key: "k8s.io/cluster-autoscaler/node-template/label/role",
Value: "workers-spot-lg"
},
{
Key: "eksctl.cluster.k8s.io/v1alpha1/cluster-name",
Value: "CLUSTER_NAME"
},
{
Key: "alpha.eksctl.io/nodegroup-type",
Value: "unmanaged"
},
{
Key: "k8s.io/cluster-autoscaler/enabled",
Value: "1"
},
{
Key: "alpha.eksctl.io/eksctl-version",
Value: "0.54.0"
},
{
Key: "eksctl.io/v1alpha2/nodegroup-name",
Value: "workers-spot-lg"
}
]
} {
Capabilities: ["CAPABILITY_IAM"],
CreationTime: 2021-06-23 21:40:59.26 +0000 UTC,
Description: "EKS nodes (AMI family: AmazonLinux2, SSH access: true, private networking: true) [created and managed by eksctl]",
DisableRollback: false,
DriftInformation: {
StackDriftStatus: "NOT_CHECKED"
},
EnableTerminationProtection: false,
Outputs: [
{
OutputKey: "FeaturePrivateNetworking",
OutputValue: "true"
},
{
ExportName: "eksctl-CLUSTER_NAME-nodegroup-builders-jenkins::InstanceRoleARN",
OutputKey: "InstanceRoleARN",
OutputValue: "arn:aws:iam::<account-number>:role/eksctl-CLUSTER_NAME-nodegro-NodeInstanceRole-S..."
},
{
OutputKey: "FeatureLocalSecurityGroup",
OutputValue: "true"
},
{
ExportName: "eksctl-CLUSTER_NAME-nodegroup-builders-jenkins::InstanceProfileARN",
OutputKey: "InstanceProfileARN",
OutputValue: "arn:aws:iam::<account-number>:instance-profile/eksctl-CLUSTER_NAME-nodegroup-builders-jenkins-NodeInstanceProfile-1..."
},
{
OutputKey: "FeatureSharedSecurityGroup",
OutputValue: "true"
}
],
RollbackConfiguration: {
},
StackId: "arn:aws:cloudformation:us-east-1:<account-number>:stack/eksctl-CLUSTER_NAME-nodegroup-builders-jenkins/b...",
StackName: "eksctl-CLUSTER_NAME-nodegroup-builders-jenkins",
StackStatus: "CREATE_COMPLETE",
Tags: [
{
Key: "k8s.io/cluster-autoscaler/node-template/taint/node-role.kubernetes.io/builders-jenkins",
Value: "true:NoSchedule"
},
{
Key: "alpha.eksctl.io/cluster-name",
Value: "CLUSTER_NAME"
},
{
Key: "alpha.eksctl.io/nodegroup-name",
Value: "builders-jenkins"
},
{
Key: "k8s.io/cluster-autoscaler/CLUSTER_NAME",
Value: "1"
},
{
Key: "k8s.io/cluster-autoscaler/node-template/label/role",
Value: "builders-jenkins"
},
{
Key: "eksctl.cluster.k8s.io/v1alpha1/cluster-name",
Value: "CLUSTER_NAME"
},
{
Key: "alpha.eksctl.io/nodegroup-type",
Value: "unmanaged"
},
{
Key: "k8s.io/cluster-autoscaler/enabled",
Value: "1"
},
{
Key: "alpha.eksctl.io/eksctl-version",
Value: "0.54.0"
},
{
Key: "eksctl.io/v1alpha2/nodegroup-name",
Value: "builders-jenkins"
}
]
}]
Error: getting nodegroup's kubernetes version: failed to list nodes: no nodes were found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment