diff options
author | Todd Malsbary <todd.malsbary@intel.com> | 2021-09-09 11:24:45 -0700 |
---|---|---|
committer | Todd Malsbary <todd.malsbary@intel.com> | 2021-09-15 09:40:39 -0700 |
commit | 6027abb96369a30e6ccd3f747f4029e36232c0af (patch) | |
tree | f9c5ed58c4737e5728b67280debbba4b2eb034dd /kud/tests | |
parent | 5aa8c4de9fd620ef42ac5bf73b62f76d80e713a0 (diff) |
Fix KubeVirt and SR-IOV addon interaction
SR-IOV wants to drain the nodes during reconciliation of SriovNetwork
resources, while KubeVirt wants to keep at least one instance running
at all times via a PodDisruptionBudget.
KubeVirt's behavior is not customizable, so split the addons into
different composite apps that allow finer control of the instantiation
order.
Issue-ID: MULTICLOUD-1324
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I15c5cec3ef524b0b1d60dc201e04157272cbe376
Diffstat (limited to 'kud/tests')
-rwxr-xr-x | kud/tests/plugin_fw_v2.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kud/tests/plugin_fw_v2.sh b/kud/tests/plugin_fw_v2.sh index abab9004..f19e0f90 100755 --- a/kud/tests/plugin_fw_v2.sh +++ b/kud/tests/plugin_fw_v2.sh @@ -223,6 +223,10 @@ else KUBECONFIG=$file kubectl get providernetwork emco-private-net -o name KUBECONFIG=$file kubectl get providernetwork unprotected-private-net -o name done + # Give some time for the Pods to show up on the clusters. kubectl + # wait may return with "error: no matching resources found" if the + # Pods have not started yet. + sleep 30s for name in $(cluster_names); do print_msg "Wait for all pods to start on cluster $name" file=$(cluster_file "$name") |