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:
parent
507bef873b
commit
6545b1fe69
1 changed files with 2 additions and 8 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue