Skip to content

Instantly share code, notes, and snippets.

@jwmatthews
Created September 17, 2019 22:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jwmatthews/7312006b0716b7458d75846570df4571 to your computer and use it in GitHub Desktop.
Save jwmatthews/7312006b0716b7458d75846570df4571 to your computer and use it in GitHub Desktop.
$ oc get migplan -n openshift-migration -o yaml
apiVersion: v1
items:
- apiVersion: migration.openshift.io/v1alpha1
kind: MigPlan
metadata:
annotations:
touch: 7e2751c5-f625-4cd3-9615-defb02d67b9c
creationTimestamp: "2019-09-17T22:12:26Z"
generation: 14
name: migratesql
namespace: openshift-migration
resourceVersion: "10987478"
selfLink: /apis/migration.openshift.io/v1alpha1/namespaces/openshift-migration/migplans/migratesql
uid: 3b56f402-d998-11e9-a379-0a0df4d945b6
spec:
destMigClusterRef:
name: host
namespace: openshift-migration
migStorageRef:
name: s3store
namespace: openshift-migration
namespaces:
- mssql-persistent
persistentVolumes:
- capacity: 10Gi
name: vol51
pvc:
accessModes:
- ReadWriteOnce
name: mssql-pvc
namespace: mssql-persistent
selection:
storageClass: gp2
supported:
actions:
- copy
- move
srcMigClusterRef:
name: ocp3
namespace: openshift-migration
status:
conditions:
- category: Required
lastTransitionTime: "2019-09-17T22:12:26Z"
message: The `persistentVolumes` list has been updated with discovered PVs.
reason: Done
status: "True"
type: PvsDiscovered
- category: Error
lastTransitionTime: "2019-09-17T22:12:43Z"
message: PV in `persistentVolumes` [vol51] has an unsupported `action`.
reason: NotDone
status: "True"
type: PvInvalidAction
- category: Required
lastTransitionTime: "2019-09-17T22:12:26Z"
message: The storage resources have been created.
status: "True"
type: StorageEnsured
- category: Required
lastTransitionTime: "2019-09-17T22:12:27Z"
message: The migration registry resources have been created.
status: "True"
type: RegistriesEnsured
kind: List
metadata:
resourceVersion: ""
selfLink: ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment