This repository has been archived by the owner on Nov 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 797
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(services): manage dependencies manually
Since fleet's dependency management cross-cluster is lacking (see coreos/fleet#338), we resort to starting the services in a certain order. We also remove Requires=/After= if the dependency could potentially exist on another server in the cluster. We're essentially waiting for X-Requires/X-After to be implemented in fleet. Also, we make the contrib/ scripts use this Makefile to start services so we don't repeat logic. Lastly, fleet version checking is added to the Makefile so that it will error if fleetctl locally is a different version than the server - many unstable/incomplete changes are in master. fixes #810, #805
- Loading branch information
1 parent
0a8e71b
commit 787d857
Showing
9 changed files
with
88 additions
and
121 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,12 +48,11 @@ Please wait for it to come up, then run ./initialize-ec2-cluster.sh | |
|
||
## Initialize the cluster | ||
Once the cluster is up, get the hostname of any of the machines from EC2, set | ||
FLEETCTL_TUNNEL, then run [the init script][init-script] to bootstrap the cluster | ||
remotely: | ||
FLEETCTL_TUNNEL, and issue a `make run` from the project root: | ||
```console | ||
$ ssh-add ~/.ssh/id_rsa | ||
$ export FLEETCTL_TUNNEL=ec2-12-345-678-90.us-west-1.compute.amazonaws.com | ||
$ ./initialize-ec2-cluster.sh | ||
$ cd ../.. && make run | ||
The authenticity of host '54.215.248.50:22' can't be established. | ||
RSA key fingerprint is 86:10:74:b9:6a:ee:3b:21:d0:0f:b4:63:cc:10:64:c9. | ||
Are you sure you want to continue connecting (yes/no)? yes | ||
|
@@ -92,4 +91,3 @@ email: [email protected] | |
[template]: https://s3.amazonaws.com/coreos.com/dist/aws/coreos-alpha.template | ||
[cf-params]: cloudformation.json | ||
[pro-script]: provision-ec2-cluster.sh | ||
[init-script]: initialize-ec2-cluster.sh |
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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