Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
47983006c0 | ||
|
|
b1a4209926 |
+386
-6
@@ -9,6 +9,295 @@ metadata:
|
|||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
controller-gen.kubebuilder.io/version: v0.17.1
|
||||||
|
name: arraycreds.vjailbreak.k8s.pf9.io
|
||||||
|
spec:
|
||||||
|
group: vjailbreak.k8s.pf9.io
|
||||||
|
names:
|
||||||
|
kind: ArrayCreds
|
||||||
|
listKind: ArrayCredsList
|
||||||
|
plural: arraycreds
|
||||||
|
singular: arraycreds
|
||||||
|
scope: Namespaced
|
||||||
|
versions:
|
||||||
|
- additionalPrinterColumns:
|
||||||
|
- jsonPath: .spec.vendorType
|
||||||
|
name: Vendor
|
||||||
|
type: string
|
||||||
|
- jsonPath: .spec.openstackMapping.volumeType
|
||||||
|
name: VolumeType
|
||||||
|
type: string
|
||||||
|
- jsonPath: .spec.openstackMapping.cinderBackendName
|
||||||
|
name: Backend
|
||||||
|
type: string
|
||||||
|
- jsonPath: .status.phase
|
||||||
|
name: Phase
|
||||||
|
type: string
|
||||||
|
- jsonPath: .status.arrayValidationStatus
|
||||||
|
name: Status
|
||||||
|
type: string
|
||||||
|
name: v1alpha1
|
||||||
|
schema:
|
||||||
|
openAPIV3Schema:
|
||||||
|
description: |-
|
||||||
|
ArrayCreds is the Schema for the storage array credentials API that defines authentication
|
||||||
|
and connection details for storage arrays. It provides a secure way to store and validate
|
||||||
|
storage array credentials for use in migration operations, supporting multiple vendors, but as of now
|
||||||
|
We have qualified pure storage flash array.
|
||||||
|
properties:
|
||||||
|
apiVersion:
|
||||||
|
description: |-
|
||||||
|
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
|
||||||
|
type: string
|
||||||
|
kind:
|
||||||
|
description: |-
|
||||||
|
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
|
||||||
|
type: string
|
||||||
|
metadata:
|
||||||
|
type: object
|
||||||
|
spec:
|
||||||
|
description: ArrayCredsSpec defines the desired state of ArrayCreds
|
||||||
|
properties:
|
||||||
|
autoDiscovered:
|
||||||
|
description: AutoDiscovered indicates if this ArrayCreds was auto-discovered
|
||||||
|
from OpenStack
|
||||||
|
type: boolean
|
||||||
|
openstackMapping:
|
||||||
|
description: OpenStackMapping is the openstack mapping for this array
|
||||||
|
properties:
|
||||||
|
cinderBackendName:
|
||||||
|
description: |-
|
||||||
|
CinderBackendName is the Cinder backend name for this mapping
|
||||||
|
This is the backend configured in cinder.conf (e.g., "pure-01")
|
||||||
|
type: string
|
||||||
|
cinderBackendPool:
|
||||||
|
description: CinderBackendPool is the pool name within the backend
|
||||||
|
(optional)
|
||||||
|
type: string
|
||||||
|
cinderHost:
|
||||||
|
description: |-
|
||||||
|
CinderHost is the full Cinder host string for manage API
|
||||||
|
Format: hostname@backend or hostname@backend#pool (e.g., "pcd-ce@pure-iscsi-1#vt-pure-iscsi")
|
||||||
|
type: string
|
||||||
|
volumeType:
|
||||||
|
description: VolumeType is the Cinder volume type associated with
|
||||||
|
this mapping
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- cinderBackendName
|
||||||
|
- volumeType
|
||||||
|
type: object
|
||||||
|
secretRef:
|
||||||
|
description: SecretRef is the reference to the Kubernetes secret holding
|
||||||
|
storage array credentials
|
||||||
|
properties:
|
||||||
|
apiVersion:
|
||||||
|
description: API version of the referent.
|
||||||
|
type: string
|
||||||
|
fieldPath:
|
||||||
|
description: |-
|
||||||
|
If referring to a piece of an object instead of an entire object, this string
|
||||||
|
should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
|
||||||
|
For example, if the object reference is to a container within a pod, this would take on a value like:
|
||||||
|
"spec.containers{name}" (where "name" refers to the name of the container that triggered
|
||||||
|
the event) or if no container name is specified "spec.containers[2]" (container with
|
||||||
|
index 2 in this pod). This syntax is chosen only to have some well-defined way of
|
||||||
|
referencing a part of an object.
|
||||||
|
type: string
|
||||||
|
kind:
|
||||||
|
description: |-
|
||||||
|
Kind of the referent.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
description: |-
|
||||||
|
Name of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
type: string
|
||||||
|
namespace:
|
||||||
|
description: |-
|
||||||
|
Namespace of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
||||||
|
type: string
|
||||||
|
resourceVersion:
|
||||||
|
description: |-
|
||||||
|
Specific resourceVersion to which this reference is made, if any.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
||||||
|
type: string
|
||||||
|
uid:
|
||||||
|
description: |-
|
||||||
|
UID of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
x-kubernetes-map-type: atomic
|
||||||
|
vendorType:
|
||||||
|
description: VendorType is the storage array vendor type (e.g., pure,
|
||||||
|
ontap, hpalletra)
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- vendorType
|
||||||
|
type: object
|
||||||
|
status:
|
||||||
|
description: ArrayCredsStatus defines the observed state of ArrayCreds
|
||||||
|
properties:
|
||||||
|
arrayValidationMessage:
|
||||||
|
description: ArrayValidationMessage is the message associated with
|
||||||
|
the storage array validation
|
||||||
|
type: string
|
||||||
|
arrayValidationStatus:
|
||||||
|
description: |-
|
||||||
|
ArrayValidationStatus is the status of the storage array validation
|
||||||
|
Possible values: Pending, Succeeded, Failed, AwaitingCredentials
|
||||||
|
type: string
|
||||||
|
dataStore:
|
||||||
|
description: DataStore is the list of datastores associated with this
|
||||||
|
array
|
||||||
|
items:
|
||||||
|
description: DatastoreInfo holds datastore information including
|
||||||
|
backing device NAA
|
||||||
|
properties:
|
||||||
|
backingNAA:
|
||||||
|
type: string
|
||||||
|
backingUUID:
|
||||||
|
type: string
|
||||||
|
capacity:
|
||||||
|
format: int64
|
||||||
|
type: integer
|
||||||
|
freeSpace:
|
||||||
|
format: int64
|
||||||
|
type: integer
|
||||||
|
moID:
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
type:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- backingNAA
|
||||||
|
- backingUUID
|
||||||
|
- capacity
|
||||||
|
- freeSpace
|
||||||
|
- moID
|
||||||
|
- name
|
||||||
|
- type
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
phase:
|
||||||
|
description: |-
|
||||||
|
Phase indicates the current phase of the ArrayCreds
|
||||||
|
Possible values: Discovered, Configured, Validated, Failed
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
---
|
||||||
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
controller-gen.kubebuilder.io/version: v0.17.1
|
||||||
|
name: arraycredsmappings.vjailbreak.k8s.pf9.io
|
||||||
|
spec:
|
||||||
|
group: vjailbreak.k8s.pf9.io
|
||||||
|
names:
|
||||||
|
kind: ArrayCredsMapping
|
||||||
|
listKind: ArrayCredsMappingList
|
||||||
|
plural: arraycredsmappings
|
||||||
|
singular: arraycredsmapping
|
||||||
|
scope: Namespaced
|
||||||
|
versions:
|
||||||
|
- additionalPrinterColumns:
|
||||||
|
- jsonPath: .status.validationStatus
|
||||||
|
name: Status
|
||||||
|
type: string
|
||||||
|
- jsonPath: .metadata.creationTimestamp
|
||||||
|
name: Age
|
||||||
|
type: date
|
||||||
|
name: v1alpha1
|
||||||
|
schema:
|
||||||
|
openAPIV3Schema:
|
||||||
|
description: |-
|
||||||
|
ArrayCredsMapping is the Schema for the arraycredsmappings API that defines
|
||||||
|
mappings between VMware datastores and ArrayCreds for StorageAcceleratedCopy storage migration
|
||||||
|
properties:
|
||||||
|
apiVersion:
|
||||||
|
description: |-
|
||||||
|
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
|
||||||
|
type: string
|
||||||
|
kind:
|
||||||
|
description: |-
|
||||||
|
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
|
||||||
|
type: string
|
||||||
|
metadata:
|
||||||
|
type: object
|
||||||
|
spec:
|
||||||
|
description: |-
|
||||||
|
ArrayCredsMappingSpec defines the desired state of ArrayCredsMapping including
|
||||||
|
mappings between VMware datastores and ArrayCreds for StorageAcceleratedCopy data copy
|
||||||
|
properties:
|
||||||
|
mappings:
|
||||||
|
description: Mappings is a list of datastore to ArrayCreds mappings
|
||||||
|
items:
|
||||||
|
description: DatastoreArrayCredsMapping represents a mapping between
|
||||||
|
a VMware datastore and ArrayCreds
|
||||||
|
properties:
|
||||||
|
source:
|
||||||
|
description: Source is the name of the source datastore in VMware
|
||||||
|
type: string
|
||||||
|
target:
|
||||||
|
description: Target is the name of the ArrayCreds resource to
|
||||||
|
use for this datastore
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- source
|
||||||
|
- target
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- mappings
|
||||||
|
type: object
|
||||||
|
status:
|
||||||
|
description: ArrayCredsMappingStatus defines the observed state of ArrayCredsMapping
|
||||||
|
properties:
|
||||||
|
validationMessage:
|
||||||
|
description: |-
|
||||||
|
ValidationMessage provides detailed validation information including
|
||||||
|
information about available ArrayCreds and any validation errors
|
||||||
|
type: string
|
||||||
|
validationStatus:
|
||||||
|
description: |-
|
||||||
|
ValidationStatus indicates the validation status of the ArrayCreds mapping
|
||||||
|
Valid states include: "Valid", "Invalid", "Pending", "ValidationFailed"
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
---
|
||||||
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.17.1
|
controller-gen.kubebuilder.io/version: v0.17.1
|
||||||
@@ -459,6 +748,10 @@ spec:
|
|||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
|
networkPersistence:
|
||||||
|
description: NetworkPersistence instructs the migration helper
|
||||||
|
to persist the source networking configuration
|
||||||
|
type: boolean
|
||||||
periodicSyncEnabled:
|
periodicSyncEnabled:
|
||||||
description: PeriodicSyncEnabled is a boolean to enable periodic
|
description: PeriodicSyncEnabled is a boolean to enable periodic
|
||||||
sync
|
sync
|
||||||
@@ -487,6 +780,9 @@ spec:
|
|||||||
adminInitiatedCutOver:
|
adminInitiatedCutOver:
|
||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
|
arrayOffload:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
dataCopyStart:
|
dataCopyStart:
|
||||||
format: date-time
|
format: date-time
|
||||||
type: string
|
type: string
|
||||||
@@ -643,6 +939,13 @@ spec:
|
|||||||
migrationPlan:
|
migrationPlan:
|
||||||
description: MigrationPlan is the name of the migration plan
|
description: MigrationPlan is the name of the migration plan
|
||||||
type: string
|
type: string
|
||||||
|
migrationType:
|
||||||
|
description: MigrationType indicates whether this is a hot (live)
|
||||||
|
or cold migration
|
||||||
|
enum:
|
||||||
|
- hot
|
||||||
|
- cold
|
||||||
|
type: string
|
||||||
podRef:
|
podRef:
|
||||||
description: PodRef is the name of the pod
|
description: PodRef is the name of the pod
|
||||||
type: string
|
type: string
|
||||||
@@ -709,11 +1012,17 @@ spec:
|
|||||||
- type
|
- type
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
|
currentDisk:
|
||||||
|
description: |-
|
||||||
|
CurrentDisk tracks which disk is currently being copied (e.g., "0", "1")
|
||||||
|
Extracted from migration pod events
|
||||||
|
type: string
|
||||||
phase:
|
phase:
|
||||||
description: Phase is the current phase of the migration
|
description: Phase is the current phase of the migration
|
||||||
enum:
|
enum:
|
||||||
- Pending
|
- Pending
|
||||||
- Validating
|
- Validating
|
||||||
|
- ValidationFailed
|
||||||
- AwaitingDataCopyStart
|
- AwaitingDataCopyStart
|
||||||
- CopyingBlocks
|
- CopyingBlocks
|
||||||
- CopyingChangedBlocks
|
- CopyingChangedBlocks
|
||||||
@@ -723,7 +1032,23 @@ spec:
|
|||||||
- Succeeded
|
- Succeeded
|
||||||
- Failed
|
- Failed
|
||||||
- Unknown
|
- Unknown
|
||||||
|
- ConnectingToESXi
|
||||||
|
- CreatingInitiatorGroup
|
||||||
|
- CreatingVolume
|
||||||
|
- ImportingToCinder
|
||||||
|
- MappingVolume
|
||||||
|
- RescanningStorage
|
||||||
|
- XCOPYInProgress
|
||||||
type: string
|
type: string
|
||||||
|
retryable:
|
||||||
|
description: |-
|
||||||
|
Retryable indicates whether this migration can be retried when it fails.
|
||||||
|
Set to false for VMs with RDM (Raw Device Mapping) disks that share storage,
|
||||||
|
as RDM disk migration state prevents automatic retry.
|
||||||
|
type: boolean
|
||||||
|
totalDisks:
|
||||||
|
description: TotalDisks is the total number of disks to be migrated
|
||||||
|
type: integer
|
||||||
required:
|
required:
|
||||||
- phase
|
- phase
|
||||||
type: object
|
type: object
|
||||||
@@ -779,6 +1104,11 @@ spec:
|
|||||||
description: MigrationTemplateSpec defines the desired state of MigrationTemplate
|
description: MigrationTemplateSpec defines the desired state of MigrationTemplate
|
||||||
including source/destination environments and mappings
|
including source/destination environments and mappings
|
||||||
properties:
|
properties:
|
||||||
|
arrayCredsMapping:
|
||||||
|
description: |-
|
||||||
|
ArrayCredsMapping is the reference to the ArrayCredsMapping resource that defines datastore to ArrayCreds mappings
|
||||||
|
This is used for StorageAcceleratedCopy data copy method
|
||||||
|
type: string
|
||||||
destination:
|
destination:
|
||||||
description: Destination is the destination details for the virtual
|
description: Destination is the destination details for the virtual
|
||||||
machine
|
machine
|
||||||
@@ -810,9 +1140,19 @@ spec:
|
|||||||
required:
|
required:
|
||||||
- vmwareRef
|
- vmwareRef
|
||||||
type: object
|
type: object
|
||||||
|
storageCopyMethod:
|
||||||
|
default: normal
|
||||||
|
description: |-
|
||||||
|
StorageCopyMethod indicates the method to use for storage migration
|
||||||
|
Valid values: "normal" (default), "StorageAcceleratedCopy"
|
||||||
|
enum:
|
||||||
|
- normal
|
||||||
|
- StorageAcceleratedCopy
|
||||||
|
type: string
|
||||||
storageMapping:
|
storageMapping:
|
||||||
description: StorageMapping is the reference to the StorageMapping
|
description: |-
|
||||||
resource that defines source to destination storage mappings
|
StorageMapping is the reference to the StorageMapping resource that defines source to destination storage mappings
|
||||||
|
This is used for normal data copy method
|
||||||
type: string
|
type: string
|
||||||
targetPCDClusterName:
|
targetPCDClusterName:
|
||||||
description: TargetPCDClusterName is the name of the PCD cluster where
|
description: TargetPCDClusterName is the name of the PCD cluster where
|
||||||
@@ -834,7 +1174,6 @@ spec:
|
|||||||
- destination
|
- destination
|
||||||
- networkMapping
|
- networkMapping
|
||||||
- source
|
- source
|
||||||
- storageMapping
|
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
served: true
|
served: true
|
||||||
@@ -1044,6 +1383,22 @@ spec:
|
|||||||
- vcpus
|
- vcpus
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
|
osAuthToken:
|
||||||
|
type: string
|
||||||
|
osAuthUrl:
|
||||||
|
type: string
|
||||||
|
osDomainName:
|
||||||
|
type: string
|
||||||
|
osInsecure:
|
||||||
|
type: boolean
|
||||||
|
osPassword:
|
||||||
|
type: string
|
||||||
|
osRegionName:
|
||||||
|
type: string
|
||||||
|
osTenantName:
|
||||||
|
type: string
|
||||||
|
osUsername:
|
||||||
|
type: string
|
||||||
pcdHostConfig:
|
pcdHostConfig:
|
||||||
description: PCDHostConfig is the list of available clusters in openstack
|
description: PCDHostConfig is the list of available clusters in openstack
|
||||||
items:
|
items:
|
||||||
@@ -1596,6 +1951,10 @@ spec:
|
|||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
|
networkPersistence:
|
||||||
|
description: NetworkPersistence instructs the migration helper
|
||||||
|
to persist the source networking configuration
|
||||||
|
type: boolean
|
||||||
periodicSyncEnabled:
|
periodicSyncEnabled:
|
||||||
description: PeriodicSyncEnabled is a boolean to enable periodic
|
description: PeriodicSyncEnabled is a boolean to enable periodic
|
||||||
sync
|
sync
|
||||||
@@ -1710,6 +2069,9 @@ spec:
|
|||||||
adminInitiatedCutOver:
|
adminInitiatedCutOver:
|
||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
|
arrayOffload:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
dataCopyStart:
|
dataCopyStart:
|
||||||
format: date-time
|
format: date-time
|
||||||
type: string
|
type: string
|
||||||
@@ -2245,8 +2607,6 @@ spec:
|
|||||||
vcenterHost:
|
vcenterHost:
|
||||||
description: VcenterHost is the vCenter host
|
description: VcenterHost is the vCenter host
|
||||||
type: string
|
type: string
|
||||||
required:
|
|
||||||
- datacenter
|
|
||||||
type: object
|
type: object
|
||||||
status:
|
status:
|
||||||
description: VMwareCredsStatus defines the observed state of VMwareCreds
|
description: VMwareCredsStatus defines the observed state of VMwareCreds
|
||||||
@@ -2403,7 +2763,18 @@ spec:
|
|||||||
disks:
|
disks:
|
||||||
description: Disks is the list of disks for the virtual machine
|
description: Disks is the list of disks for the virtual machine
|
||||||
items:
|
items:
|
||||||
type: string
|
description: Disk represents a virtual disk attached to a virtual
|
||||||
|
machine
|
||||||
|
properties:
|
||||||
|
capacityGB:
|
||||||
|
type: integer
|
||||||
|
datastore:
|
||||||
|
type: string
|
||||||
|
datastoreId:
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
type: array
|
type: array
|
||||||
esxiName:
|
esxiName:
|
||||||
description: ESXiName is the name of the ESXi host
|
description: ESXiName is the name of the ESXi host
|
||||||
@@ -2833,6 +3204,7 @@ rules:
|
|||||||
- apiGroups:
|
- apiGroups:
|
||||||
- vjailbreak.k8s.pf9.io
|
- vjailbreak.k8s.pf9.io
|
||||||
resources:
|
resources:
|
||||||
|
- arraycreds
|
||||||
- bmconfigs
|
- bmconfigs
|
||||||
- clustermigrations
|
- clustermigrations
|
||||||
- esximigrations
|
- esximigrations
|
||||||
@@ -2862,6 +3234,7 @@ rules:
|
|||||||
- apiGroups:
|
- apiGroups:
|
||||||
- vjailbreak.k8s.pf9.io
|
- vjailbreak.k8s.pf9.io
|
||||||
resources:
|
resources:
|
||||||
|
- arraycreds/finalizers
|
||||||
- bmconfigs/finalizers
|
- bmconfigs/finalizers
|
||||||
- clustermigrations/finalizers
|
- clustermigrations/finalizers
|
||||||
- esximigrations/finalizers
|
- esximigrations/finalizers
|
||||||
@@ -2881,6 +3254,7 @@ rules:
|
|||||||
- apiGroups:
|
- apiGroups:
|
||||||
- vjailbreak.k8s.pf9.io
|
- vjailbreak.k8s.pf9.io
|
||||||
resources:
|
resources:
|
||||||
|
- arraycreds/status
|
||||||
- bmconfigs/status
|
- bmconfigs/status
|
||||||
- clustermigrations/status
|
- clustermigrations/status
|
||||||
- esximigrations/status
|
- esximigrations/status
|
||||||
@@ -3742,6 +4116,12 @@ kind: Ingress
|
|||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
nginx.ingress.kubernetes.io/backend-protocol: HTTP
|
nginx.ingress.kubernetes.io/backend-protocol: HTTP
|
||||||
|
nginx.ingress.kubernetes.io/proxy-body-size: 500m
|
||||||
|
nginx.ingress.kubernetes.io/proxy-buffering: "off"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-connect-timeout: "600"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-request-buffering: "off"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
|
||||||
nginx.ingress.kubernetes.io/rewrite-target: /$1
|
nginx.ingress.kubernetes.io/rewrite-target: /$1
|
||||||
nginx.ingress.kubernetes.io/use-regex: "true"
|
nginx.ingress.kubernetes.io/use-regex: "true"
|
||||||
name: migration-vpwned-ingress
|
name: migration-vpwned-ingress
|
||||||
|
|||||||
@@ -45,6 +45,12 @@ metadata:
|
|||||||
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
|
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
|
||||||
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-body-size: "500m"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-connect-timeout: "600"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-buffering: "off"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-request-buffering: "off"
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: nginx
|
ingressClassName: nginx
|
||||||
rules:
|
rules:
|
||||||
|
|||||||
+394
-8
@@ -9,6 +9,295 @@ metadata:
|
|||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
controller-gen.kubebuilder.io/version: v0.17.1
|
||||||
|
name: arraycreds.vjailbreak.k8s.pf9.io
|
||||||
|
spec:
|
||||||
|
group: vjailbreak.k8s.pf9.io
|
||||||
|
names:
|
||||||
|
kind: ArrayCreds
|
||||||
|
listKind: ArrayCredsList
|
||||||
|
plural: arraycreds
|
||||||
|
singular: arraycreds
|
||||||
|
scope: Namespaced
|
||||||
|
versions:
|
||||||
|
- additionalPrinterColumns:
|
||||||
|
- jsonPath: .spec.vendorType
|
||||||
|
name: Vendor
|
||||||
|
type: string
|
||||||
|
- jsonPath: .spec.openstackMapping.volumeType
|
||||||
|
name: VolumeType
|
||||||
|
type: string
|
||||||
|
- jsonPath: .spec.openstackMapping.cinderBackendName
|
||||||
|
name: Backend
|
||||||
|
type: string
|
||||||
|
- jsonPath: .status.phase
|
||||||
|
name: Phase
|
||||||
|
type: string
|
||||||
|
- jsonPath: .status.arrayValidationStatus
|
||||||
|
name: Status
|
||||||
|
type: string
|
||||||
|
name: v1alpha1
|
||||||
|
schema:
|
||||||
|
openAPIV3Schema:
|
||||||
|
description: |-
|
||||||
|
ArrayCreds is the Schema for the storage array credentials API that defines authentication
|
||||||
|
and connection details for storage arrays. It provides a secure way to store and validate
|
||||||
|
storage array credentials for use in migration operations, supporting multiple vendors, but as of now
|
||||||
|
We have qualified pure storage flash array.
|
||||||
|
properties:
|
||||||
|
apiVersion:
|
||||||
|
description: |-
|
||||||
|
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
|
||||||
|
type: string
|
||||||
|
kind:
|
||||||
|
description: |-
|
||||||
|
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
|
||||||
|
type: string
|
||||||
|
metadata:
|
||||||
|
type: object
|
||||||
|
spec:
|
||||||
|
description: ArrayCredsSpec defines the desired state of ArrayCreds
|
||||||
|
properties:
|
||||||
|
autoDiscovered:
|
||||||
|
description: AutoDiscovered indicates if this ArrayCreds was auto-discovered
|
||||||
|
from OpenStack
|
||||||
|
type: boolean
|
||||||
|
openstackMapping:
|
||||||
|
description: OpenStackMapping is the openstack mapping for this array
|
||||||
|
properties:
|
||||||
|
cinderBackendName:
|
||||||
|
description: |-
|
||||||
|
CinderBackendName is the Cinder backend name for this mapping
|
||||||
|
This is the backend configured in cinder.conf (e.g., "pure-01")
|
||||||
|
type: string
|
||||||
|
cinderBackendPool:
|
||||||
|
description: CinderBackendPool is the pool name within the backend
|
||||||
|
(optional)
|
||||||
|
type: string
|
||||||
|
cinderHost:
|
||||||
|
description: |-
|
||||||
|
CinderHost is the full Cinder host string for manage API
|
||||||
|
Format: hostname@backend or hostname@backend#pool (e.g., "pcd-ce@pure-iscsi-1#vt-pure-iscsi")
|
||||||
|
type: string
|
||||||
|
volumeType:
|
||||||
|
description: VolumeType is the Cinder volume type associated with
|
||||||
|
this mapping
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- cinderBackendName
|
||||||
|
- volumeType
|
||||||
|
type: object
|
||||||
|
secretRef:
|
||||||
|
description: SecretRef is the reference to the Kubernetes secret holding
|
||||||
|
storage array credentials
|
||||||
|
properties:
|
||||||
|
apiVersion:
|
||||||
|
description: API version of the referent.
|
||||||
|
type: string
|
||||||
|
fieldPath:
|
||||||
|
description: |-
|
||||||
|
If referring to a piece of an object instead of an entire object, this string
|
||||||
|
should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
|
||||||
|
For example, if the object reference is to a container within a pod, this would take on a value like:
|
||||||
|
"spec.containers{name}" (where "name" refers to the name of the container that triggered
|
||||||
|
the event) or if no container name is specified "spec.containers[2]" (container with
|
||||||
|
index 2 in this pod). This syntax is chosen only to have some well-defined way of
|
||||||
|
referencing a part of an object.
|
||||||
|
type: string
|
||||||
|
kind:
|
||||||
|
description: |-
|
||||||
|
Kind of the referent.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
description: |-
|
||||||
|
Name of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
type: string
|
||||||
|
namespace:
|
||||||
|
description: |-
|
||||||
|
Namespace of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
||||||
|
type: string
|
||||||
|
resourceVersion:
|
||||||
|
description: |-
|
||||||
|
Specific resourceVersion to which this reference is made, if any.
|
||||||
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
||||||
|
type: string
|
||||||
|
uid:
|
||||||
|
description: |-
|
||||||
|
UID of the referent.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
x-kubernetes-map-type: atomic
|
||||||
|
vendorType:
|
||||||
|
description: VendorType is the storage array vendor type (e.g., pure,
|
||||||
|
ontap, hpalletra)
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- vendorType
|
||||||
|
type: object
|
||||||
|
status:
|
||||||
|
description: ArrayCredsStatus defines the observed state of ArrayCreds
|
||||||
|
properties:
|
||||||
|
arrayValidationMessage:
|
||||||
|
description: ArrayValidationMessage is the message associated with
|
||||||
|
the storage array validation
|
||||||
|
type: string
|
||||||
|
arrayValidationStatus:
|
||||||
|
description: |-
|
||||||
|
ArrayValidationStatus is the status of the storage array validation
|
||||||
|
Possible values: Pending, Succeeded, Failed, AwaitingCredentials
|
||||||
|
type: string
|
||||||
|
dataStore:
|
||||||
|
description: DataStore is the list of datastores associated with this
|
||||||
|
array
|
||||||
|
items:
|
||||||
|
description: DatastoreInfo holds datastore information including
|
||||||
|
backing device NAA
|
||||||
|
properties:
|
||||||
|
backingNAA:
|
||||||
|
type: string
|
||||||
|
backingUUID:
|
||||||
|
type: string
|
||||||
|
capacity:
|
||||||
|
format: int64
|
||||||
|
type: integer
|
||||||
|
freeSpace:
|
||||||
|
format: int64
|
||||||
|
type: integer
|
||||||
|
moID:
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
type:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- backingNAA
|
||||||
|
- backingUUID
|
||||||
|
- capacity
|
||||||
|
- freeSpace
|
||||||
|
- moID
|
||||||
|
- name
|
||||||
|
- type
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
phase:
|
||||||
|
description: |-
|
||||||
|
Phase indicates the current phase of the ArrayCreds
|
||||||
|
Possible values: Discovered, Configured, Validated, Failed
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
---
|
||||||
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
controller-gen.kubebuilder.io/version: v0.17.1
|
||||||
|
name: arraycredsmappings.vjailbreak.k8s.pf9.io
|
||||||
|
spec:
|
||||||
|
group: vjailbreak.k8s.pf9.io
|
||||||
|
names:
|
||||||
|
kind: ArrayCredsMapping
|
||||||
|
listKind: ArrayCredsMappingList
|
||||||
|
plural: arraycredsmappings
|
||||||
|
singular: arraycredsmapping
|
||||||
|
scope: Namespaced
|
||||||
|
versions:
|
||||||
|
- additionalPrinterColumns:
|
||||||
|
- jsonPath: .status.validationStatus
|
||||||
|
name: Status
|
||||||
|
type: string
|
||||||
|
- jsonPath: .metadata.creationTimestamp
|
||||||
|
name: Age
|
||||||
|
type: date
|
||||||
|
name: v1alpha1
|
||||||
|
schema:
|
||||||
|
openAPIV3Schema:
|
||||||
|
description: |-
|
||||||
|
ArrayCredsMapping is the Schema for the arraycredsmappings API that defines
|
||||||
|
mappings between VMware datastores and ArrayCreds for StorageAcceleratedCopy storage migration
|
||||||
|
properties:
|
||||||
|
apiVersion:
|
||||||
|
description: |-
|
||||||
|
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
|
||||||
|
type: string
|
||||||
|
kind:
|
||||||
|
description: |-
|
||||||
|
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
|
||||||
|
type: string
|
||||||
|
metadata:
|
||||||
|
type: object
|
||||||
|
spec:
|
||||||
|
description: |-
|
||||||
|
ArrayCredsMappingSpec defines the desired state of ArrayCredsMapping including
|
||||||
|
mappings between VMware datastores and ArrayCreds for StorageAcceleratedCopy data copy
|
||||||
|
properties:
|
||||||
|
mappings:
|
||||||
|
description: Mappings is a list of datastore to ArrayCreds mappings
|
||||||
|
items:
|
||||||
|
description: DatastoreArrayCredsMapping represents a mapping between
|
||||||
|
a VMware datastore and ArrayCreds
|
||||||
|
properties:
|
||||||
|
source:
|
||||||
|
description: Source is the name of the source datastore in VMware
|
||||||
|
type: string
|
||||||
|
target:
|
||||||
|
description: Target is the name of the ArrayCreds resource to
|
||||||
|
use for this datastore
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- source
|
||||||
|
- target
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- mappings
|
||||||
|
type: object
|
||||||
|
status:
|
||||||
|
description: ArrayCredsMappingStatus defines the observed state of ArrayCredsMapping
|
||||||
|
properties:
|
||||||
|
validationMessage:
|
||||||
|
description: |-
|
||||||
|
ValidationMessage provides detailed validation information including
|
||||||
|
information about available ArrayCreds and any validation errors
|
||||||
|
type: string
|
||||||
|
validationStatus:
|
||||||
|
description: |-
|
||||||
|
ValidationStatus indicates the validation status of the ArrayCreds mapping
|
||||||
|
Valid states include: "Valid", "Invalid", "Pending", "ValidationFailed"
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
---
|
||||||
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.17.1
|
controller-gen.kubebuilder.io/version: v0.17.1
|
||||||
@@ -459,6 +748,10 @@ spec:
|
|||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
|
networkPersistence:
|
||||||
|
description: NetworkPersistence instructs the migration helper
|
||||||
|
to persist the source networking configuration
|
||||||
|
type: boolean
|
||||||
periodicSyncEnabled:
|
periodicSyncEnabled:
|
||||||
description: PeriodicSyncEnabled is a boolean to enable periodic
|
description: PeriodicSyncEnabled is a boolean to enable periodic
|
||||||
sync
|
sync
|
||||||
@@ -487,6 +780,9 @@ spec:
|
|||||||
adminInitiatedCutOver:
|
adminInitiatedCutOver:
|
||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
|
arrayOffload:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
dataCopyStart:
|
dataCopyStart:
|
||||||
format: date-time
|
format: date-time
|
||||||
type: string
|
type: string
|
||||||
@@ -643,6 +939,13 @@ spec:
|
|||||||
migrationPlan:
|
migrationPlan:
|
||||||
description: MigrationPlan is the name of the migration plan
|
description: MigrationPlan is the name of the migration plan
|
||||||
type: string
|
type: string
|
||||||
|
migrationType:
|
||||||
|
description: MigrationType indicates whether this is a hot (live)
|
||||||
|
or cold migration
|
||||||
|
enum:
|
||||||
|
- hot
|
||||||
|
- cold
|
||||||
|
type: string
|
||||||
podRef:
|
podRef:
|
||||||
description: PodRef is the name of the pod
|
description: PodRef is the name of the pod
|
||||||
type: string
|
type: string
|
||||||
@@ -709,11 +1012,17 @@ spec:
|
|||||||
- type
|
- type
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
|
currentDisk:
|
||||||
|
description: |-
|
||||||
|
CurrentDisk tracks which disk is currently being copied (e.g., "0", "1")
|
||||||
|
Extracted from migration pod events
|
||||||
|
type: string
|
||||||
phase:
|
phase:
|
||||||
description: Phase is the current phase of the migration
|
description: Phase is the current phase of the migration
|
||||||
enum:
|
enum:
|
||||||
- Pending
|
- Pending
|
||||||
- Validating
|
- Validating
|
||||||
|
- ValidationFailed
|
||||||
- AwaitingDataCopyStart
|
- AwaitingDataCopyStart
|
||||||
- CopyingBlocks
|
- CopyingBlocks
|
||||||
- CopyingChangedBlocks
|
- CopyingChangedBlocks
|
||||||
@@ -723,7 +1032,23 @@ spec:
|
|||||||
- Succeeded
|
- Succeeded
|
||||||
- Failed
|
- Failed
|
||||||
- Unknown
|
- Unknown
|
||||||
|
- ConnectingToESXi
|
||||||
|
- CreatingInitiatorGroup
|
||||||
|
- CreatingVolume
|
||||||
|
- ImportingToCinder
|
||||||
|
- MappingVolume
|
||||||
|
- RescanningStorage
|
||||||
|
- XCOPYInProgress
|
||||||
type: string
|
type: string
|
||||||
|
retryable:
|
||||||
|
description: |-
|
||||||
|
Retryable indicates whether this migration can be retried when it fails.
|
||||||
|
Set to false for VMs with RDM (Raw Device Mapping) disks that share storage,
|
||||||
|
as RDM disk migration state prevents automatic retry.
|
||||||
|
type: boolean
|
||||||
|
totalDisks:
|
||||||
|
description: TotalDisks is the total number of disks to be migrated
|
||||||
|
type: integer
|
||||||
required:
|
required:
|
||||||
- phase
|
- phase
|
||||||
type: object
|
type: object
|
||||||
@@ -779,6 +1104,11 @@ spec:
|
|||||||
description: MigrationTemplateSpec defines the desired state of MigrationTemplate
|
description: MigrationTemplateSpec defines the desired state of MigrationTemplate
|
||||||
including source/destination environments and mappings
|
including source/destination environments and mappings
|
||||||
properties:
|
properties:
|
||||||
|
arrayCredsMapping:
|
||||||
|
description: |-
|
||||||
|
ArrayCredsMapping is the reference to the ArrayCredsMapping resource that defines datastore to ArrayCreds mappings
|
||||||
|
This is used for StorageAcceleratedCopy data copy method
|
||||||
|
type: string
|
||||||
destination:
|
destination:
|
||||||
description: Destination is the destination details for the virtual
|
description: Destination is the destination details for the virtual
|
||||||
machine
|
machine
|
||||||
@@ -810,9 +1140,19 @@ spec:
|
|||||||
required:
|
required:
|
||||||
- vmwareRef
|
- vmwareRef
|
||||||
type: object
|
type: object
|
||||||
|
storageCopyMethod:
|
||||||
|
default: normal
|
||||||
|
description: |-
|
||||||
|
StorageCopyMethod indicates the method to use for storage migration
|
||||||
|
Valid values: "normal" (default), "StorageAcceleratedCopy"
|
||||||
|
enum:
|
||||||
|
- normal
|
||||||
|
- StorageAcceleratedCopy
|
||||||
|
type: string
|
||||||
storageMapping:
|
storageMapping:
|
||||||
description: StorageMapping is the reference to the StorageMapping
|
description: |-
|
||||||
resource that defines source to destination storage mappings
|
StorageMapping is the reference to the StorageMapping resource that defines source to destination storage mappings
|
||||||
|
This is used for normal data copy method
|
||||||
type: string
|
type: string
|
||||||
targetPCDClusterName:
|
targetPCDClusterName:
|
||||||
description: TargetPCDClusterName is the name of the PCD cluster where
|
description: TargetPCDClusterName is the name of the PCD cluster where
|
||||||
@@ -834,7 +1174,6 @@ spec:
|
|||||||
- destination
|
- destination
|
||||||
- networkMapping
|
- networkMapping
|
||||||
- source
|
- source
|
||||||
- storageMapping
|
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
served: true
|
served: true
|
||||||
@@ -1044,6 +1383,22 @@ spec:
|
|||||||
- vcpus
|
- vcpus
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
|
osAuthToken:
|
||||||
|
type: string
|
||||||
|
osAuthUrl:
|
||||||
|
type: string
|
||||||
|
osDomainName:
|
||||||
|
type: string
|
||||||
|
osInsecure:
|
||||||
|
type: boolean
|
||||||
|
osPassword:
|
||||||
|
type: string
|
||||||
|
osRegionName:
|
||||||
|
type: string
|
||||||
|
osTenantName:
|
||||||
|
type: string
|
||||||
|
osUsername:
|
||||||
|
type: string
|
||||||
pcdHostConfig:
|
pcdHostConfig:
|
||||||
description: PCDHostConfig is the list of available clusters in openstack
|
description: PCDHostConfig is the list of available clusters in openstack
|
||||||
items:
|
items:
|
||||||
@@ -1596,6 +1951,10 @@ spec:
|
|||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
|
networkPersistence:
|
||||||
|
description: NetworkPersistence instructs the migration helper
|
||||||
|
to persist the source networking configuration
|
||||||
|
type: boolean
|
||||||
periodicSyncEnabled:
|
periodicSyncEnabled:
|
||||||
description: PeriodicSyncEnabled is a boolean to enable periodic
|
description: PeriodicSyncEnabled is a boolean to enable periodic
|
||||||
sync
|
sync
|
||||||
@@ -1710,6 +2069,9 @@ spec:
|
|||||||
adminInitiatedCutOver:
|
adminInitiatedCutOver:
|
||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
|
arrayOffload:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
dataCopyStart:
|
dataCopyStart:
|
||||||
format: date-time
|
format: date-time
|
||||||
type: string
|
type: string
|
||||||
@@ -2245,8 +2607,6 @@ spec:
|
|||||||
vcenterHost:
|
vcenterHost:
|
||||||
description: VcenterHost is the vCenter host
|
description: VcenterHost is the vCenter host
|
||||||
type: string
|
type: string
|
||||||
required:
|
|
||||||
- datacenter
|
|
||||||
type: object
|
type: object
|
||||||
status:
|
status:
|
||||||
description: VMwareCredsStatus defines the observed state of VMwareCreds
|
description: VMwareCredsStatus defines the observed state of VMwareCreds
|
||||||
@@ -2403,7 +2763,18 @@ spec:
|
|||||||
disks:
|
disks:
|
||||||
description: Disks is the list of disks for the virtual machine
|
description: Disks is the list of disks for the virtual machine
|
||||||
items:
|
items:
|
||||||
type: string
|
description: Disk represents a virtual disk attached to a virtual
|
||||||
|
machine
|
||||||
|
properties:
|
||||||
|
capacityGB:
|
||||||
|
type: integer
|
||||||
|
datastore:
|
||||||
|
type: string
|
||||||
|
datastoreId:
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
type: array
|
type: array
|
||||||
esxiName:
|
esxiName:
|
||||||
description: ESXiName is the name of the ESXi host
|
description: ESXiName is the name of the ESXi host
|
||||||
@@ -2833,6 +3204,7 @@ rules:
|
|||||||
- apiGroups:
|
- apiGroups:
|
||||||
- vjailbreak.k8s.pf9.io
|
- vjailbreak.k8s.pf9.io
|
||||||
resources:
|
resources:
|
||||||
|
- arraycreds
|
||||||
- bmconfigs
|
- bmconfigs
|
||||||
- clustermigrations
|
- clustermigrations
|
||||||
- esximigrations
|
- esximigrations
|
||||||
@@ -2862,6 +3234,7 @@ rules:
|
|||||||
- apiGroups:
|
- apiGroups:
|
||||||
- vjailbreak.k8s.pf9.io
|
- vjailbreak.k8s.pf9.io
|
||||||
resources:
|
resources:
|
||||||
|
- arraycreds/finalizers
|
||||||
- bmconfigs/finalizers
|
- bmconfigs/finalizers
|
||||||
- clustermigrations/finalizers
|
- clustermigrations/finalizers
|
||||||
- esximigrations/finalizers
|
- esximigrations/finalizers
|
||||||
@@ -2881,6 +3254,7 @@ rules:
|
|||||||
- apiGroups:
|
- apiGroups:
|
||||||
- vjailbreak.k8s.pf9.io
|
- vjailbreak.k8s.pf9.io
|
||||||
resources:
|
resources:
|
||||||
|
- arraycreds/status
|
||||||
- bmconfigs/status
|
- bmconfigs/status
|
||||||
- clustermigrations/status
|
- clustermigrations/status
|
||||||
- esximigrations/status
|
- esximigrations/status
|
||||||
@@ -3779,7 +4153,7 @@ spec:
|
|||||||
envFrom:
|
envFrom:
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: pf9-env
|
name: pf9-env
|
||||||
image: quay.io/platform9/vjailbreak-controller:v0.3.7
|
image: quay.io/platform9/vjailbreak-controller:v0.3.8
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
lifecycle:
|
lifecycle:
|
||||||
preStop:
|
preStop:
|
||||||
@@ -3862,7 +4236,7 @@ spec:
|
|||||||
- envFrom:
|
- envFrom:
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: pf9-env
|
name: pf9-env
|
||||||
image: quay.io/platform9/vjailbreak-vpwned:v0.3.7
|
image: quay.io/platform9/vjailbreak-vpwned:v0.3.8
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
name: vpwned
|
name: vpwned
|
||||||
ports:
|
ports:
|
||||||
@@ -3875,6 +4249,8 @@ spec:
|
|||||||
- mountPath: /etc/hosts
|
- mountPath: /etc/hosts
|
||||||
name: hosts-file
|
name: hosts-file
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
- mountPath: /home/ubuntu
|
||||||
|
name: vddk-storage
|
||||||
dnsPolicy: ClusterFirst
|
dnsPolicy: ClusterFirst
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
schedulerName: default-scheduler
|
schedulerName: default-scheduler
|
||||||
@@ -3886,12 +4262,22 @@ spec:
|
|||||||
path: /etc/hosts
|
path: /etc/hosts
|
||||||
type: File
|
type: File
|
||||||
name: hosts-file
|
name: hosts-file
|
||||||
|
- hostPath:
|
||||||
|
path: /home/ubuntu
|
||||||
|
type: DirectoryOrCreate
|
||||||
|
name: vddk-storage
|
||||||
---
|
---
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
nginx.ingress.kubernetes.io/backend-protocol: HTTP
|
nginx.ingress.kubernetes.io/backend-protocol: HTTP
|
||||||
|
nginx.ingress.kubernetes.io/proxy-body-size: 500m
|
||||||
|
nginx.ingress.kubernetes.io/proxy-buffering: "off"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-connect-timeout: "600"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-request-buffering: "off"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
|
||||||
nginx.ingress.kubernetes.io/rewrite-target: /$1
|
nginx.ingress.kubernetes.io/rewrite-target: /$1
|
||||||
nginx.ingress.kubernetes.io/use-regex: "true"
|
nginx.ingress.kubernetes.io/use-regex: "true"
|
||||||
name: migration-vpwned-ingress
|
name: migration-vpwned-ingress
|
||||||
|
|||||||
@@ -23,3 +23,11 @@ data:
|
|||||||
PERIODIC_SYNC_MAX_RETRIES: "3" # max number of retries for CBT sync
|
PERIODIC_SYNC_MAX_RETRIES: "3" # max number of retries for CBT sync
|
||||||
PERIODIC_SYNC_RETRY_CAP: "3h" # max retry interval for CBT sync
|
PERIODIC_SYNC_RETRY_CAP: "3h" # max retry interval for CBT sync
|
||||||
AUTO_FSTAB_UPDATE: "false" # automatically update fstab
|
AUTO_FSTAB_UPDATE: "false" # automatically update fstab
|
||||||
|
AUTO_PXE_BOOT_ON_CONVERSION: "false" # automatically set machine to PXE boot during cluster conversion
|
||||||
|
V2V_HELPER_POD_CPU_REQUEST: "1000m"
|
||||||
|
V2V_HELPER_POD_MEMORY_REQUEST: "2Gi"
|
||||||
|
V2V_HELPER_POD_CPU_LIMIT: "2000m"
|
||||||
|
V2V_HELPER_POD_MEMORY_LIMIT: "5Gi"
|
||||||
|
V2V_HELPER_POD_EPHEMERAL_STORAGE_REQUEST: "3Gi"
|
||||||
|
V2V_HELPER_POD_EPHEMERAL_STORAGE_LIMIT: "3Gi"
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,37 @@
|
|||||||
|
# v0.3.8
|
||||||
|
|
||||||
|
- **Tag:** `v0.3.8`
|
||||||
|
- **Published:** 2026-01-07T08:27:41Z
|
||||||
|
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.3.8
|
||||||
|
|
||||||
|
## Release Notes
|
||||||
|
|
||||||
|
## What's Changed
|
||||||
|
* Implement Session Timeout (18 hours inactivity) for UI by @meghansh-pf9 in https://github.com/platform9/vjailbreak/pull/1264
|
||||||
|
* install vjbctl binary system wide by @spai-p9 in https://github.com/platform9/vjailbreak/pull/1269
|
||||||
|
* Make datacenter field as an optional entry in vmware creds form by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1256
|
||||||
|
* #1227, #1224 :: Create a Common Component Library for Consistent UI Across the Application by @AbhijeetThakur in https://github.com/platform9/vjailbreak/pull/1297
|
||||||
|
* support additional machine states, optional set to PXE boot by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/1301
|
||||||
|
* fix - Agent Node not prompting to change password by @meghansh-pf9 in https://github.com/platform9/vjailbreak/pull/1310
|
||||||
|
* fix errored agent nodes deletion from PCD by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/1303
|
||||||
|
* Added script to preserve network interfaces by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1304
|
||||||
|
* #1299 :: New UI – Issues and Required Fixes by @AbhijeetThakur in https://github.com/platform9/vjailbreak/pull/1313
|
||||||
|
* Added advanced option in UI to select if the user wants to persist network interfaces by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1314
|
||||||
|
* add script to check and bring the offline volumes online by @spai-p9 in https://github.com/platform9/vjailbreak/pull/1309
|
||||||
|
* Added a new state to show migrationplan validation failure in ui by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1298
|
||||||
|
* fix - logs for persistance script showing errors by @meghansh-pf9 in https://github.com/platform9/vjailbreak/pull/1317
|
||||||
|
* Add endpoint to take proxy variable, update the cm and restart controller. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/1316
|
||||||
|
* Fix logs UI and updated CRDs by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1320
|
||||||
|
* #1294 :: UI add proxy by @AbhijeetThakur in https://github.com/platform9/vjailbreak/pull/1322
|
||||||
|
* #1294 :: UI: Add proxy with separate Http, Https field by @AbhijeetThakur in https://github.com/platform9/vjailbreak/pull/1325
|
||||||
|
* added validationFailed to stop time elapsed by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1328
|
||||||
|
* Refactored network persistance script by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1327
|
||||||
|
* #1331 :: Show warning message on UI after saving proxy by @AbhijeetThakur in https://github.com/platform9/vjailbreak/pull/1332
|
||||||
|
* no_proxy default values by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/1335
|
||||||
|
* Fixed migrationplan status based on all edge cases (combination of validationFailed, failed, suceeded, inprogress) by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1333
|
||||||
|
* Fix - Network persistence not working for older versions of ubuntu by @meghansh-pf9 in https://github.com/platform9/vjailbreak/pull/1338
|
||||||
|
* Vmware tools fix by @amar-chand in https://github.com/platform9/vjailbreak/pull/1267
|
||||||
|
* fix - Interfaces with no ip for ubuntu older versions getting default ip by @meghansh-pf9 in https://github.com/platform9/vjailbreak/pull/1340
|
||||||
|
|
||||||
|
|
||||||
|
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.3.7...v0.3.8
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
# v0.4.0
|
||||||
|
|
||||||
|
- **Tag:** `v0.4.0`
|
||||||
|
- **Published:** 2026-02-03T10:40:48Z
|
||||||
|
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.4.0
|
||||||
|
|
||||||
|
## Release Notes
|
||||||
|
|
||||||
|
## What's Changed
|
||||||
|
* Added link to public documentation in the ui by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1345
|
||||||
|
* #1336, #834 :: UI implement feedback changes by @AbhijeetThakur in https://github.com/platform9/vjailbreak/pull/1346
|
||||||
|
* Implement Storage SDK Foundation (#1091 #1093) - PART1 by @sanya-pf9 in https://github.com/platform9/vjailbreak/pull/1291
|
||||||
|
* continues the array-accelerated migration work by implementing the storage array gRPC server layer by @sanya-pf9 in https://github.com/platform9/vjailbreak/pull/1350
|
||||||
|
* Storage SDK Foundation - Part 3 -- removed all UI changes by @sanya-pf9 in https://github.com/platform9/vjailbreak/pull/1353
|
||||||
|
* Upload VDDK via UI. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/1319
|
||||||
|
* fix: Make VCENTER_DATACENTER optional in secret by @sanya-pf9 in https://github.com/platform9/vjailbreak/pull/1356
|
||||||
|
* Reverting 3 commits that introduced breaking changes by @sanya-pf9 in https://github.com/platform9/vjailbreak/pull/1357
|
||||||
|
* storage array integration by @sanya-pf9 in https://github.com/platform9/vjailbreak/pull/1361
|
||||||
|
* Added migration details modal by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1355
|
||||||
|
* remove stale folders from the project by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/1359
|
||||||
|
* Handled trailing slash in vCenter URL by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1349
|
||||||
|
* VDDK upload by @spai-p9 in https://github.com/platform9/vjailbreak/pull/1364
|
||||||
|
* Added more relevant option in MigrationForm by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1347
|
||||||
|
* Bug: Check for empty arraycreds secret ref when normal migration and change names. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/1369
|
||||||
|
* Restrict retry on rdm migration by @sanya-pf9 in https://github.com/platform9/vjailbreak/pull/1365
|
||||||
|
* Added validation for hotplug flavor discovery by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1360
|
||||||
|
* merge two common folders for better code structure by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/1379
|
||||||
|
* Added return to avoid segmentation fault or panic by @meghansh-pf9 in https://github.com/platform9/vjailbreak/pull/1387
|
||||||
|
* VM Migrations stats and alerts on grafana dashboards by @sanya-pf9 in https://github.com/platform9/vjailbreak/pull/1362
|
||||||
|
* #1368, #1367 date time selection is not working for scheduled cutover and copy start time by @AbhijeetThakur in https://github.com/platform9/vjailbreak/pull/1384
|
||||||
|
* feat: adding vddk upload status api by @sanya-pf9 in https://github.com/platform9/vjailbreak/pull/1377
|
||||||
|
* deterministic volume ordering during copy by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/1389
|
||||||
|
* UI: Create UI for storage accelerated copy. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/1378
|
||||||
|
* Added missing logs for better debugging by @geet-pf9 in https://github.com/platform9/vjailbreak/pull/1401
|
||||||
|
* feat: adding vddk version in the api by @sanya-pf9 in https://github.com/platform9/vjailbreak/pull/1397
|
||||||
|
* #731 :: [UI] add prompts for missing VDDK, credentials by @AbhijeetThakur in https://github.com/platform9/vjailbreak/pull/1372
|
||||||
|
* Fix - windows 2022 not able to recognise the network interfaces by @meghansh-pf9 in https://github.com/platform9/vjailbreak/pull/1382
|
||||||
|
* pass vminfo by reference and improve sync error handling by @spai-p9 in https://github.com/platform9/vjailbreak/pull/1391
|
||||||
|
* Reset currentState to initial in case of error and success by @spai-p9 in https://github.com/platform9/vjailbreak/pull/1404
|
||||||
|
* Implemented OpenStack token-based authentication by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1394
|
||||||
|
* feat: adding fuzzy search by @sanya-pf9 in https://github.com/platform9/vjailbreak/pull/1392
|
||||||
|
* Add VM power status check after poweroff by @spai-p9 in https://github.com/platform9/vjailbreak/pull/1405
|
||||||
|
* Make request limit configurable and increase limit to 5Gib by @spai-p9 in https://github.com/platform9/vjailbreak/pull/1407
|
||||||
|
* feat: Adding netapp storage.go by @sanya-pf9 in https://github.com/platform9/vjailbreak/pull/1399
|
||||||
|
* Mark migrations ValidationFailed when RDM disk is not managed by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1406
|
||||||
|
* Disabled hour-time-picker for scheduled cutover if minutes are disabled by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1415
|
||||||
|
* Fix issues in vddk upload page by @spai-p9 in https://github.com/platform9/vjailbreak/pull/1418
|
||||||
|
* fix: added buildBackendToVolumeTypeMap function and cleanup logic by @sanya-pf9 in https://github.com/platform9/vjailbreak/pull/1422
|
||||||
|
* #1424 :: The screen flickers first time when clicking on other Global Settings tabs while the VDDK upload is in progress or uploaded by @AbhijeetThakur in https://github.com/platform9/vjailbreak/pull/1429
|
||||||
|
* #1434 :: Add ESXi SSH Private Key Input Field to Storage Array Credentials Page by @AbhijeetThakur in https://github.com/platform9/vjailbreak/pull/1435
|
||||||
|
* Prioritizing Cold Migration in case of cutover options selected with cold migration by @meghansh-pf9 in https://github.com/platform9/vjailbreak/pull/1439
|
||||||
|
* #1444 :: Couldn't upload ssh key without an extension by @AbhijeetThakur in https://github.com/platform9/vjailbreak/pull/1447
|
||||||
|
* Throttling the go routines during copying changed block stage by @meghansh-pf9 in https://github.com/platform9/vjailbreak/pull/1446
|
||||||
|
* UI :: #1438 :: Admin cutover + cold migration is not a valid usecase by @AbhijeetThakur in https://github.com/platform9/vjailbreak/pull/1441
|
||||||
|
* #1430 :: Updating the vJailbreak settings through the UI removes ConfigMap keys that are not shown in the UI by @AbhijeetThakur in https://github.com/platform9/vjailbreak/pull/1436
|
||||||
|
|
||||||
|
## New Contributors
|
||||||
|
* @geet-pf9 made their first contribution in https://github.com/platform9/vjailbreak/pull/1401
|
||||||
|
|
||||||
|
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.3.8...v0.4.0
|
||||||
Reference in New Issue
Block a user