cloud-resource-scheduling-and-isolation

module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: Apache-2.0

README

IO Driver

The IO dirver is responsible for profiling nodes' disk capacity at initial phase, monitoring and reporting each disk’s normalized available IO capacity at runtime. The IO driver is supposed to be implemented by disk IO vendors. This is a reference implementation of IO driver. This implementation is developed for disk IO aware scheduler.

Tutorial

This IO driver reports a fake device to API server through NodeDiskDevice CR. Moreover, it caches the reserved pods on node and update node's available capacity by listing and watching the creation and updation of NodeDiskIOStats CR. Here are the steps to deploy it.

  1. Build and upload the docker image. Replace <Your-Corperate-Proxy> and <IMAGE REGISTRY> with the actual value/
HTTPS_PROXY=<Your-Corperate-Proxy> REPO_HOST=<IMAGE REGISTRY> make image 
REPO_HOST=<IMAGE REGISTRY> make push_image
  1. Deploy IO driver in an existing k8s cluster.
kubectl create ns ioi-system
kubectl apply -f manifests/cluster_role.yaml
kubectl apply -f manifests/daemonset.yaml

Directories

Path Synopsis
cmd
pkg
generated/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
generated/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
generated/clientset/versioned/typed/diskio/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
generated/clientset/versioned/typed/diskio/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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