/go-demo

Just a demo service to illustrate Kubernetes GitOps principles.

Primary LanguageGoApache License 2.0Apache-2.0

go-demo

This is a simple demo service for a Kubernetes pipeline.

Requirements

This requires a configured Redis server.

Building

$ go build ./cmd/go-demo

Testing

TEST_REDIS_URL=redis://localhost:6379  go test ./...

If TEST_REDIS_URL is not set this will default to redis://localhost:6379/9.

Acorn

Runninng this with Acorn is as simple as:

$ acorn install
$ acorn run -n go-demo .