-
Notifications
You must be signed in to change notification settings - Fork 24
Update cloneable-vms.md #451
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -43,20 +43,21 @@ as an example. | |
| name: sourcevm | ||
| namespace: tenant-root | ||
| spec: | ||
| external: true | ||
| externalMethod: PortList | ||
| disks: | ||
| - name: ubuntu-source | ||
| externalPorts: | ||
| - 22 | ||
| disks: | ||
| - name: ubuntu-source | ||
| instanceProfile: ubuntu | ||
| instanceType: "" | ||
| running: true | ||
| runStrategy: Once | ||
| sshKeys: | ||
| - <paste your ssh public key here> | ||
| external: true | ||
| resources: | ||
| cpu: "2" | ||
| memory: 4Gi | ||
| sockets: "1" | ||
| ``` | ||
|
Comment on lines
+46
to
61
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Description: Search for runStrategy usage patterns in the codebase and check for KubeVirt documentation
# Search for other runStrategy examples in documentation
echo "=== Searching for runStrategy usage in docs ==="
rg -n 'runStrategy:' --type=md
# Search for running: true usage in documentation
echo -e "\n=== Searching for running: true usage in docs ==="
rg -n 'running:\s*true' --type=md
# Search for instanceType examples
echo -e "\n=== Searching for instanceType usage patterns ==="
rg -nC2 'instanceType:' --type=mdRepository: cozystack/website Length of output: 5857 🌐 Web query:
💡 Result:
Difference:
|
||
|
|
||
| When VM is created, it will get load balancer external IP address. You can get it using: | ||
|
|
@@ -140,14 +141,20 @@ as an example. | |
| spec: | ||
| external: true | ||
| externalMethod: PortList | ||
| externalPorts: | ||
| - 22 | ||
| cloudInit: "hostname: my-cloned-vm" | ||
| cloudInitSeed: "1" | ||
| cloudInitSeed: "1" # This must be unique! | ||
| disks: | ||
| - name: ubuntu-cloned-1 | ||
| externalPorts: | ||
| - 22 | ||
| instanceProfile: ubuntu | ||
| running: true | ||
| instanceType: "" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Using |
||
| runStrategy: Once | ||
| resources: | ||
| cpu: "2" | ||
| memory: 4Gi | ||
| sockets: "1" | ||
|
|
||
| ``` | ||
|
|
||
| To ensure the cloned VM's network functions correctly, you must override its `hostname` via `.spec.cloudInit` and | ||
|
|
||
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.
🧩 Analysis chain
🏁 Script executed:
Repository: cozystack/website
Length of output: 5800
Update other documentation files to maintain consistency.
This PR updates the VMInstance examples to use
runStrategyinstead ofrunning: true. However, several other v1 documentation files still use the oldrunning: truefield, creating inconsistency:content/en/docs/v1/virtualization/proxmox-migration.md(line 137)content/en/docs/v1/virtualization/windows.md(line 94)content/en/docs/v1/virtualization/mikrotik.md(line 62)content/en/docs/v1/virtualization/gpu.md(line 146)Consider updating these files in a follow-up PR to ensure consistent guidance across all documentation.
🤖 Prompt for AI Agents