Skip to content

Instantly share code, notes, and snippets.

@oshoval
Last active July 10, 2025 10:17
Show Gist options
  • Select an option

  • Save oshoval/7d2e677be4c2fc8c806d2d2f270350e8 to your computer and use it in GitHub Desktop.

Select an option

Save oshoval/7d2e677be4c2fc8c806d2d2f270350e8 to your computer and use it in GitHub Desktop.
OVN + HCO upstream
#!/bin/bash
cd /root/go/src/github.com/ovn-kubernetes
unset KUBECONFIG
# removed -ikv, will be installed by HCO
pushd contrib; ./kind.sh --multi-network-enable -nse -lr -i6 -ic; popd
export KUBECONFIG=$(realpath ~/ovn.conf)
oc delete ds -n kube-system kube-multus-ds
cd /root/go/src/github.com/kubevirt/hyperconverged-cluster-operator
# TODO possible improvement - push to local registry
export REGISTRY_NAMESPACE=oshoval
export IMAGE_REGISTRY=quay.io
export KUBEVIRT_PROVIDER=external
make cluster-sync
oc annotate hco kubevirt-hyperconverged -n kubevirt-hyperconverged deployPasstNetworkBinding=true --overwrite
oc apply -f https://gist.githubusercontent.com/oshoval/a59e44aad08c280392adb078bba353a0/raw/1f62a1aa18b44f29a8d9c5c56264113cef454e36/passt.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment