docs: update development.md

current Makefile have no "container" target, now use "image" target to
build local image

and also have no "push" target
This commit is contained in:
Yilong Ren 2020-06-17 16:23:11 +08:00
parent 507bef873b
commit 6545b1fe69

View file

@ -29,7 +29,7 @@ $ make dev-env
The nginx controller container image can be rebuilt using: The nginx controller container image can be rebuilt using:
``` ```
$ ARCH=amd64 TAG=dev REGISTRY=$USER/ingress-controller make build container $ ARCH=amd64 TAG=dev REGISTRY=$USER/ingress-controller make build image
``` ```
The image will only be used by pods created after the rebuild. To delete old pods which will cause new ones to spin up: The image will only be used by pods created after the rebuild. To delete old pods which will cause new ones to spin up:
@ -97,13 +97,7 @@ $ make build
Build a local container image Build a local container image
```console ```console
$ TAG=<tag> REGISTRY=$USER/ingress-controller make container $ TAG=<tag> REGISTRY=$USER/ingress-controller make image
```
Push the container image to a remote repository
```console
$ TAG=<tag> REGISTRY=$USER/ingress-controller make push
``` ```
## Deploying ## Deploying