Skip to content

Instantly share code, notes, and snippets.

@developerinlondon
Last active June 7, 2016 13:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save developerinlondon/02042dc02db59d67ba3f83a9bf6db353 to your computer and use it in GitHub Desktop.
Save developerinlondon/02042dc02db59d67ba3f83a9bf6db353 to your computer and use it in GitHub Desktop.
----------
ID: calico-etcd
Function: dockerng.running
Result: False
Comment: State 'dockerng.running' was not found in SLS 'calico.calicoetcd'
Reason: 'dockerng' __virtual__ returned False: 'dockerng' __virtual__ returned False: Docker module could not get imported
Started:
Duration:
Changes:
#Run calico-etcd in a container
#docker run --name calico-etcd -d -v /varetcd:/mnt/master-pd/var/etcd -p 6666:6666 gcr.io/google_containers/etcd:2.2.1 /bin/sh -c "/usr/local/bin/etcd --name=calico-etcd --data-dir=/var/etcd/calico-data --advertise-client-urls=http://kubernetes_master:6666 --listen-client-urls=http://0.0.0.0:6666 --listen-peer-urls=http://0.0.0.0:6660"
calico-etcd:
dockerng.running:
- image: gcr.io/google_containers/etcd:2.2.1
- port_bindings: "6666:6666"
- volumes: /mnt/master-pd/var/etcd
- entrypoint: /bin/sh -c "/usr/local/bin/etcd --name=calico-etcd --data-dir=/var/etcd/calico-data --advertise-client-urls=http://kubernetes_master:6666 --listen-client-urls=http://0.0.0.0:6666 --listen-peer-urls=http://0.0.0.0:6660"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment