caturday

command module
v0.0.0-...-457c8e7 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2018 License: MIT Imports: 9 Imported by: 0

README

Caturday

A lightweight web application I use to test container networking

caturday.png

Endpoints
endpoint method purpose
/* GET giving you all cats HTML and network info
/metrics GET basic prometheus metrics endpoint
/raw GET giving you a cat in plain text and network info
/health GET health handler for your liveness or readiness, not normally the same endpoint but hey cats are simple and cute :heart_eyes_cat :

Usage with Kubernetes

As you can see in the following example, I provide a simple example using caturday behind the kubernetes NGINX ingress and using kube-lego to obtain automatically Let's Encrypt certificates.

I suggest you to edit the file if you want to use a custom domain (default: kittens.local) or if your ingress is not nginx or you don'w want to automatically get certificates.

kubectl apply -f https://raw.githubusercontent.com/fntlnz/caturday/master/caturday.yml

Usage with Red Hat OpenShift

First, create a new OpenShift project:

oc new-project caturday

I provide an example set of OpenShift definitions that uses openshift-acme to automatically secure the route for the application. Edit it as needed, then run:

oc create -f caturday-openshift.yml

Usage with Docker

docker run -d fntlnz/caturday

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