Skip to content
/ hello Public

A simple web server with configuration knobs for demonstrating k8s configuration.

License

Notifications You must be signed in to change notification settings

monopole/hello

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello

A simple web server with some configuration knobs, for use in practicing configuration.

The server emits a page that contains its version, followed by a greeting, followed by the value specified in request path.

A request path of /quit exits the server.

Configuration Knobs

  • Integer port flag, default 8080.

  • A hard-coded version const set to zero, change it to make ambiguous differences between binaries.

  • Boolean flag enableRiskyFeature, default false. If enabled, the greeting is italicized.

  • Environment variable ALT_GREETING. If set, the value overrides the default greeting Hello.

Instructions to containerize the hello server are here.

About

A simple web server with configuration knobs for demonstrating k8s configuration.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages