Last active
August 29, 2015 14:11
-
-
Save rimusz/cb904968b68444315be2 to your computer and use it in GitHub Desktop.
workers
This file contains hidden or 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
| fleet: | |
| etcd_servers: "http://10.20.30.10:4001" | |
| metadata: "role=worker,cpeer=tsld-test1" | |
| units: | |
| - name: etcd.service | |
| mask: true | |
| - name: fleet.service | |
| command: start | |
| write_files: | |
| - path: /etc/profile.d/etcdctl.sh | |
| permissions: 0644 | |
| owner: core | |
| content: | | |
| # configure etcdctl to work with our etcd servers set above | |
| export ETCDCTL_PEERS="http://10.20.30.10:4001" | |
| - path: /etc/profile.d/fleetctl.sh | |
| permissions: 0644 | |
| owner: core | |
| content: | | |
| # configure fleetctl to work with our etcd servers set above | |
| export FLEETCTL_ENDPOINT=/var/run/fleet.sock | |
| export FLEETCTL_EXPERIMENTAL_API=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment