server_kube

command
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: 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 etcd 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 flagz endpoint http://0.0.0.0:8080/debug/flagz

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