Sign inSign up

fntlnz/caturday

By fntlnz

Updated almost 8 years ago

A lightweight web application which I use to test containers networking

Image
0

100K+

fntlnz/caturday repository overview

GitHub Repository: https://github.com/fntlnz/caturday

Caturday

A lightweight web application I use to test container networking

caturday.png

Endpoints
endpointmethodpurpose
/*GETgiving you all cats HTML and network info
/metricsGETbasic prometheus metrics endpoint
/rawGETgiving you a cats plain text and network info
/healthGEThealth 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

Tag summary

Content type

Image

Digest

Size

3.3 MB

Last updated

almost 8 years ago

docker pull fntlnz/caturday