1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-21 05:55:35 +00:00
catalog/task/eks-cluster-teardown/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 Add EKS cluster create/teardown tasks 2021-01-14 13:14:15 +00:00
eks-cluster-teardown.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 Teardown

The Task eks-cluster-teardown can be used to teardown an EKS cluster in an AWS account, using the eksctl command.

Parameters

  • cluster-name: The name of the EKS cluster which will be teared down. (required)
  • region: The region where the cluster is in. (default:us-west-2)

Workspaces

  • secrets: A Secret containing the AWS credentials to run the teardown.

Secret

AWS credentials and config both should be provided in the form of secret.

This example can be referred to create aws-credentials.

Refer this guide for setting up AWS Credentials and Region.

The AWS user/role should have the minimum IAM policies defined by eksctl.

Platforms

The Task can be run on linux/amd64 platform.

Usage

See samples/teardown-eks-cluster.yaml for an example of a TaskRun that tears down an EKS cluster.