Giter VIP home page Giter VIP logo

node-discovery's Introduction

This is the Node Discovery service. The purpose of this service is to provide a means by which a node can discover information about its hardware or network state. The service periodically updates a set of labels it maintains, and feeds these back into kubernetes. Services can rely on the existence of these labels for purposes of allocation.

The Node Discovery service is implemented as a daemonset, and is expected to run on every node in the cluster. It periodically updates the information about a node as it changes. One particular use for this is for when a network comes online or offline; this service will allow for kubernetes to dynamically reallocate pods to different hardware should a network become disconnected.

The first specific usecase for this service will be for the identification of attached networks that a node has. The immediate use of this information will be in determining if a pod or service can run as part of the attached High Speed Network, the Site Network, the Hardware Network, or the Node Management Network -- or any other network that is attached to a node.

It is up to individual services to rely on the information provided by this service through Node Label Selection.

This project is implemented in the spirit of the node-feature-discovery project (https://github.com/kubernetes-incubator/node-feature-discovery). Currently, the node-feature-discovery project is largely involved in hardware identification. Information provided by the upstream node-feature-service should be preferred over implementation of labels provied by Cray's own Node Discovery service. It is intended that Cray's maintained version of this software deprecate features when parity is reached in the upstream version in order to decrease the cost of ownership. This project includes a copy of the Node Discovery Service when run so that both sets of data are provided to all nodes.

Running tests:

docker build . -t node-discovery-testing --target testing &&
 docker run --rm -v $PWD/results:/results node-discovery-testing &&
 docker build . -t node-discovery-codestyle --target codestyle &&
 docker run --rm -v $PWD/results:/results node-discovery-codestyle

node-discovery's People

Contributors

bo-quan avatar kimjensen-hpe avatar brantk-hpe avatar mtupitsyn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.