Sign inSign up

stiks/defaultbackend-rest

By stiks

•Updated almost 9 years ago

Kubernetes REST Default Backend

Image
0

107

stiks/defaultbackend-rest repository overview

⁠Default Backend Server

This is a simple webserver that satisfies the ingress, which means it has to do two things:

  1. Serves a 404 page at /
  2. Serves 200 on a /healthz

Server respond JSON instead of plain text

Not found page:

$ curl http://localhost:8080
{"code":404,"message":"Not found"}

Status page:

$ curl http://localhost:8080/healthz
{"status":"ok"}

Tag summary

Content type

Image

Digest

Size

1.9 MB

Last updated

almost 9 years ago

docker pull stiks/defaultbackend-rest:1.0