FusionWorkload CRD reference
The Workload (FusionWorkload) CRD represents a logical grouping of storage volumes and their configuration in Everpure Fusion. Each VirtualMachine using Fusion storage gets a corresponding Workload CR that manages the lifecycle of volumes provisioned from the Fusion fleet.
FusionWorkload
| Field | Description | Type |
|---|---|---|
apiVersion | APIVersion 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 |
kind | Kind 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 |
spec | WorkloadSpec defines the desired state of Workload. | object |
status | WorkloadStatus defines the observed state of Workload. | object |
spec Fields
| Field | Description | Type |
|---|---|---|
spec.name | Defines the logical name of the workload. This value can differ from metadata.name. | string |
spec.context.id | Specifies the identifier of the context | string |
spec.context.name | Specifies the name of the context | string |
spec.preset.id | Specifies the identifier of the preset | string |
spec.preset.name | Specifies the preset name in the format Fleet-Name:Preset-Name | string |
spec.preset.resource_type | Specifies the type of the preset resource | string |
spec.preset.revision | Specifies the revision number of the preset | int64 |
status Fields
| Field | Description | Type |
|---|---|---|
status.id | Defines the unique identifier for the workload in Fusion | string |
status.created | Specifies the time when the workload is created, in epoch milliseconds | int64 |
status.destroyed | Specifies whether the workload is destroyed | boolean |
status.status | Specifies the high-level lifecycle state of the workload (for example, ready, pending, failed) | string |
status.status_details | Provides detailed, human-readable information about the workload state | []string |
status.time_remaining | Specifies the remaining time for the workload, in seconds | int64 |
status.placement.array_id | Specifies the identifier of the array where the workload runs | string |
status.placement.array_name | Specifies the name of the array where the workload runs | string |
status.placement.placement_name | Specifies the name of the placement defined by the preset | string |
status.placement.score | Specifies the placement recommendation score (optimal, optimal with warnings, acceptable) | string |
status.volumes[].id | Defines the unique identifier for the volume | string |
status.volumes[].name | Specifies the name of the volume | string |
status.volumes[].provisioned | Specifies the provisioned size of the volume, in bytes | int64 |
status.volumes[].pvc_name | Specifies the name of the PVC mapped to this volume | string |
status.volumes[].serial | Specifies the serial number of the volume | string |