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
core@deis-1 ~ $ docker tag carmstrong/router:latest 172.17.8.100:5000/router | |
core@deis-1 ~ $ docker push 172.17.8.100:5000/router | |
The push refers to a repository [172.17.8.100:5000/router] (len: 1) | |
Sending image list | |
Pushing repository 172.17.8.100:5000/router (1 tags) | |
Image 511136ea3c5a already pushed, skipping | |
101e9f33c3dc: Image successfully pushed | |
53e0ea871c5d: Image successfully pushed | |
42ffda5fb276: Image successfully pushed | |
cc0067db4f11: Image successfully pushed |
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
$ make status | |
fleetctl --strict-host-key-checking=false list-units | |
UNIT STATE LOAD ACTIVE SUB DESC MACHINE | |
deis-builder-data.service loaded loaded active exited deis-builder-data b67b505e.../172.17.8.100 | |
deis-builder.service launched loaded active running deis-builder b67b505e.../172.17.8.100 | |
deis-cache.service launched loaded active running deis-cache b67b505e.../172.17.8.100 | |
deis-controller.service launched loaded active running deis-controller b67b505e.../172.17.8.100 | |
deis-database-data.service loaded loaded active exited deis-database-data b67b505e.../172.17.8.100 | |
deis-database.service launched loaded active running deis-database b67b505e.../172.17.8.100 | |
deis-logger-data.service loaded loaded active exited deis-logger-data b67b505e.../172.17.8.100 |
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
{{ range $user := gets "/builder/users/*" }}{{ range $keys := gets "/builder/users/" + base $user.Key + "/*" }} | |
command="/usr/local/bin/gitreceive run {{ base $user.Key }} {{ base $keys.Key }}",no-agent-forwarding,no-pty,no-user-rc,no-X11-forwarding,no-port-forwarding {{ $keys.Value }} | |
{{ end }}{{ end }} |
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
wget -q https://s3-us-west-2.amazonaws.com/opdemand/confd-0.6.x-json-firstsecondlastpart-rand -O ./confd | |
chmod +x ./confd | |
etcdctl set /deis/domains/upright-banana foo.bar.ca whoami.com | |
etcdctl set /deis/services/upright-banana/upright-banana_v2 1.2.3.4:4445 | |
etcdctl set /deis/services/downright-tropico/downright-tropico_v2 2.3.4.5:1233 | |
etcdctl set /deis/builder/users/carmstrong/deis PRIVATE_KEY_MATERIAL | |
etcdctl set /deis/builder/users/carmstrong/too PRIVATE_KEY_MATERIAL | |
etcdctl set /deis/builder/users/gabrtv/gabriel PRIVATE_KEY_MATERIAL | |
etcdctl set /deis/builder/users/gabrtv/gabrtv PRIVATE_KEY_MATERIAL |
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
diff --git a/builder/bin/boot b/builder/bin/boot | |
index 89f6211..fe8119f 100755 | |
--- a/builder/bin/boot | |
+++ b/builder/bin/boot | |
@@ -60,14 +60,12 @@ docker load -i /progrium_cedarish.tar | |
# pull required images | |
# Custom slugbuilder? | |
-etcdctl --no-sync -C $ETCD mk /deis/slugbuilder/image deis/slugbuilder:latest >/dev/null 2>&1 || true | |
-SLUGBUILDER=`etcdctl --no-sync -C $ETCD get /deis/slugbuilder/image` |
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
{ | |
"AWSTemplateFormatVersion" : "2010-09-09", | |
"Description": "Deis on EC2: http://deis.io/", | |
"Parameters" : { | |
"KeyPair" : { | |
"Description" : "Name of an existing EC2 KeyPair to enable SSH access to the Deis hosts", | |
"Type" : "String", | |
"MinLength": "1", | |
"MaxLength": "64", | |
"AllowedPattern" : "[-_ a-zA-Z0-9]*", |
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
input { | |
tcp { | |
host => "0.0.0.0" | |
port => 5228 | |
codec => json_lines | |
} | |
} | |
output { | |
elasticsearch { |
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
root@deis-1:/# rbd create db --pool deis --size 4096 | |
rbd: create error: 2014-09-04 19:05:44.677410 7f07cdab8780 -1 (17) File exists | |
librbd: rbd image db already exists | |
2014-09-04 19:05:44.677410 7f07cdab8780 -1 librbd: rbd image db already exists | |
root@deis-1:/# rbd info db | |
rbd: error opening image 2014-09-04 19:05:47.894565 7f2621bcd780 -1 db: (2) No such file or directory | |
librbd::ImageCtx: error finding header: (2) No such file or directory | |
2014-09-04 19:05:47.894565 7f2621bcd780 -1 librbd::ImageCtx: error finding header: (2) No such file or directory |
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
root@deis-3:/# cat /etc/ceph/ceph.conf | |
[global] | |
fsid = f20a7b4f-db77-49d1-87e3-3d59bc12de52 | |
mon initial members = deis-3 | |
mon host = deis-1,deis-2,deis-3 | |
mon addr = 172.17.8.100:6789,172.17.8.101:6789,172.17.8.102:6789 | |
auth cluster required = cephx | |
auth service required = cephx | |
auth client required = cephx | |
osd pool default size = 3 |
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
nse deis-controller | |
cd /app | |
export ETCD=172.17.8.100:4001 | |
./manage.py shell <<EOF | |
from api.models import * | |
[k.save() for k in Key.objects.all()] | |
[a.save() for a in App.objects.all()] | |
[d.save() for d in Domain.objects.all()] | |
EOF | |
exit |