Skip to content

Delete Capability

eks_delete_capability R Documentation

Deletes a managed capability from your Amazon EKS cluster

Description

Deletes a managed capability from your Amazon EKS cluster. When you delete a capability, Amazon EKS removes the capability infrastructure but retains all resources that were managed by the capability.

Before deleting a capability, you should delete all Kubernetes resources that were created by the capability. After the capability is deleted, these resources become difficult to manage because the controller that managed them is no longer available. To delete resources before removing the capability, use ⁠kubectl delete⁠ or remove them through your GitOps workflow.

Usage

eks_delete_capability(clusterName, capabilityName)

Arguments

clusterName

[required] The name of the Amazon EKS cluster that contains the capability you want to delete.

capabilityName

[required] The name of the capability to delete.

Value

A list with the following syntax:

list(
  capability = list(
    capabilityName = "string",
    arn = "string",
    clusterName = "string",
    type = "ACK"|"KRO"|"ARGOCD",
    roleArn = "string",
    status = "CREATING"|"CREATE_FAILED"|"UPDATING"|"DELETING"|"DELETE_FAILED"|"ACTIVE"|"DEGRADED",
    version = "string",
    configuration = list(
      argoCd = list(
        namespace = "string",
        awsIdc = list(
          idcInstanceArn = "string",
          idcRegion = "string",
          idcManagedApplicationArn = "string"
        ),
        rbacRoleMappings = list(
          list(
            role = "ADMIN"|"EDITOR"|"VIEWER",
            identities = list(
              list(
                id = "string",
                type = "SSO_USER"|"SSO_GROUP"
              )
            )
          )
        ),
        networkAccess = list(
          vpceIds = list(
            "string"
          )
        ),
        serverUrl = "string"
      )
    ),
    tags = list(
      "string"
    ),
    health = list(
      issues = list(
        list(
          code = "AccessDenied"|"ClusterUnreachable",
          message = "string"
        )
      )
    ),
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    modifiedAt = as.POSIXct(
      "2015-01-01"
    ),
    deletePropagationPolicy = "RETAIN"
  )
)

Request syntax

svc$delete_capability(
  clusterName = "string",
  capabilityName = "string"
)