Giter Site home page Giter Site logo

kapo's Introduction

About Me

I've been putting and keeping things on the Internet for 20 years, including back-end game infrastructure on various and varied platforms, and a prominent consumer IoT platform, amongst others.

The first software I ever released was Shareware for the ATARI ST. The first job I ever had was writing IBM S/390 Assembler. Since then I've been through C, Perl, Ruby. Today I mainly write Go.

I'm an SRE. I write software to automate the provisioning and maintenance of Cloud Infrastructure. In general, that's the easy bit.

If you've read this far then I can trust you enough to tell you I'm also the original author of runson.cloud, although that project has long since been taken over by other maintainers.

kapo's People

Contributors

dependabot[bot] avatar sampointer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ferhimedamine

kapo's Issues

STDOUT/STDERR pass-through for wrapped command

First of all, thank you for releasing kapo. It matches perfectly the use case of remotely health checking applications/containers of non-network based apps.

We intent to use it for some Sidekiq dedicated containers but we couldn't find a way to keep sidekiq's original stdout/stderr logging. The moment container starts, its logging is suppressed by kapo. Just an excerpt from docker-compose logs sidekiq:

...
sidekiq_1        | Bundled gems are installed into /usr/local/bundle.
sidekiq_1        | INFO[0000] binding to 0.0.0.0:6666                      
sidekiq_1        | INFO[0000] running /usr/local/bin/bundle exec sidekiq   

When we run sidekiq without kapo, we have all stdout/stderr passed to docker logs successfully:

...
sidekiq_1        | Bundled gems are installed into /usr/local/bundle.
sidekiq_1        | 2017-06-28T12:13:39.102Z 51 TID-7bn68 INFO: Booting Sidekiq 5.0.0 with redis options {:url=>"redis://redis:6379/2"}
sidekiq_1        | 
sidekiq_1        | 
sidekiq_1        |          m,
sidekiq_1        |          `$b
sidekiq_1        |     .ss,  $$:         .,d$
sidekiq_1        |     `$$P,d$P'    .,md$P"'
sidekiq_1        |      ,$$$$$bmmd$$$P^'
sidekiq_1        |    .d$$$$$$$$$$P'
sidekiq_1        |    $$^' `"^$$$'       ____  _     _      _    _
sidekiq_1        |    $:     ,$$:       / ___|(_) __| | ___| | _(_) __ _
sidekiq_1        |    `b     :$$        \___ \| |/ _` |/ _ \ |/ / |/ _` |
sidekiq_1        |           $$:         ___) | | (_| |  __/   <| | (_| |
sidekiq_1        |           $$         |____/|_|\__,_|\___|_|\_\_|\__, |
sidekiq_1        |         .d$$                                       |_|
sidekiq_1        | 
sidekiq_1        | 2017-06-28T12:13:39.291Z 51 TID-7bn68 INFO: Running in ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
sidekiq_1        | 2017-06-28T12:13:39.291Z 51 TID-7bn68 INFO: See LICENSE and the LGPL-3.0 for licensing details.
sidekiq_1        | 2017-06-28T12:13:39.291Z 51 TID-7bn68 INFO: Upgrade to Sidekiq Pro for more features and support: http://sidekiq.org
...

Does kapo have any runtime option enabling stdout/stderr passthrough or is this something out of scope?

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.