Skip to content

suchoss/k8s-envoy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

k8s-envoy

Simple go api to test Kubernetes settings.

It runs on port 8000.

Api functions:

Everything is http GET request.

  • / - returns simple hello world text
  • /envs - returns all environmental variables in container
  • /readdir - lists directory content. Example: localhost:8000/readdir?q=/tmp
  • /readfile - reads file content. Example: localhost:8000/readfile?q=/tmp/filename.txt
  • /healthcheckok - always returns status 200
  • /healthcheckfail - for first 3 minutes returns status 200, after that it returns status 400

Maybe i might add also ping function to try ping other containers inside kubernetes.

About

Simple go api to test Kubernetes settings.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors