Learn R Programming

paws.compute (version 0.1.12)

eks_delete_fargate_profile: Deletes an AWS Fargate profile

Description

Deletes an AWS Fargate profile.

When you delete a Fargate profile, any pods running on Fargate that were created with the profile are deleted. If those pods match another Fargate profile, then they are scheduled on Fargate with that profile. If they no longer match any Fargate profiles, then they are not scheduled on Fargate and they may remain in a pending state.

Only one Fargate profile in a cluster can be in the DELETING status at a time. You must wait for a Fargate profile to finish deleting before you can delete any other profiles in that cluster.

Usage

eks_delete_fargate_profile(clusterName, fargateProfileName)

Value

A list with the following syntax:

list(
  fargateProfile = list(
    fargateProfileName = "string",
    fargateProfileArn = "string",
    clusterName = "string",
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    podExecutionRoleArn = "string",
    subnets = list(
      "string"
    ),
    selectors = list(
      list(
        namespace = "string",
        labels = list(
          "string"
        )
      )
    ),
    status = "CREATING"|"ACTIVE"|"DELETING"|"CREATE_FAILED"|"DELETE_FAILED",
    tags = list(
      "string"
    )
  )
)

Arguments

clusterName

[required] The name of the Amazon EKS cluster associated with the Fargate profile to delete.

fargateProfileName

[required] The name of the Fargate profile to delete.

Request syntax

svc$delete_fargate_profile(
  clusterName = "string",
  fargateProfileName = "string"
)