Giter VIP home page Giter VIP logo

nix-kubernetes's Introduction

nix-kubernetes NPM version Build Status Dependency Status Coverage percentage

Kubernetes deployment manager written in nix

Installation

$ npm install -g nix-kubernetes

Usage

Usage: /home/offlinehacker/.npm/bin/nix-kubernetes <command> [options]

Commands:
  create <file>   Create deployment
  list            List all known deployments
  delete          Delete deployment
  describe        Describes deployment
  deploy          Deploy configuration
  run-job <name>  Run distributed kubernetes job

Options:
  -c, --config  path to configuration file
                                        [default: "~/.kube/nix-kubernetes.json"]
  -h, --help    Show help                                              [boolean]

Examples:
  /home/offlinehacker/.npm/bin/nix-kuberne  create deployment
  tes create -d name deploy.nix
  /home/offlinehacker/.npm/bin/nix-kuberne  deploy resources
  tes deploy -d name -n namespace
  /home/offlinehacker/.npm/bin/nix-kuberne  only build
  tes deploy -d name --build-only

Example usage

$ nix-kubernetes create -d gatehub deploy.nix
$ export NIX_PATH="services=/home/offlinehacker/projects/x-truder.net/services:$NIX_PATH"
$ nix-kubernetes deploy -d gatehub --build-only
$ nix-kubernetes deploy -d gatehub -n namespace

Example deployment configurations

look into examples folder with example deployment configurations. Repo with bundle of nix-kubernetes services is avalible on https://github.com/x-truder/services.

Development

Use development version

$ npm link
$ export PATH=~/.npm/bin:$PATH

Build deployments

$ nix-build -A staging --arg configuration deploy.nix

License

MIT © Jaka Hudoklin

nix-kubernetes's People

Contributors

matejc avatar offlinehacker avatar

Watchers

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