Skip to content

Instantly share code, notes, and snippets.

@gqlo
gqlo / create_guest_cluster
Last active November 16, 2022 12:11
helper for launching kubevirt guest cluster
#!/bin/bash
#
# helper script to launch kubevirt guest clusters
export KUBEVIRT_CLUSTER_NAME=$1
export KUBEVIRT_CLUSTER_NAMESPACE="clusters-${KUBEVIRT_CLUSTER_NAME}"
export BASE_DOMAIN=$(oc get ingresscontroller -n openshift-ingress-operator default -o yaml | grep domain | awk '{print $2}')
export KUBEVIRT_CLUSTER_BASE_DOMAIN=${KUBEVIRT_CLUSTER_NAME}.${BASE_DOMAIN}
export PULL_SECRET="/root/alias-li/hypershift/pull-secret"
@gqlo
gqlo / final_report.md
Last active March 25, 2022 14:34
Final Report

Google Summer of Code 2020 @Libvirt

Salt Virt advanced performance tuning

The following table with 9 PRs summarize all the work I have done starting from the application date in early April. The objective is to make existing Libvirt API domain properties configurable in Salt Virt in order to support advanced performance tuning. 5 PRs have been merged so far and another 4 are under review. Significant refactorization was done after adding memory tune support. Although all basic unit tests have passed, I believe more rigorous tests are needed before using these features in production. Detailed explanation of each PR is shown after the table.

Sincere thanks to my mentors Cedric Bosdonnat (Opensuse), Pavel Hrdina (RedHat) and Tyler Jones (SaltStack) for their patient support and advice. Thank Pedro Algarvio (s0undt3ch), Wayne Werner (waynew), Daniel Wozniak (dwoz) Megan Wilhite (ch3ll) from SaltStack community for being very responsive on my questions and code reviews and Libvirt organisation fo