zdp

module
v0.0.0-...-7032fa4 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 License: MIT

README

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

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

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