Merge pull request #5729 from kulong0105/master

docs: update development.md
This commit is contained in:
Kubernetes Prow Robot 2020-06-17 07:00:39 -07:00 committed by GitHub
commit 8f389c5ec5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@ $ make dev-env
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:
@ -97,13 +97,7 @@ $ make build
Build a local container image
```console
$ TAG=<tag> REGISTRY=$USER/ingress-controller make container
```
Push the container image to a remote repository
```console
$ TAG=<tag> REGISTRY=$USER/ingress-controller make push
$ TAG=<tag> REGISTRY=$USER/ingress-controller make image
```
## Deploying