Skip to content

Updates a virtual cluster

Description

Updates a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, update, describe, list and delete virtual clusters. They do not consume any additional resource in your system. A single virtual cluster maps to a single Kubernetes namespace. Given this relationship, you can model virtual clusters the same way you model Kubernetes namespaces to meet your requirements.

Usage

emrcontainers_update_virtual_cluster(id, schedulerConfiguration,
  clientToken)

Arguments

  • id

    [required] The ID of the virtual cluster to update.

  • schedulerConfiguration

    The scheduler configuration to apply to the virtual cluster. The new configuration fully replaces the existing one. If you omit a field, the corresponding limit is removed.

  • clientToken

    [required] A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.

Value

A list with the following syntax:

list(
  virtualCluster = list(
    id = "string",
    name = "string",
    arn = "string",
    state = "RUNNING"|"TERMINATING"|"TERMINATED"|"ARRESTED",
    containerProvider = list(
      type = "EKS",
      id = "string",
      info = list(
        eksInfo = list(
          namespace = "string",
          nodeLabel = "string"
        )
      )
    ),
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    tags = list(
      "string"
    ),
    securityConfigurationId = "string",
    sessionEnabled = TRUE|FALSE,
    schedulerConfiguration = list(
      maxInQueueJobRuns = 123,
      maxConcurrentJobRuns = 123
    ),
    schedulerStatus = list(
      currentInQueueJobRuns = 123,
      currentConcurrentJobRuns = 123
    )
  )
)

Request syntax

svc$update_virtual_cluster(
  id = "string",
  schedulerConfiguration = list(
    maxInQueueJobRuns = 123,
    maxConcurrentJobRuns = 123
  ),
  clientToken = "string"
)