Skip to content

Delete Addon

eks_delete_addon R Documentation

Deletes an Amazon EKS add-on

Description

Deletes an Amazon EKS add-on.

When you remove an add-on, it's deleted from the cluster. You can always manually start an add-on on the cluster using the Kubernetes API.

Usage

eks_delete_addon(clusterName, addonName, preserve)

Arguments

clusterName

[required] The name of your cluster.

addonName

[required] The name of the add-on. The name must match one of the names returned by list_addons .

preserve

Specifying this option preserves the add-on software on your cluster but Amazon EKS stops managing any settings for the add-on. If an IAM account is associated with the add-on, it isn't removed.

Value

A list with the following syntax:

list(
  addon = list(
    addonName = "string",
    clusterName = "string",
    status = "CREATING"|"ACTIVE"|"CREATE_FAILED"|"UPDATING"|"DELETING"|"DELETE_FAILED"|"DEGRADED"|"UPDATE_FAILED",
    addonVersion = "string",
    health = list(
      issues = list(
        list(
          code = "AccessDenied"|"InternalFailure"|"ClusterUnreachable"|"InsufficientNumberOfReplicas"|"ConfigurationConflict"|"AdmissionRequestDenied"|"UnsupportedAddonModification"|"K8sResourceNotFound"|"AddonSubscriptionNeeded"|"AddonPermissionFailure",
          message = "string",
          resourceIds = list(
            "string"
          )
        )
      )
    ),
    addonArn = "string",
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    modifiedAt = as.POSIXct(
      "2015-01-01"
    ),
    serviceAccountRoleArn = "string",
    tags = list(
      "string"
    ),
    publisher = "string",
    owner = "string",
    marketplaceInformation = list(
      productId = "string",
      productUrl = "string"
    ),
    configurationValues = "string",
    podIdentityAssociations = list(
      "string"
    )
  )
)

Request syntax

svc$delete_addon(
  clusterName = "string",
  addonName = "string",
  preserve = TRUE|FALSE
)