Skip to content

Commit 14e0ad9

Browse files
author
Gabriel Monroy
committed
fix(*): remove deprecated @1 unit names
1 parent aee7c7c commit 14e0ad9

15 files changed

Lines changed: 29 additions & 37 deletions

File tree

builder/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ full-clean: check-docker check-registry clean
1515
docker images -q $(IMAGE_PREFIX)$(COMPONENT) | xargs docker rmi -f
1616

1717
install: check-deisctl
18-
deisctl scale $(COMPONENT)=1
18+
deisctl install $(COMPONENT)
1919

2020
uninstall: check-deisctl
21-
deisctl scale $(COMPONENT)=0
21+
deisctl uninstall $(COMPONENT)
2222

2323
start: check-deisctl
2424
deisctl start $(COMPONENT)

cache/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ full-clean: check-docker check-registry
2020
docker images -q $(IMAGE_PREFIX)$(COMPONENT) | xargs docker rmi -f
2121

2222
install: check-deisctl
23-
deisctl scale $(COMPONENT)=1
23+
deisctl install $(COMPONENT)
2424

2525
uninstall: check-deisctl
26-
deisctl scale $(COMPONENT)=0
26+
deisctl uninstall $(COMPONENT)
2727

2828
start: check-deisctl
2929
deisctl start $(COMPONENT)

contrib/gce/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -318,13 +318,13 @@ Verify that all the units are active after the operation completes:
318318
```console
319319
$ deisctl list
320320
UNIT MACHINE LOAD ACTIVE SUB
321-
deis-builder@1.service dea53588.../172.17.8.100 loaded active running
322-
deis-cache@1.service dea53588.../172.17.8.100 loaded active running
323-
deis-controller@1.service dea53588.../172.17.8.100 loaded active running
324-
deis-database@1.service dea53588.../172.17.8.100 loaded active running
321+
deis-builder.service dea53588.../172.17.8.100 loaded active running
322+
deis-cache.service dea53588.../172.17.8.100 loaded active running
323+
deis-controller.service dea53588.../172.17.8.100 loaded active running
324+
deis-database.service dea53588.../172.17.8.100 loaded active running
325325
deis-logger-data.service dea53588.../172.17.8.100 loaded active exited
326-
deis-logger@1.service dea53588.../172.17.8.100 loaded active running
327-
deis-registry@1.service dea53588.../172.17.8.100 loaded active running
326+
deis-logger.service dea53588.../172.17.8.100 loaded active running
327+
deis-registry.service dea53588.../172.17.8.100 loaded active running
328328
deis-router@1.service dea53588.../172.17.8.100 loaded active running
329329
```
330330

controller/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ full-clean: check-docker check-registry
1818
docker images -q $(IMAGE_PREFIX)$(COMPONENT) | xargs docker rmi -f
1919

2020
install: check-deisctl
21-
deisctl scale $(COMPONENT)=1
21+
deisctl install $(COMPONENT)
2222

2323
uninstall: check-deisctl
24-
deisctl scale $(COMPONENT)=0
24+
deisctl uninstall $(COMPONENT)
2525

2626
start: check-deisctl
2727
deisctl start $(COMPONENT)

database/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ full-clean: check-docker check-registry
1414
docker images -q $(IMAGE_PREFIX)$(COMPONENT) | xargs docker rmi -f
1515

1616
install: check-deisctl
17-
deisctl scale $(COMPONENT)=1
17+
deisctl install $(COMPONENT)
1818

1919
uninstall: check-deisctl
20-
deisctl scale $(COMPONENT)=0
20+
deisctl uninstall $(COMPONENT)
2121

2222
start: check-deisctl
2323
deisctl start $(COMPONENT)

deisctl/deisctl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Commands:
6464
6565
Example Commands:
6666
deisctl install platform
67-
deisctl uninstall builder@1
67+
deisctl uninstall builder
6868
deisctl scale router=2
6969
deisctl start router@2
7070
deisctl stop router builder

docs/managing_deis/backing_up_data.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dump of the database.
2929

3030
.. code-block:: console
3131
32-
dev $ fleetctl ssh deis-database@1.service
32+
dev $ fleetctl ssh deis-database.service
3333
coreos $ nse deis-database
3434
coreos $ sudo -u postgres pg_dumpall > pg_dump.sql
3535

logger/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ full-clean: check-docker check-registry
2020
docker images -q $(IMAGE_PREFIX)$(COMPONENT) | xargs docker rmi -f
2121

2222
install: check-deisctl
23-
deisctl scale $(COMPONENT)=1
23+
deisctl install $(COMPONENT)
2424

2525
uninstall: check-deisctl
26-
deisctl scale $(COMPONENT)=0
26+
deisctl uninstall $(COMPONENT)
2727

2828
start: check-deisctl
2929
deisctl start $(COMPONENT)

registry/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ full-clean: check-docker check-registry
1414
docker images -q $(IMAGE_PREFIX)$(COMPONENT) | xargs docker rmi -f
1515

1616
install: check-deisctl
17-
deisctl scale $(COMPONENT)=1
17+
deisctl install $(COMPONENT)
1818

1919
uninstall: check-deisctl
20-
deisctl scale $(COMPONENT)=0
20+
deisctl uninstall $(COMPONENT)
2121

2222
start: check-deisctl
2323
deisctl start $(COMPONENT)

store/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,20 @@ full-clean: check-docker check-registry
4444
install: check-deisctl
4545
deisctl install store-monitor
4646
deisctl install store-daemon
47-
deisctl scale store-gateway=1
47+
deisctl install store-gateway
4848

4949
uninstall: check-deisctl
50-
deisctl scale store-gateway=0
50+
deisctl uninstall store-gateway
5151
deisctl uninstall store-daemon
5252
deisctl uninstall store-monitor
5353

5454
start: check-deisctl
5555
deisctl start store-monitor
5656
deisctl start store-daemon
57-
deisctl start store-gateway@1
57+
deisctl start store-gateway
5858

5959
stop: check-deisctl
60-
deisctl stop store-gateway@1
60+
deisctl stop store-gateway
6161
deisctl stop store-daemon
6262
deisctl stop store-monitor
6363

0 commit comments

Comments
 (0)