You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: internal/deployers/eksapi/deployer.go
+20-19Lines changed: 20 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -67,25 +67,26 @@ type deployerOptions struct {
67
67
EmitMetricsbool`flag:"emit-metrics" desc:"Record and emit metrics to CloudWatch"`
68
68
ExpectedAMIstring`flag:"expected-ami" desc:"Expected AMI of nodes. Up will fail if the actual nodes are not utilizing the expected AMI. Defaults to --ami if defined."`
69
69
// TODO: remove this once it's no longer used in downstream jobs
70
-
GenerateSSHKeybool`flag:"generate-ssh-key" desc:"Generate an SSH key to use for tests. The generated key should not be used in production, as it will not have a passphrase."`
71
-
InstanceTypes []string`flag:"instance-types" desc:"Node instance types. Cannot be used with --instance-type-archs"`
72
-
InstanceTypeArchs []string`flag:"instance-type-archs" desc:"Use default node instance types for specific architectures. Cannot be used with --instance-types"`
73
-
IPFamilystring`flag:"ip-family" desc:"IP family for the cluster (ipv4 or ipv6)"`
74
-
KubeconfigPathstring`flag:"kubeconfig" desc:"Path to kubeconfig"`
LogBucketstring`flag:"log-bucket" desc:"S3 bucket for storing logs for each run. If empty, logs will not be stored."`
77
-
NodeCreationTimeout time.Duration`flag:"node-creation-timeout" desc:"Time to wait for nodes to be created/launched. This should consider instance availability."`
78
-
NodeReadyTimeout time.Duration`flag:"node-ready-timeout" desc:"Time to wait for all nodes to become ready"`
79
-
Nodesint`flag:"nodes" desc:"number of nodes to launch in cluster"`
80
-
NodeNameStrategystring`flag:"node-name-strategy" desc:"Specifies the naming strategy for node. Allowed values: ['SessionName', 'EC2PrivateDNSName'], default to EC2PrivateDNSName"`
81
-
Regionstring`flag:"region" desc:"AWS region for EKS cluster"`
82
-
SkipNodeReadinessChecksbool`flag:"skip-node-readiness-checks" desc:"Skip performing readiness checks on created nodes"`
83
-
StaticClusterNamestring`flag:"static-cluster-name" desc:"Optional when re-use existing cluster and node group by querying the kubeconfig and run test"`
84
-
TuneVPCCNIbool`flag:"tune-vpc-cni" desc:"Apply tuning parameters to the VPC CNI DaemonSet"`
85
-
UnmanagedNodesbool`flag:"unmanaged-nodes" desc:"Use an AutoScalingGroup instead of an EKS-managed nodegroup. Requires --ami"`
86
-
UpClusterHeaders []string`flag:"up-cluster-header" desc:"Additional header to add to eks:CreateCluster requests. Specified in the same format as curl's -H flag."`
87
-
UserDataFormatstring`flag:"user-data-format" desc:"Format of the node instance user data"`
88
-
ZoneTypestring`flag:"zone-type" desc:"Type of zone to use for infrastructure (availability-zone, local-zone, etc). Defaults to availability-zone"`
70
+
GenerateSSHKeybool`flag:"generate-ssh-key" desc:"Generate an SSH key to use for tests. The generated key should not be used in production, as it will not have a passphrase."`
71
+
InstanceTypes []string`flag:"instance-types" desc:"Node instance types. Cannot be used with --instance-type-archs"`
72
+
InstanceTypeArchs []string`flag:"instance-type-archs" desc:"Use default node instance types for specific architectures. Cannot be used with --instance-types"`
73
+
IPFamilystring`flag:"ip-family" desc:"IP family for the cluster (ipv4 or ipv6)"`
74
+
KubeconfigPathstring`flag:"kubeconfig" desc:"Path to kubeconfig"`
LogBucketstring`flag:"log-bucket" desc:"S3 bucket for storing logs for each run. If empty, logs will not be stored."`
77
+
NodeadmFeatureGates []string`flag:"nodeadm-feature-gates" desc:"Feature gates to enable for nodeadm (key=value pairs)"`
78
+
NodeCreationTimeout time.Duration`flag:"node-creation-timeout" desc:"Time to wait for nodes to be created/launched. This should consider instance availability."`
79
+
NodeReadyTimeout time.Duration`flag:"node-ready-timeout" desc:"Time to wait for all nodes to become ready"`
80
+
Nodesint`flag:"nodes" desc:"number of nodes to launch in cluster"`
81
+
NodeNameStrategystring`flag:"node-name-strategy" desc:"Specifies the naming strategy for node. Allowed values: ['SessionName', 'EC2PrivateDNSName'], default to EC2PrivateDNSName"`
82
+
Regionstring`flag:"region" desc:"AWS region for EKS cluster"`
83
+
SkipNodeReadinessChecksbool`flag:"skip-node-readiness-checks" desc:"Skip performing readiness checks on created nodes"`
84
+
StaticClusterNamestring`flag:"static-cluster-name" desc:"Optional when re-use existing cluster and node group by querying the kubeconfig and run test"`
85
+
TuneVPCCNIbool`flag:"tune-vpc-cni" desc:"Apply tuning parameters to the VPC CNI DaemonSet"`
86
+
UnmanagedNodesbool`flag:"unmanaged-nodes" desc:"Use an AutoScalingGroup instead of an EKS-managed nodegroup. Requires --ami"`
87
+
UpClusterHeaders []string`flag:"up-cluster-header" desc:"Additional header to add to eks:CreateCluster requests. Specified in the same format as curl's -H flag."`
88
+
UserDataFormatstring`flag:"user-data-format" desc:"Format of the node instance user data"`
89
+
ZoneTypestring`flag:"zone-type" desc:"Type of zone to use for infrastructure (availability-zone, local-zone, etc). Defaults to availability-zone"`
89
90
}
90
91
91
92
// NewDeployer implements deployer.New for EKS using the EKS (and other AWS) API(s) directly (no cloudformation)
0 commit comments