File tree 3 files changed +7
-10
lines changed
3 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ teardown() {
12
12
}
13
13
14
14
main () {
15
- export KUBEVIRT_PROVIDER=' k8s-1.23 '
15
+ export KUBEVIRT_PROVIDER=' k8s-1.26-centos9 '
16
16
17
17
source automation/setup.sh
18
18
cd ${TMP_PROJECT_PATH}
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- export KUBEVIRT_PROVIDER=${KUBEVIRT_PROVIDER:- ' k8s-1.23 ' }
16
- export KUBEVIRTCI_TAG=2211021552-8cca8c0
15
+ export KUBEVIRT_PROVIDER=${KUBEVIRT_PROVIDER:- ' k8s-1.26-centos9 ' }
16
+ export KUBEVIRTCI_TAG=2305081329-48e913c
17
17
18
18
KUBEVIRTCI_REPO=' https://github.com/kubevirt/kubevirtci.git'
19
19
# The CLUSTER_PATH var is used in cluster folder and points to the _kubevirtci where the cluster is deployed from.
Original file line number Diff line number Diff line change @@ -23,15 +23,12 @@ $(cluster::path)/cluster-up/up.sh
23
23
24
24
echo ' Installing Open vSwitch on nodes'
25
25
for node in $( ./cluster/kubectl.sh get nodes --no-headers | awk ' {print $1}' ) ; do
26
- ./cluster/cli.sh ssh ${node} -- sudo dnf install -y centos-release-nfv-openvswitch
27
- ./cluster/cli.sh ssh ${node} -- sudo dnf install -y openvswitch2.16 dpdk
28
26
./cluster/cli.sh ssh ${node} -- sudo systemctl daemon-reload
27
+ ./cluster/cli.sh ssh ${node} -- sudo systemctl enable openvswitch
29
28
./cluster/cli.sh ssh ${node} -- sudo systemctl restart openvswitch
29
+ ./cluster/cli.sh ssh ${node} -- sudo systemctl restart NetworkManager
30
30
done
31
31
32
32
echo ' Deploying multus'
33
- curl https://raw.githubusercontent.com/k8snetworkplumbingwg/multus-cni/v3.9.1/deployments/multus-daemonset.yml -o cluster/multus-daemonset.yml
34
- MULTUS_IMAGE=ghcr.io/k8snetworkplumbingwg/multus-cni:v3.9
35
- sed -i " s#ghcr.io/k8snetworkplumbingwg/multus-cni:stable\$ #$MULTUS_IMAGE #" cluster/multus-daemonset.yml
36
- ./cluster/kubectl.sh create -f cluster/multus-daemonset.yml
37
- ./cluster/kubectl.sh -n kube-system wait --for=condition=ready -l name=multus pod --timeout=300s
33
+ ./cluster/kubectl.sh apply -f https://raw.githubusercontent.com/k8snetworkplumbingwg/multus-cni/v4.0.1/deployments/multus-daemonset-thick.yml
34
+ ./cluster/kubectl.sh -n kube-system rollout status daemonset kube-multus-ds --timeout 300s
You can’t perform that action at this time.
0 commit comments