Skip to content

Commit c0fcae3

Browse files
committed
use bridge binding for Kubernetes VMs
Signed-off-by: Andrei Kvapil <[email protected]>
1 parent 9b6dd19 commit c0fcae3

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

‎packages/apps/kubernetes/Chart.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type: application
1616
# This is the chart version. This version number should be incremented each time you make changes
1717
# to the chart and its templates, including the app version.
1818
# Versions are expected to follow Semantic Versioning (https://semver.org/)
19-
version: 0.9.0
19+
version: 0.10.0
2020

2121
# This is the version number of the application being deployed. This version number should be
2222
# incremented each time you make changes to the application. Versions are not expected to

‎packages/apps/kubernetes/templates/cluster.yaml‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ spec:
1818
runStrategy: Always
1919
template:
2020
metadata:
21+
annotations:
22+
kubevirt.io/allow-pod-bridge-network-live-migration: "true"
2123
labels:
2224
{{- range .group.roles }}
2325
node-role.kubernetes.io/{{ . }}: ""
@@ -38,7 +40,9 @@ spec:
3840
disk:
3941
bus: virtio
4042
pciAddress: 0000:08:00.0
41-
networkInterfaceMultiqueue: true
43+
interfaces:
44+
- name: default
45+
bridge: {}
4246
memory:
4347
guest: {{ .group.resources.memory }}
4448
evictionStrategy: External
@@ -49,6 +53,9 @@ spec:
4953
- name: ephemeral
5054
emptyDisk:
5155
capacity: {{ .group.ephemeralStorage | default "20Gi" }}
56+
networks:
57+
- name: default
58+
pod: {}
5259
{{- end }}
5360
---
5461
apiVersion: cluster.x-k8s.io/v1beta1

0 commit comments

Comments
 (0)