Skip to main content
Version: 3.6

Cluster CRD reference

The Cluster CRD represents a workload cluster and exposes DR readiness, Portworx installation status, cluster health status, platform, and capacity information.

Example

apiVersion: multicluster.portworx.com/v1alpha1
kind: Cluster
metadata:
name: <cluster-name>
namespace: <namespace>
spec:
# Name of the storage cluster as configured in the cluster environment
clusterName: <storage-cluster-name>
# Namespace of the storage cluster as configured in the cluster environment
clusterNamespace: <storage-cluster-namespace>

Cluster

FieldDescriptionType
apiVersionAPIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
string
kindKind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
string
specClusterSpec defines the desired state and configuration of a clusterobject
statusClusterStatus defines the observed state and runtime information of a clusterobject

spec fields

FieldDescriptionType
spec.clusterNameClusterName represents the name of the storage cluster as configured in the cluster environmentstring
spec.clusterNamespaceClusterNamespace represents the namespace of the storage cluster as configured in the cluster environmentstring

status fields

FieldDescriptionType
status.capacityStorage capacity information including total and used capacityobject
status.capacity.totalTotal storage capacity of the cluster in bytesinteger
status.capacity.usedUsed storage capacity of the cluster in bytesinteger
status.drAdminNamespaceAdmin namespace configured for the cluster for DR operations through Storkstring
status.drCapableIndicates whether the cluster is capable of disaster recovery operationsboolean
status.drReadinessMap of DR readiness checks with their detailed status and information
Key is the readiness check name defined in DrReadinessCheckKey and value is the readiness check details
object
status.drReadiness.infoInfo provides additional details about the check resultstring
status.drReadiness.statusStatus of the readiness check (e.g., "passed", "failed", "warning")string
status.healthOverall health status of the cluster (e.g., "healthy", "degraded", "offline")string
status.lastStatusUpdateTimestampTimestamp of last update of the cluster statusstring
status.licenseLicense information including SKU and expiry detailsobject
status.license.expiryExpiration date of the license in ISO 8601 formatstring
status.license.skuStock Keeping Unit (SKU) identifier of the licensestring
status.monitoringStatusStatus of monitoring services on the clusterstring
status.pxOperatorVersionVersion of Portworx Operator installed on the clusterstring
status.pxSecretsProviderTypeType of secrets provider used by the cluster (e.g., "vault", "k8s")string
status.pxSecurityChecksumChecksum of secret sync used in the PX security configurationstring
status.pxSecurityEnabledIndicates whether PX security is enabled on the clusterboolean
status.pxVersionVersion of Portworx software installed on the clusterstring
status.storageClusterUidUnique identifier of the storage clusterstring
status.telemetryStatusStatus of telemetry collection on the clusterstring
status.topologyTopology information including regions, zones, and racksobject
status.topology.racksList of racks where the cluster nodes are deployedarray
status.topology.regionsList of regions where the cluster nodes are deployedarray
status.topology.zonesList of availability zones where the cluster nodes are deployedarray
In this topic: