kubevirt / kubernetes-device-plugins

Incubating: A number of Kubernetes device-plugins developed and useful for KubeVirt
MIT License
44 stars 37 forks source link
device-plugin incubating kubernetes

This repository was archived

Please read https://github.com/kubevirt/kubernetes-device-plugins/issues/64.

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