GithubHelp home page GithubHelp logo

isabella232 / nodepacker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sourcegraph/nodepacker

0.0 0.0 0.0 34 KB

utility packs pods onto nodes

License: MIT License

Shell 11.05% Dhall 11.76% Go 77.20%

nodepacker's Introduction

nodepacker CI

WIP

Small utility packs pods onto nodes, computes optimal machine type and number of nodes necessary to run a k8s Sourcegraph installation.

Provides a REPL for a human operator to assist in packing decisions.

~/work/src/github.com/sourcegraph/nodepacker/cmd/nodepacker(main*) » go run .                                                                                                                                  uwe@maxx
nodepacker> manifests_read /Users/uwe/tmp/base
got the manifests
nodepacker> nodes_pack
replica count for indexed search is 15
cluster with 15 nodes of machine type {n1-standard-16, cpu: 16, mem: 60 GB}
Pod assignment as follows:
node-0: [indexed-search-0, gitserver-3], free {cpu: 5.4, mem: 27.9 GB}
node-1: [indexed-search-1, repo-updater, prometheus, precise-code-intel-worker, grafana], free {cpu: 8.3, mem: 34.07 GB}
node-2: [indexed-search-2, sourcegraph-frontend-1, searcher, precise-code-intel-bundle-manager], free {cpu: 8.3, mem: 40.8 GB}
node-3: [indexed-search-3, gitserver-7], free {cpu: 5.4, mem: 27.9 GB}
node-4: [indexed-search-4, gitserver-0], free {cpu: 5.4, mem: 27.9 GB}
node-5: [indexed-search-5, gitserver-6], free {cpu: 5.4, mem: 27.9 GB}
node-6: [indexed-search-6, gitserver-4], free {cpu: 5.4, mem: 27.9 GB}
node-7: [indexed-search-7, gitserver-2], free {cpu: 5.4, mem: 27.9 GB}
node-8: [indexed-search-8, gitserver-8], free {cpu: 5.4, mem: 27.9 GB}
node-9: [indexed-search-9, redis-store, redis-cache, query-runner, jaeger], free {cpu: 8.38, mem: 29.308 GB}
node-10: [indexed-search-10, gitserver-9], free {cpu: 5.4, mem: 27.9 GB}
node-11: [indexed-search-11, pgsql], free {cpu: 7.49, mem: 41.801 GB}
node-12: [indexed-search-12, sourcegraph-frontend-0, symbols, syntect-server, github-proxy], free {cpu: 8.35, mem: 38.95 GB}
node-13: [indexed-search-13, gitserver-1], free {cpu: 5.4, mem: 27.9 GB}
node-14: [indexed-search-14, gitserver-5], free {cpu: 5.4, mem: 27.9 GB}
nodepacker> 

nodepacker's People

Contributors

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