openyurtio / node-resource-manager

Node-resource-manager manages local node resources of OpenYurt cluster in a unified manner.
Apache License 2.0
12 stars 5 forks source link
localstorage

openyurtio/node-resource-manager

[![Version](https://img.shields.io/badge/NodeResourceManager-v0.1.0-orange)]() [![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html) [![Go Report Card](https://goreportcard.com/badge/github.com/openyurtio/node-resource-manager)](https://goreportcard.com/report/github.com/openyurtio/node-reource-manager) [![codecov](https://codecov.io/gh/openyurtio/node-resource-manager/branch/main/graph/badge.svg)](https://codecov.io/gh/openyurtio/node-resource-manager)

English | 简体中文

Node-resource-manager manages local node resources of OpenYurt cluster in a unified manner.

It currently manages:

The majority function consists of:

You can define the spec of local resources by simply modifying the pre-defined ConfigMap.

Node-resource-manager has the following advantages in terms of compatibility and usability.

Architecture

The component consists of two parts, the first part is the ConfigMap named node-resource-topo in kube-system namespace, and the second is the node-resource-manager DaemonSet deployed in kube-system namespace. Node-resource-manager on each node mounts and reads the node-resource-topo ConfigMap to managed local resources.

Getting started

  1. Create node-resource-topo ConfigMap in kube-system namespace. ConfigMap example is in configmap.md.

    kubectl apply -f deploy/configmap.yaml
  2. Deploy node-resource-manager DaemonSet.

kubectl apply -f deploy/nrm.yaml

Developer guide

Please refer to developer-guide.md for developing and building the project.

Roadmap

2021 Roadmap