Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateClusterCommand

Creates an Amazon EKS control plane.

The Amazon EKS control plane consists of control plane instances that run the Kubernetes software, such as etcd and the API server. The control plane runs in an account managed by Amazon Web Services, and the Kubernetes API is exposed by the Amazon EKS API server endpoint. Each Amazon EKS cluster control plane is single tenant and unique. It runs on its own set of Amazon EC2 instances.

The cluster control plane is provisioned across multiple Availability Zones and fronted by an Elastic Load Balancing Network Load Balancer. Amazon EKS also provisions elastic network interfaces in your VPC subnets to provide connectivity from the control plane instances to the nodes (for example, to support kubectl exec, logs, and proxy data flows).

Amazon EKS nodes run in your Amazon Web Services account and connect to your cluster's control plane over the Kubernetes API server endpoint and a certificate file that is created for your cluster.

In most cases, it takes several minutes to create a cluster. After you create an Amazon EKS cluster, you must configure your Kubernetes tooling to communicate with the API server and launch nodes into your cluster. For more information, see Managing Cluster Authentication and Launching Amazon EKS nodes in the Amazon EKS User Guide.

example

Use a bare-bones client and the command you need to make an API call.

import { EKSClient, CreateClusterCommand } from "@aws-sdk/client-eks"; // ES Modules import
// const { EKSClient, CreateClusterCommand } = require("@aws-sdk/client-eks"); // CommonJS import
const client = new EKSClient(config);
const command = new CreateClusterCommand(input);
const response = await client.send(command);
see

CreateClusterCommandInput for command's input shape.

see

CreateClusterCommandOutput for command's response shape.

see

config for EKSClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: CreateClusterCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<CreateClusterCommandInput, CreateClusterCommandOutput>