Skip to content

Creates a virtual cluster

Description

Creates 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_create_virtual_cluster(name, containerProvider,
  clientToken, tags, securityConfigurationId, sessionEnabled,
  schedulerConfiguration)

Arguments

  • name

    [required] The specified name of the virtual cluster.

  • containerProvider

    [required] The container provider of the virtual cluster.

  • clientToken

    [required] The client token of the virtual cluster.

  • tags

    The tags assigned to the virtual cluster.

  • securityConfigurationId

    The ID of the security configuration.

  • sessionEnabled

    Indicates whether the virtual cluster has session support enabled.

  • schedulerConfiguration

    The scheduler configuration (concurrency and queue limits) to apply to the virtual cluster at creation time. When omitted, no limits are applied.

Value

A list with the following syntax:

list(
  id = "string",
  name = "string",
  arn = "string"
)

Request syntax

svc$create_virtual_cluster(
  name = "string",
  containerProvider = list(
    type = "EKS",
    id = "string",
    info = list(
      eksInfo = list(
        namespace = "string",
        nodeLabel = "string"
      )
    )
  ),
  clientToken = "string",
  tags = list(
    "string"
  ),
  securityConfigurationId = "string",
  sessionEnabled = TRUE|FALSE,
  schedulerConfiguration = list(
    maxInQueueJobRuns = 123,
    maxConcurrentJobRuns = 123
  )
)