New-CnsContainerCluster

This cmdlet creates a vSAN file service IP configuration at the client side.

Syntax

-ClusterType  <CnsClusterType>
-KubernetesClusterId  <String>
-VSphereUser  <String>
[-ClusterFlavor  <CnsClusterFlavor>]
[CommonParameters]

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.

Output

VMware.VimAutomation.Storage.Types.V1.Vsan.Cns.CnsContainerCluster

Examples


Example 1

New-CnsContainerCluster -ClusterFlavor Vanilla -KubernetesClusterId 'k8_cls_1' -ClusterType Kubernetes
-VSphereUser 'administrator@vsphere.local'

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 'administrator@vsphere.local' as a vSphere user.

Related Commands

Feedback

Was this page helpful?