New-CnsContainerCluster
This cmdlet creates a vSAN file service IP configuration at the client side.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
ClusterType | CnsClusterType | named |
|
Specifies the type of the container orchestrator cluster. |
required
|
KubernetesClusterId | String | named |
|
Specifies the Kubernetes cluster ID provided by the CNS client. |
required
|
VSphereUser | String | named |
|
Specifies the vSphere user corresponding to the container orchestrator cluster user. |
optional | ClusterFlavor | CnsClusterFlavor | named |
|
Specifies the flavor of the container orchestrator cluster. |
optional | ProgressAction | ActionPreference | named |
|
Output
VMware.VimAutomation.Storage.Types.V1.Vsan.Cns.CnsContainerClusterExamples
Example 1
New-CnsContainerCluster -ClusterFlavor Vanilla -KubernetesClusterId 'k8_cls_1' -ClusterType Kubernetes -VSphereUser '[email protected]'
Creates a Cloud Native Storage (CNS) container cluster with Vanilla as a cluster flavor, 'k8_cls_1' as a cluster ID, Kubernetes as a cluster type, and '[email protected]' as a vSphere user.
Related Commands
CnsContainerCluster
This cmdlet creates a vSAN file service IP configuration at the client side.
CnsKubernetesEntityMetadata
This cmdlet creates a Cloud Native Storage (CNS) Kubernetes entity metadata at a client side.
CnsKubernetesEntityReference
This cmdlet creates a Cloud Native Storage (CNS) Kubernetes entity reference at the client side.
CnsVolume
This cmdlet retrieves a Cloud Native Storage (CNS) volume based on the name or ID filter.
This cmdlet creates a Cloud Native Storage (CNS) volume.
This cmdlet removes the specified Cloud Native Storage (CNS) volumes.
This cmdlet modifies the Cloud Native Storage (CNS) volume metadata of a specified CNS volume.
CnsVolumeAttachment
New-CnsVolumeAttachment -CnsVolume <CnsVolume> -VM <VirtualMachine> [-Server <VIServer[]>] [-RunAsync] [-WhatIf] [-Confirm] [<CommonParameters>]
Remove-CnsVolumeAttachment -CnsVolume <CnsVolume> -VM <VirtualMachine> [-Server <VIServer[]>] [-RunAsync] [-WhatIf] [-Confirm] [<CommonParameters>]
CnsVolumeMetadata
This cmdlet creates a Cloud Native Storage (CNS) volume metadata at the client side.