-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: Ashley <[email protected]>
…er compose to a k3s setup
|
||
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> |
There was a problem hiding this comment.
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: |
There was a problem hiding this comment.
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> . |
There was a problem hiding this comment.
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> .
@Hareet Can you have a look at Reagan's suggestions? |
No description provided.