1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-24 06:15:46 +00:00
catalog/task/eks-cluster-create/0.1
Yulia Gaponenko f4708d478e Add linux/amd64 platform annotation to the rest of the tasks
At this moment all tasks which can be executed on linux/s390x or
linux/ppc64le are tested and labelled accordingly.
The rest of the tasks can be labelled as `linux/amd64`, which
is default platform and where tasks are already tested via
default PR testing cycle.

Signed-off-by: Yulia Gaponenko <yulia.gaponenko1@de.ibm.com>
2021-10-29 17:08:38 +01:00
..
samples
eks-cluster-create.yaml Add linux/amd64 platform annotation to the rest of the tasks 2021-10-29 17:08:38 +01:00
README.md Add linux/amd64 platform annotation to the rest of the tasks 2021-10-29 17:08:38 +01:00

EKS Cluster Create

The Task eks-cluster-create can be used to create an EKS cluster in an AWS account, using the eksctl command, and fetch a kubeconfig that can be used (in a context with both kubectl and aws credentials available) to make requests to the cluster.

Parameters

  • cluster-name: The name of the EKS cluster which you want to spin. (required)
  • cluster-version: The EKS version to install. (default:1.17)
  • region: The region where the cluster is in. (default:us-west-2)
  • zones: The zones where the cluster is in. (default:us-west-2a,us-west-2b,us-west-2c)
  • nodegroup-name: The name of the nodegroup of the cluster. (default:linux-nodes)
  • node-type: The type of the EC2 instaces for the nodegroup of the cluster. (default:m5.xlarge)
  • desired-nodes: The desired number of nodes in the cluster. (default:4)
  • min-nodes: The minimum number of nodes in the cluster. (default:1)
  • max-nodes: The maximum number of nodes in the cluster. (default:4)

Workspaces

  • secrets: A Secret containing the AWS credentials to run the create.
  • kubeconfig: A workspace into which a kubeconfig file called kubeconfig will be written that will contain the information required to access the cluster. The kubeconfig will expect to use aws-iam-authenticator to authenticate, so in order for it to be used it must be run in a container which contains both kubectl and aws-iam-authenticator.

Platforms

The Task can be run on linux/amd64 platform.

Usage

See samples/create-eks-cluster.yaml for an example of a TaskRun that creates a EKS cluster and writes the kubeconfig to a PVC.