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
#cloud-config | |
coreos: | |
etcd: | |
discovery: https://discovery.etcd.io/97bf5041c3dcb6a8f4490ed982e00559 | |
addr: $private_ipv4:4001 | |
peer-addr: $private_ipv4:7001 | |
units: | |
- name: etcd.service | |
command: start |
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
kelsey@etcd2-1 ~ $ etcdctl cluster-health | |
cluster is healthy | |
member 0becd38a35186c176da52d216065f78a is healthy | |
member 0c1d67472563f1358cc3f2b653d8bfb9 is healthy | |
member 195d277da3689d04e83157ed446de05e is unhealthy | |
member 42895f047cf1d3c2ad6d211b20243ddf is healthy | |
member 5418f6df245f4f1bb57d4cd51710fe90 is healthy | |
member 6146a1616b6c04500c44f826b85a9415 is healthy | |
member d5f854df4325ccaa0d22f6d8b0d7790f is healthy | |
member f57a873904ebe13c7dce98ca6c47f32d is healthy |
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
gcloud compute instances list | |
NAME ZONE MACHINE_TYPE INTERNAL_IP EXTERNAL_IP STATUS | |
etcd2-4 us-central1-f n1-standard-1 10.240.22.190 130.211.125.105 RUNNING | |
etcd-integration-2 us-central1-f n1-highcpu-2 10.240.21.79 130.211.162.53 RUNNING | |
etcd2-6 us-central1-f n1-standard-1 10.240.38.64 104.154.93.13 RUNNING | |
etcd-integration-0 us-central1-f n1-highcpu-2 10.240.190.54 104.154.62.70 RUNNING | |
etcd2-1 us-central1-f n1-standard-1 10.240.165.223 130.211.147.203 RUNNING | |
etcd-integration-1 us-central1-f n1-highcpu-2 10.240.172.103 107.178.221.96 RUNNING | |
etcd-test-2 us-central1-f n1-standard-1 10.240.115.221 104.154.58.12 RUNNING | |
etcd2-10 us-central1-f n1-standard-1 10.240.49.89 104.197.8.104 RUNNING |
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
kelseyhightower@etcd2-1 ~/etcd-v2.0.5-linux-amd64 $ ./etcdctl -C 10.240.156.19:4001 cluster-health | |
cluster is healthy | |
member 0c1d67472563f1358cc3f2b653d8bfb9 is healthy | |
member 195d277da3689d04e83157ed446de05e is healthy | |
member 42895f047cf1d3c2ad6d211b20243ddf is unhealthy | |
kelseyhightower@etcd2-1 ~/etcd-v2.0.5-linux-amd64 $ ./etcdctl -C 10.240.156.19:4001 cluster-health | |
cluster is healthy | |
member 0c1d67472563f1358cc3f2b653d8bfb9 is healthy | |
member 195d277da3689d04e83157ed446de05e is healthy | |
member 42895f047cf1d3c2ad6d211b20243ddf is healthy |
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
#cloud-config | |
coreos: | |
units: | |
- name: fleet.service | |
command: start | |
- name: docker.service | |
command: start | |
- name: etcd.service | |
command: start |
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
$ docker logs a654081df0ab880732a92bad5082b699ca1f03dd1e3d7c5e291bb3ebe0a73d02 | |
2015/03/24 01:10:02 etcd: no data-dir provided, using default data-dir ./default.etcd | |
2015/03/24 01:10:02 etcd: listening for peers on http://localhost:2380 | |
2015/03/24 01:10:02 etcd: listening for peers on http://localhost:7001 | |
2015/03/24 01:10:02 etcd: listening for client requests on http://localhost:2379 | |
2015/03/24 01:10:02 etcd: listening for client requests on http://localhost:4001 | |
2015/03/24 01:10:02 etcdserver: name = default | |
2015/03/24 01:10:02 etcdserver: data dir = default.etcd | |
2015/03/24 01:10:02 etcdserver: member dir = default.etcd/member | |
2015/03/24 01:10:02 etcdserver: heartbeat = 100ms |
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
(require 'evil) | |
(evil-mode 1) | |
(setq evil-leader/in-all-states 1) | |
(global-evil-leader-mode) | |
(evil-leader/set-leader ",") | |
(evil-leader/set-key "e" 'find-file) | |
(evil-leader/set-key "." 'godef-jump) | |
(evil-leader/set-key "," 'pop-tag-mark) |
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
$ sudo /usr/libexec/etcd/internal_versions/1/etcd \ | |
> -name e3ffa8932ff0f3f0c107bc5bce946518 \ | |
> -data-dir /var/lib/etcd \ | |
> -addr 10.240.46.9:4001 \ | |
> -peer-addr 10.240.46.9:7001 \ | |
> -discovery https://discovery.etcd.io/585fb98ae06331b52590020f0d790f28 | |
[etcd] Mar 21 06:26:07.659 INFO | Discovery via https://discovery.etcd.io using prefix /585fb98ae06331b52590020f0d790f28. | |
[etcd] Mar 21 06:26:08.112 INFO | Discovery found peers [http://10.240.104.40:7001 http://10.240.229.139:7001 http://10.240.94.57:7001] | |
[etcd] Mar 21 06:26:08.112 INFO | Discovery fetched back peer list: [10.240.104.40:7001 10.240.229.139:7001 10.240.94.57:7001] | |
[etcd] Mar 21 06:26:08.115 INFO | Send Join Request to http://10.240.104.40:7001/join |
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
Mar 21 06:02:59 etcd2-hightower-3.c.etcd-development.internal etcd[604]: 2015/03/21 06:02:59 etcd: discovery cluster full, falling back to proxy | |
Mar 21 06:02:59 etcd2-hightower-3.c.etcd-development.internal etcd[604]: 2015/03/21 06:02:59 proxy: using peer urls [http://10.240.104.40:7001 http://10.240.229.139:7001 http://10.240.94.57:7001] | |
Mar 21 06:02:59 etcd2-hightower-3.c.etcd-development.internal etcd[604]: 2015/03/21 06:02:59 proxy: listening for client requests on 0.0.0.0:4001 | |
Mar 21 06:12:54 etcd2-hightower-3.c.etcd-development.internal systemd[1]: Stopping etcd... | |
Mar 21 06:12:54 etcd2-hightower-3.c.etcd-development.internal systemd[1]: Stopped etcd. | |
Mar 21 06:12:54 etcd2-hightower-3.c.etcd-development.internal etcd[604]: 2015/03/21 06:12:54 received terminated signal, shutting down... | |
Mar 21 06:32:59 etcd2-hightower-3.c.etcd-development.internal systemd[1]: Starting etcd... | |
Mar 21 06:32:59 etcd2-hightower-3.c.etcd-development.internal systemd[1]: Started etcd. | |
Mar 21 06:32:59 etcd2-hightower-3.c.etcd- |
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
$ cros_workon start etcd-starter | |
WARNING: 'portageq envvar PORTDIR_OVERLAY' is deprecated. Use 'portageq repositories_configuration' instead. | |
!!! No packages matching 'etcd-starter' | |
WARNING cros_workon: error looking up package etcd-starter | |
ERROR cros_workon: script called: cros_workon 'start' 'etcd-starter' | |
ERROR cros_workon: Backtrace: (most recent call is last) | |
ERROR cros_workon: file cros_workon, line 402, called: die 'Error parsing package list' | |
ERROR cros_workon: | |
ERROR cros_workon: Error was: | |
ERROR cros_workon: Error parsing package list |