Learn R Programming

paws.compute (version 0.7.0)

eks_create_fargate_profile: Creates an Fargate profile for your Amazon EKS cluster

Description

Creates an Fargate profile for your Amazon EKS cluster. You must have at least one Fargate profile in a cluster to be able to run pods on Fargate.

See https://www.paws-r-sdk.com/docs/eks_create_fargate_profile/ for full documentation.

Usage

eks_create_fargate_profile(
  fargateProfileName,
  clusterName,
  podExecutionRoleArn,
  subnets = NULL,
  selectors = NULL,
  clientRequestToken = NULL,
  tags = NULL
)

Arguments

fargateProfileName

[required] The name of the Fargate profile.

clusterName

[required] The name of your cluster.

podExecutionRoleArn

[required] The Amazon Resource Name (ARN) of the Pod execution role to use for a Pod that matches the selectors in the Fargate profile. The Pod execution role allows Fargate infrastructure to register with your cluster as a node, and it provides read access to Amazon ECR image repositories. For more information, see Pod execution role in the Amazon EKS User Guide.

subnets

The IDs of subnets to launch a Pod into. A Pod running on Fargate isn't assigned a public IP address, so only private subnets (with no direct route to an Internet Gateway) are accepted for this parameter.

selectors

The selectors to match for a Pod to use this Fargate profile. Each selector must have an associated Kubernetes namespace. Optionally, you can also specify labels for a namespace. You may specify up to five selectors in a Fargate profile.

clientRequestToken

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

tags

Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.