-
Notifications
You must be signed in to change notification settings - Fork 1.8k
OSDOCS#39419: Fixing procedure for creating live migration policies #78982
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
Conversation
/lgtm |
/label peer-review-needed |
/remove-label peer-review-needed /label peer-review-in-progress |
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.
Hi @jherrman . Please squash the commits. I see 5 commits lists on the Commits tab.
/remove-label peer-review-in-progress
/label peer-review-done
@@ -6,7 +6,7 @@ | |||
[id="virt-configuring-a-live-migration-policy_{context}"] | |||
= Creating a live migration policy by using the command line | |||
|
|||
You can create a live migration policy by using the command line. A live migration policy is applied to selected virtual machines (VMs) by using any combination of labels: | |||
You can create a live migration policy by using the command line. KubeVirt applies live migration policy to selected virtual machines (VMs) by using any combination of labels: |
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.
You can create a live migration policy by using the command line. KubeVirt applies live migration policy to selected virtual machines (VMs) by using any combination of labels: | |
You can create a live migration policy by using the command line. KubeVirt applies the live migration policy to selected virtual machines (VMs) by using any combination of labels: |
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.
Good catch, will fix!
labels: | ||
kubevirt.io/domain: <vm-name> | ||
kubevirt.io/size: large | ||
kubevirt.io/environment: production |
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.
This might not be a complete YAML example, so consider ending the YAML with:
...
This syntax aligns with the following guideline:
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.
You're right, it's not complete, will indicate as much in the codeblock
template: | ||
metadata: | ||
labels: | ||
kubevirt.io/domain: <vm-name> |
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.
kubevirt.io/domain: <vm-name> | |
kubevirt.io/domain: <vm_name> |
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.
In two locations.
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.
Forgot about https://github.com/openshift/openshift-docs/blob/main/contributing_to_docs/doc_guidelines.adoc#command-syntax-for-replaceable-values , thank you for the reminder!
@@ -36,8 +68,7 @@ spec: | |||
hpc-workloads: "True" | |||
xyz-workloads-type: "" | |||
virtualMachineInstanceSelector: <2> | |||
workload-type: "db" | |||
operating-system: "" | |||
"kubevirt.io/environment": "production" |
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.
Parentheses required here? I do not see them used in the other example.
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.
AFAIK it should work either way, but you're right that for consistency, it'd be better if they weren't there.
Thanks for the quick review Darragh! I was planning to squash the commits before submitting for merge review (since it seems rather counter-productive at any point before that). |
New changes are detected. LGTM label has been removed. |
@jherrman: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
/label merge-review-needed |
/cherrypick enterprise-4.15 |
@kcarmichael08: new pull request created: #79854 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/cherrypick enterprise-4.16 |
/cherrypick enterprise-4.17 |
@kcarmichael08: new pull request created: #79856 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@kcarmichael08: new pull request created: #79857 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Version(s):
4.15 and later
Issue:
https://issues.redhat.com/browse/CNV-39419
Link to docs preview:
https://78982--ocpdocs-pr.netlify.app/openshift-dedicated/latest/virt/live_migration/virt-configuring-live-migration.html
https://78982--ocpdocs-pr.netlify.app/openshift-enterprise/latest/virt/live_migration/virt-configuring-live-migration.html
https://78982--ocpdocs-pr.netlify.app/openshift-rosa/latest/virt/live_migration/virt-configuring-live-migration.html
QE review: