Bug 1971326 - [DOC][MTV][API] Update custom resource creation example for Plan CR
Summary: [DOC][MTV][API] Update custom resource creation example for Plan CR
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Migration Toolkit for Virtualization
Classification: Red Hat
Component: Documentation
Version: 2.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 2.0.0
Assignee: Avital Pinnick
QA Contact: Maayan Hadasi
Avital Pinnick
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-13 16:28 UTC by Maayan Hadasi
Modified: 2021-06-15 08:49 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-15 08:49:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Maayan Hadasi 2021-06-13 16:28:17 UTC
Description of problem:

Documentation link: https://access.redhat.com/documentation/en-us/migration_toolkit_for_virtualization/2.0/html-single/installing_and_using_the_migration_toolkit_for_virtualization/index?lb_target=stage

Section to update:
------------------
3.3. Migrating virtual machines from the command line interface

What to Change:
---------------
Update the CR creation example for Plan:

cat << EOF | oc apply -f -
---
apiVersion: forklift.konveyor.io/v1beta1
kind: Plan
metadata:
  name: <plan_name>
  namespace: openshift-mtv
spec:
  provider:
    source:
      name: vmware-provider
      namespace: openshift-mtv
    destination:
      name: destination-cluster
      namespace: openshift-mtv
  warm: true
  map:
    network:
      name: <networkmap_name>
      namespace: openshift-mtv
    storage:
      name: <storagemap_name>
      namespace: openshift-mtv
  targetNamespace: openshift-mtv
  vms: 
    - id: <source_vm_mor> 
    - name: <source_vm_name>
EOF

Comment 2 Avital Pinnick 2021-06-15 08:49:43 UTC
Changes merged.


Note You need to log in before you can comment on or make changes to this bug.