Skip to content

A simple http service based on Go, which containerlized with lots of network commands. It may be helpful to test the network in kubernetes or container.

Notifications You must be signed in to change notification settings

eucham/simple-http-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Http Server

A simple http service based on Go, which containerized with lots of network commands. It may be helpful to test the network in kubernetes or container.

Usage

To start a deployment of simple http server, just run:

kubectl apply -f \
  https://raw.githubusercontent.com/eucham/simple-http-server/master/shs-dep.yaml

If you can't reach out image registry or Internet, maybe you need to pull the image to your local machine, and then save it as a tar file, push it to your target, lastly import the tar file as an image, commands are as follows:

docker pull ghcr.io/eucham/shs:latest
docker save -o shs.tar ghcr.io/eucham/shs:latest
# transfer shs.tar to your target machine
ctr -n k8s.io image import shs.tar

Commands Inside

  • bridge-utils
  • dnsutils
  • iproute2
  • netcat
  • tcpdump
  • inetutils - ping telnet traceroute
  • zsh
  • curl
  • wget
  • git
  • vim
  • tree
  • jq
  • yq

Alternative

Simple Http Server's image was pushed to ghcr.io(Default in repo yaml) and docker.io, you can get it by 2 ways as follows:

  • ghcr.io/eucham/shs:latest
  • docker.io/eucham/shs:latest

About

A simple http service based on Go, which containerlized with lots of network commands. It may be helpful to test the network in kubernetes or container.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages