Giter Site home page Giter Site logo

virtuslab / ergaleia Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codem8s/ergaleia

2.0 8.0 1.0 71 KB

Kubernetes toolbox in a pod, Sysdig and friends

License: Apache License 2.0

Makefile 80.19% Shell 2.44% Dockerfile 17.37%
kubernetes sysdig docker linux

ergaleia's Introduction

ergaleia

Version Build Status

Kubernetes toolbox in a pod, with Sysdig and friends

Installation and Usage

kubectl apply -f https://raw.githubusercontent.com/virtuslab/ergaleia/master/kubernetes/ergaleia.yaml
kubectl exec -n toolbox -it ergaleia-0 bash

Note: to use with PodSecurityPolicy you need to provide a priviledged policy and role shown in privileged-psp.yaml

Removal

When you are done with ergaleia you the best way to remove it is be running:

kubectl delete -f https://raw.githubusercontent.com/virtuslab/ergaleia/master/kubernetes/ergaleia.yaml

Sysdig

To run csysdig with a Kubernetes service token, here's an alias:

ksysdig

kubectl

The command will get its credentials from the service token, no special configuration needed:

kubectl version

Packages and binaries

The image is based on Debian, so if there's anything missing just use apt.

Most important pre-installed commands:

  • sysdig and csysdig
  • kubectl
  • docker

Other selected pre-installed commands:

  • vim
  • curl
  • gcc
  • less
  • dig and nslookup
  • telnet
  • tcpdump
  • traceroute
  • tracepath
  • nmap
  • wget
  • socat
  • ssh
  • git

Usage with a custom image repository

make docker-build -e KUBERNETES_VERSION=stable DOCKER_REGISTRY=custom.example.com REPO=my/ergaleia
docker login
make docker-push -e KUBERNETES_VERSION=stable DOCKER_REGISTRY=custom.example.com REPO=my/ergaleia

Similar projects

ergaleia's People

Contributors

pawelprazak avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

warmchang

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.