mirror of
https://github.com/tektoncd/catalog.git
synced 2024-11-24 06:15:46 +00:00
f4708d478e
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> |
||
---|---|---|
.. | ||
samples | ||
eks-cluster-create.yaml | ||
README.md |
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. Thekubeconfig
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 bothkubectl
andaws-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.