Just a sample, funny, little microservice used for testing Kong API Gateway, Kubernetes, K8s, Docker, Kuma Service mesh, Istio Service Mesh, etc. Deployment examples up on git hub.
https://github.com/yesinteractive/dad-jokes_microservice
{
"Jokes": {
"Opener": "What did the mountain climber name his son?",
"Punchline": "Cliff"
}
}
Deployment Examples
See usage examples for Kubernetes, Kong for Kubernetes Ingress Controller, and docker-compose in the examples directory folder.
With Docker
Docker image is Alpine 3.9 based running on Apache. The containter exposes both ports 80 an 443 with a self signed certificated. If you wish to alter the container configuration, feel free to use the Dockerfile in this repo (https://github.com/yesinteractive/dad-jokes_microservice/blob/master/Dockerfile). Otherwise, you can pull the latest image from DockerHub with the following command:
docker pull yesinteractive/dadjokes
Typical basic usage:
docker run -it yesinteractive/dadjokes
Typical usage in Dockerfile:
FROM yesinteractive/dadjokes
RUN echo <your commands here>
Top comments (0)