Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VMware docs for migrating existing docker compose projects to k3s #1209

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Hareet
Copy link
Member

@Hareet Hareet commented Oct 19, 2023

No description provided.

@Hareet Hareet self-assigned this Oct 19, 2023

We will want to copy the data from the recently shut-down VM above to a new vmdk disk file that we will mount onto our k3s control-plane server. Copying the disk will ensure we have a backup plan if anything goes wrong during our migration process. This will keep the original project data intact.

govc device.info -vm /<datacenter_name>/vm/<sub_dir>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Hareet I'd suggest changing this to govc device.info -vm /<datacenter_name>/vm/vm_name. sub_dir suggests a dir within a VM is being targeted by the command.


govc device.info -vm /<datacenter_name>/vm/<sub_dir>

Example of above output:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Hareet I propose changing this to Example *subset* of the above output highlighting the SAN disk to clarify that the output from this command is a lot more.


Take note of the .vmdk file name from the above output, as well as the datastore name.

govc datastore.ls -ds=<datastore_name> <sub-dir> .
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Hareet I had to specify the data centre to run this command successfully. Either export GOVC_DATACENTER=x or govc datastore.ls -dc=<datacenter_name> -ds=<datastore_name> <sub-dir> .

Base automatically changed from k3s-vmware to main November 28, 2023 02:13
@garethbowen
Copy link
Member

@Hareet Can you have a look at Reagan's suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants