server_kube

command
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2020 License: Apache-2.0, Apache-2.0 Imports: 8 Imported by: 0

README

Kubernetes ConfigMap example

  • You need docker and kubernetes. Docker Desktop, or you can use docker and minikube
  • initialize empty tmp mapping mkdir -p /tmp/foobar for kubernetes
  • run the server go run .

you should see the following:

server2020/07/15 13:14:08 Now watching /tmp and /tmp/foobar
server2020/07/15 13:14:08 configmap flag value watching initialized
server2020/07/15 13:14:08 starting watching
server2020/07/15 13:14:08 Serving at: 0.0.0.0:8080
  • see port you are serving
  • visit the debug dflag endpoint http://0.0.0.0:8080/debug/dflag

Should see this if successful: screenshot

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL