network-slirp-binding

command
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

README

KubeVirt Network Slirp Binding Plugin

Summary

Slirp network binding plugin configures VMs Slirp interface using Kubevirts hook sidecar interface.

It will be used by Kubevirt to offload slirp networking configuration.

NOTE: Slirp network binding is supported for pod network interfaces only.

How to use

Register the slirp binding plugin with its sidecar image:

apiVersion: kubevirt.io/v1
kind: KubeVirt
metadata:
  name: kubevirt
  namespace: kubevirt
spec:
  configuration:
    network:
      binding:
        slirp:
          sidecarImage: registry:5000/kubevirt/network-slirp-binding:devel
  ...

In the VM spec, set interface to use slirp binding plugin:

apiVersion: kubevirt.io/v1
kind: VirtualMachineInstance
metadata:
  name: vmi-slirp
spec:
  domain:
    devices:
      interfaces:
      - name: slirp
        binding:
          name: slirp
  ...
  networks:
  - name: slirp-net
    pod: {}
  ...

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL