Skip to content

Delete Fargate Profile

eks_delete_fargate_profile R Documentation

Deletes an Fargate profile

Description

Deletes an Fargate profile.

When you delete a Fargate profile, any Pod running on Fargate that was created with the profile is deleted. If the Pod matches another Fargate profile, then it is scheduled on Fargate with that profile. If it no longer matches any Fargate profiles, then it's not scheduled on Fargate and 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)

Arguments

clusterName

[required] The name of your cluster.

fargateProfileName

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

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"
    ),
    health = list(
      issues = list(
        list(
          code = "PodExecutionRoleAlreadyInUse"|"AccessDenied"|"ClusterUnreachable"|"InternalFailure",
          message = "string",
          resourceIds = list(
            "string"
          )
        )
      )
    )
  )
)

Request syntax

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