Skip to content

Incubating: A number of Kubernetes device-plugins developed and useful for KubeVirt

License

Notifications You must be signed in to change notification settings

msterin/kubernetes-device-plugins

 
 

Repository files navigation

Collection of Kubernetes Device Plugins

Build Status

EARLY STAGE PROJECT

(yes, the logo is literally photo of whiteboard drawing)

Logo

This repository aims to group various device plugins by providing unified handling for common patterns.

Current Device Plugins

Note: When testing these device plugins ensure to open the feature gate using kubelet's --feature-gates=DevicePlugins=true

Each plugin may have it's own build instructions in the linked README.md.

Creating Device Plugin

See Device Plugin Manager documentaion on https://godoc.org/github.com/kubevirt/device-plugin-manager/pkg/dpm

Develop

Build all plugins:

make build

Build specific plugins:

make build-vfio
make build-network-bridge

Test all modules:

make test

Test specific modules:

make test-cmd-vfio

Deploy local Kubernetes cluster:

make cluster-up

Destroy local Kubernetes cluster:

make cluster-down

Build all device plugin images and push them to local Kubernetes cluster registry:

make cluster-sync

Build specific device plugin image and push it to local Kubernetes cluster registry:

make cluster-sync-network-bridge

Access cluster kubectl:

./cluster/kubectl.sh ...

Access cluster node via ssh:

./cluster/cli.sh node01

Run e2e tests (on running cluster):

make functests

About

Incubating: A number of Kubernetes device-plugins developed and useful for KubeVirt

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 86.2%
  • Shell 5.5%
  • Python 3.9%
  • Makefile 3.7%
  • Dockerfile 0.7%