Giter Site home page Giter Site logo

feather's Introduction

Feather

This is modified FLEDGE implementation based on the one written by Tom Goethals. It makes great use of virtual-kubelet to keep the code that is out of the scope of FLEDGE to a minimum.

Because source of the virtual-kubelet cli of is particularly useful, the code is used as a starting point.

Configuration

Certificates can be found on the master node at /etc/kubernetes/pki.

Building

Executing the provided script builds Feather for both arm64 and amd64.

$ ./scripts/build.sh

Deployment

Feather can either be deployed temporarily, or as a systemd service.

Temporarily

The scripts/deploy.sh script builds Feather and copies it over to the worker node. Currently the worker node is hard-coded as worker0, but this can be changed as required.

$ ./scripts/deploy.sh --log-level=info --config=default.json --provider=backend
Systemd Service

In order to persistently deploy Feather, it can be deployed as a systemd service. An example systemd configuration for this service is shown below.

# /lib/systemd/system/feather.service
[Unit]
Description=feather virtual kubelet
After=network.target local-fs.target

[Service]
Type=simple
WorkingDirectory=/users/maxidcle/
Environment="KUBECONFIG=/users/maxidcle/.kube/kubeconfig.yml" "KUBERNETES_SERVICE_HOST=10.2.0.118" "KUBERNETES_SERVICE_PORT=6443"
ExecStart=/usr/bin/feather --log-level=info --config=default.json --provider=backend
Restart=always
RestartSec=5
LimitNPROC=infinity
LimitCORE=infinity
LimitNOFILE=infinity
TasksMax=infinity
OOMScoreAdjust=-999

[Install]
WantedBy=multi-user.target

feather's People

Contributors

jordithijsman 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.