Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[404-server] Removes 404 server #3156

Merged
merged 2 commits into from
Nov 15, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion images/404-server/.gitignore

This file was deleted.

20 changes: 0 additions & 20 deletions images/404-server/Dockerfile

This file was deleted.

57 changes: 0 additions & 57 deletions images/404-server/Godeps/Godeps.json

This file was deleted.

5 changes: 0 additions & 5 deletions images/404-server/Godeps/Readme

This file was deleted.

44 changes: 0 additions & 44 deletions images/404-server/Makefile

This file was deleted.

12 changes: 0 additions & 12 deletions images/404-server/OWNERS

This file was deleted.

35 changes: 2 additions & 33 deletions images/404-server/README.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,2 @@
# 404-server (default backend)

404-server 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`

## How to release:

The `404-server` Makefile supports multiple architectures, which means it may cross-compile and build an docker image easily.
If you are releasing a new version, please bump the `TAG` value in the `Makefile` before building the images.

How to build and push all images:
```
# Build for linux/amd64 (default)
$ make push
$ make push ARCH=amd64
# ---> gcr.io/google_containers/defaultbackend-amd64:TAG

$ make push-legacy ARCH=amd64
# ---> gcr.io/google_containers/defaultbackend:TAG (image with backwards compatible naming)

$ make push ARCH=arm
# ---> gcr.io/google_containers/defaultbackend-arm:TAG

$ make push ARCH=arm64
# ---> gcr.io/google_containers/defaultbackend-arm64:TAG

$ make push ARCH=ppc64le
# ---> gcr.io/google_containers/defaultbackend-ppc64le:TAG
```

Of course, if you don't want to push the images, just run `make container`
The 404-server (defaultbackend) has moved to the
[kubernetes/ingress-gce](https://github.com/kubernetes/ingress-gce) repository.
43 changes: 0 additions & 43 deletions images/404-server/cloudbuild.yaml

This file was deleted.

45 changes: 0 additions & 45 deletions images/404-server/metrics.go

This file was deleted.

Loading