Data Object - CnsContainerCluster(vim.cns.ContainerCluster)

Property of
CnsVolumeMetadata
Extends
DynamicData
Since
vSAN API vSAN 6.7U3

Data Object Description

Data object to identify a container orchestrator cluster uniquely.
This data object is aimed to link the container volumes with their corresponding container orchestrator clusters.
One example of container orchestrator cluster is Kubernetes. Kubernetes cluster deployed on vSphere would consist of virtual machines on which cloud native application can be deployed using Kubernetes constructs.

Properties

Name Type Description
clusterFlavor*xsd:string

Flavor of this container orchestrator cluster. See CnsClusterFlavor for supported types and valid values for this field. If not set, the server will assume VANILLA cluster flavor.

Since vSAN API 7.0
clusterIdxsd:string

Cluster ID, provided by CNS client.
E.g.: vSphere volume plugin for Kubernetes cluster will be responsible for passing this container ID to CNS. This ID will get used to link a cluster with its container volumes, for filtering read operations.
CNS will not try to enforce uniqueness of this ID and will rely on clients to ensure uniqueness. Duplicate cluster ID will not cause any problem in provisioning workflow. But it will make cluster ID based filtering of volume less useful for end user.
For VANILLA flavor of Kubernetes, this field must be set to a unique ID. For example, a combination of name and UUID.
For WORKLOAD flavor of Kubernetes, this field will be set to the Virtual Center cluster managed object ID that has supervisor cluster enabled. The associated Kubernetes entity metadata for a CNS volume like namespace, PVC, PV and Pods will refer to corresponding entities in supervisor cluster.
For GUEST_CLUSTER flavor of Kubernetes, this field will be set to the sub resource pool managed object ID where the guest cluster is deployed.

clusterTypexsd:string

Type of this container orchestrator cluster. See CnsClusterType for supported types and valid values for this field.
vSphereUserxsd:string

vSphere user corresponding to container orchestrator cluster user.
This property is aimed to help associate container volumes with the vSphere user, responsible for managing lifecycle of those volumes. vSphere user management, like keeping track that which vSphere user is responsible for which all container orchestrator clusters, needs to happen out-of-band and is out of the scope for CNS.
This information will not be used for authorization. It's for association purpose only.
Properties inherited from DynamicData
None
*Need not be set
Show WSDL type definition