Git Product home page Git Product logo

net-debug's Introduction

Discord

net-debug

Description

Assorted network debugging goodies, like tcpdump, socat/websocat, iperf, nmap, nslookup, dig, tcpreplay, and ping/traceroute, all packaged in a self-contained Docker image. The intended use is to sideload the container as a sidecar to Kubernetes pods in order to debug network reachability and performance issues.

Usage example

This Deployment starts a net-debug pod in host network:

apiVersion: apps/v1
kind: Deployment
metadata:
  name: net-debug
spec:
  selector:
    matchLabels:
      app: net-debug
  replicas: 1
  template:
    metadata:
      labels:
        app: net-debug
    spec:
      hostNetwork: true
      containers:
      - name: net-debug
        image: docker.io/l7mp/net-debug

Help

Development is coordinated in Discord, feel free to join.

License

MIT License - see LICENSE for full text.

net-debug's People

Contributors

levaitamas avatar

Watchers

 avatar  avatar  avatar  avatar

net-debug's Issues

Rebase to Alpine

The current image size is ~200 MB. The image is based on debian:stable-slim. A straightforward way to reduce size is to rebase to alpine.

Originally proposed in #1.

this and that

In the Dockerfile:

  • iproute2 is listed twice in the apt-get command
  • wouldn't starting from alpine result in a smaller size?
  • I'd like to see 'bmon' added. I use it from time to time. It's small, simple, and mostly works.

Can you create an automated release process that puts an image into a docker repository? so we could 'docker pull l7mp/net-debug:latest' or something similar.

Thanks a million

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.