-
Notifications
You must be signed in to change notification settings - Fork 1.9k
openshift-sdn to ovn-kubernetes migration testing feedback #24445
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
Changes from 3 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 |
|---|---|---|
|
|
@@ -26,7 +26,7 @@ Perform the migration only when an interruption in service is acceptable. | |
| . To backup the configuration for the cluster network, enter the following command: | ||
| + | ||
| ---- | ||
| $ oc get Network.config.openshift.io cluster -o yaml | ||
| $ oc get Network.config.openshift.io cluster -o yaml > cluster-openshift-sdn.yaml | ||
| ---- | ||
|
|
||
| . To enable the migration, set an annotation on the Cluster Network Operator configuration object by entering the following command: | ||
|
|
@@ -43,10 +43,10 @@ $ oc patch Network.config.openshift.io cluster \ | |
| --type='merge' --patch '{ "spec": { "networkType": "OVNKubernetes" } }' | ||
| ---- | ||
|
|
||
| . To confirm the migration disabled the OpenShift SDN default CNI network provider, enter the following command. It might take several moments for all the OpenShift SDN Pods to stop. | ||
| . To confirm the migration disabled the OpenShift SDN default CNI network provider and removed all OpenShift SDN Pods, enter the following command. It might take several moments for all the OpenShift SDN Pods to stop. | ||
| + | ||
| ---- | ||
| $ oc get pod -n openshift-sdn --watch | ||
| $ watch oc get pod -n openshift-sdn | ||
|
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. @dlbewley, what makes this preferable than
Contributor
Author
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. The condition the user wants to see is that all the pods are gone. Using If watch can be assumed to be broadly available I think the output is much more clear. |
||
| ---- | ||
|
|
||
| . To complete the migration, reboot each node in your cluster. For example, you could use a bash script similar to the following. The script assumes that you can connect to each host by using `ssh` and that you have configured `sudo` to not prompt for a password. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -39,10 +39,10 @@ $ oc patch Network.config.openshift.io cluster \ | |
| $ oc edit Network.config.openshift.io cluster | ||
| ---- | ||
|
|
||
| . To confirm that the migration disabled the OVN-Kubernetes default CNI network provider, enter the following command. It might take several moments for all the OVN-Kubernetes Pods to stop. | ||
| . To confirm that the migration disabled the OVN-Kubernetes default CNI network provider and removed all the OVN-Kubernetes pods, enter the following command. It might take several moments for all the OVN-Kubernetes Pods to stop. | ||
|
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. s/pods/Pods |
||
| + | ||
| ---- | ||
| $ oc get pod -n openshift-ovn-kubernetes --watch | ||
| $ watch oc get pod -n openshift-ovn-kubernetes | ||
| ---- | ||
|
|
||
| . To complete the rollback, reboot each node in your cluster. For example, you could use a bash script similar to the following. The script assumes that you can connect to each host by using `ssh` and that you have configured `sudo` to not prompt for a password. | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.