Giter Club home page Giter Club logo

probe's Introduction

Probe

Go Report Card

Probe is a simple tool to wait for access to network ports and sockets.

This tool is intended to be used in a Docker container right before launching the actual application. It helps ensure there is access to the network hosts or unix sockets the application requires, before the application is launched. This is especially usefull when using Kubernetes with a service mesh where network access may be blocked for a short period while proxy sidecars start up.

Usage

Probe currently supports TCP and Unix socket addresses.

Wait for localhost port 8080, google.com port 443 and the MySQL socket:

probe wait localhost:8080 tcp:google.com:443 unix:/var/run/mysqld.sock

To see more options, like logging and timeouts:

probe wait --help

Installation

Precompiled

There are procompiled binaries under releases.

Source

Requires go.

To retrieve, build and install the command, run:

go get -u github.com/taisph/probe/cmd/probe

probe's People

Contributors

taisph avatar

Watchers

 avatar  avatar

probe's Issues

Negative waitgroup panic

There's a single report on probe panicking with "negative waitgroup" using version 0.2.1. This could be related to the fix in #6.

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.