-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(store): add store-volume and store-metadata
These components enable the logger and controller to mount a shared filesystem backed by CephFS.
- Loading branch information
1 parent
de812f1
commit 0cfe49a
Showing
28 changed files
with
227 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,8 +79,6 @@ $ deisctl install platform | |
■ ● ▴ Installing Deis... | ||
▴ ■ ● | ||
|
||
Data containers... | ||
deis-logger-data.service: loaded | ||
Logging subsystem... | ||
deis-logger.service: loaded | ||
Storage subsystem... | ||
|
@@ -105,8 +103,6 @@ $ deisctl start platform | |
■ ● ▴ Starting Deis... | ||
▴ ■ ● | ||
|
||
Data containers... | ||
deis-logger-data.service: exited | ||
Logging subsystem... | ||
deis-logger.service: running | ||
deis-logspout.service: running | ||
|
@@ -186,7 +182,6 @@ deis-builder.service f936b7a5.../172.17.8.100 loaded active running | |
deis-cache.service f936b7a5.../172.17.8.100 loaded active running | ||
deis-controller.service f936b7a5.../172.17.8.100 loaded active running | ||
deis-database.service f936b7a5.../172.17.8.100 loaded active running | ||
deis-logger-data.service f936b7a5.../172.17.8.100 loaded active exited | ||
deis-logger.service f936b7a5.../172.17.8.100 loaded active running | ||
deis-registry.service f936b7a5.../172.17.8.100 loaded active running | ||
[email protected] f936b7a5.../172.17.8.100 loaded active running | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,17 @@ | ||
[Unit] | ||
Description=deis-controller | ||
Requires=deis-logger.service | ||
After=deis-logger.service | ||
Requires=deis-store-volume.service | ||
After=deis-store-volume.service | ||
|
||
[Service] | ||
EnvironmentFile=/etc/environment | ||
TimeoutStartSec=20m | ||
ExecStartPre=/bin/sh -c "echo Waiting for deis-logger to start... ; until docker inspect deis-logger >/dev/null 2>&1; do sleep 2; done" | ||
ExecStartPre=/bin/sh -c "IMAGE=`/run/deis/bin/get_image /deis/controller` && docker history $IMAGE >/dev/null || docker pull $IMAGE" | ||
ExecStartPre=/bin/sh -c "docker inspect deis-controller >/dev/null && docker rm -f deis-controller || true" | ||
ExecStart=/bin/sh -c "IMAGE=`/run/deis/bin/get_image /deis/controller` && docker run --name deis-controller -v /var/run/fleet.sock:/var/run/fleet.sock --rm -p 8000:8000 -e EXTERNAL_PORT=8000 -e HOST=$COREOS_PRIVATE_IPV4 --volumes-from=deis-logger $IMAGE" | ||
ExecStart=/bin/sh -c "IMAGE=`/run/deis/bin/get_image /deis/controller` && docker run --name deis-controller --rm -p 8000:8000 -e EXTERNAL_PORT=8000 -e HOST=$COREOS_PRIVATE_IPV4 -v /var/run/fleet.sock:/var/run/fleet.sock -v /var/lib/deis/store:/data $IMAGE" | ||
ExecStopPost=-/usr/bin/docker rm -f deis-controller | ||
Restart=on-failure | ||
RestartSec=5 | ||
|
||
[Install] | ||
WantedBy=multi-user.target | ||
|
||
[X-Fleet] | ||
MachineOf=deis-logger.service |
Oops, something went wrong.