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
#cloud-config | |
--- | |
write-files: | |
- path: /opt/bin/waiter.sh | |
owner: root | |
content: | | |
#! /usr/bin/bash | |
until curl http://127.0.0.1:4001/v2/machines; do sleep 2; done |
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
-- Logs begin at Thu 2015-04-09 22:46:17 UTC, end at Thu 2015-04-09 23:54:22 UTC. -- | |
Apr 09 23:54:21 minion-01.c.moonlit-triumph-617.internal kubelet[15170]: E0409 23:54:21.013498 15170 kubelet.go:557] Unable to update node status: Update node status exceeds retry count | |
Apr 09 23:54:21 minion-01.c.moonlit-triumph-617.internal kubelet[15170]: E0409 23:54:21.013484 15170 kubelet.go:1729] error updating node status, will retry: error getting node "minion-01.c.moonlit-triu | |
Apr 09 23:54:21 minion-01.c.moonlit-triumph-617.internal kubelet[15170]: E0409 23:54:21.011783 15170 kubelet.go:1729] error updating node status, will retry: error getting node "minion-01.c.moonlit-triu | |
Apr 09 23:54:21 minion-01.c.moonlit-triumph-617.internal kubelet[15170]: E0409 23:54:21.010050 15170 kubelet.go:1729] error updating node status, will retry: error getting node "minion-01.c.moonlit-triu | |
Apr 09 23:54:21 minion-01.c.moonlit-triumph-617.internal kubelet[15170]: E0409 23:54:21.008249 15170 kubelet.go:1729] error updating n |
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
sudo fleetctl start docker.service | |
2015/04/06 21:06:23 INFO client.go:291: Failed getting response from http://127.0.0.1:4001/: dial tcp 127.0.0.1:4001: connection refused | |
2015/04/06 21:06:23 ERROR client.go:213: Unable to get result for {Get /_coreos.com/fleet/machines}, retrying in 100ms | |
2015/04/06 21:06:24 INFO client.go:291: Failed getting response from http://127.0.0.1:4001/: dial tcp 127.0.0.1:4001: connection refused | |
2015/04/06 21:06:24 ERROR client.go:213: Unable to get result for {Get /_coreos.com/fleet/machines}, retrying in 200ms | |
2015/04/06 21:06:24 INFO client.go:291: Failed getting response from http://127.0.0.1:4001/: dial tcp 127.0.0.1:4001: connection refused | |
2015/04/06 21:06:24 ERROR client.go:213: Unable to get result for {Get /_coreos.com/fleet/machines}, retrying in 400ms | |
2015/04/06 21:06:24 INFO client.go:291: Failed getting response from http://127.0.0.1:4001/: dial tcp 127.0.0.1:4001: connection refused | |
2015/04/06 21:06:24 ERROR client.go:213: Unable to get result for {Get /_coreos.com/ |
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
sudo journalctl -u docker.service | |
-- Logs begin at Mon 2015-04-06 19:58:48 UTC, end at Mon 2015-04-06 21:04:44 UTC. -- | |
Apr 06 20:02:04 minion-01.c.moonlit-triumph-617.internal systemd[1]: Dependency failed for Docker Application Container Engine. | |
Apr 06 20:02:04 minion-01.c.moonlit-triumph-617.internal systemd[1]: Job docker.service/start failed with result 'dependency'. | |
Apr 06 20:03:39 minion-01.c.moonlit-triumph-617.internal systemd[1]: Dependency failed for Docker Application Container Engine. | |
Apr 06 20:03:39 minion-01.c.moonlit-triumph-617.internal systemd[1]: Job docker.service/start failed with result 'dependency'. | |
Apr 06 20:05:15 minion-01.c.moonlit-triumph-617.internal systemd[1]: Dependency failed for Docker Application Container Engine. | |
Apr 06 20:05:15 minion-01.c.moonlit-triumph-617.internal systemd[1]: Job docker.service/start failed with result 'dependency'. | |
Apr 06 20:06:50 minion-01.c.moonlit-triumph-617.internal systemd[1]: Dependency failed for Docker Application Container Engine. | |
Apr 06 20:06 |
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
FROM golang:1.4.2 | |
RUN mkdir -p /go/src/github.com/myrepo/xyzzy | |
COPY . /go/src/github.com/myrepo/xyzzy | |
WORKDIR /go/src/github.com/myrepo/xyzzy | |
RUN go get github.com/tools/godep | |
RUN godep go install ./cmd/plugh |
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
core@master ~ $ sudo iptables -t nat -L | |
Chain PREROUTING (policy ACCEPT) | |
target prot opt source destination | |
DOCKER all -- anywhere anywhere ADDRTYPE match dst-type LOCAL | |
Chain INPUT (policy ACCEPT) | |
target prot opt source destination | |
Chain OUTPUT (policy ACCEPT) | |
target prot opt source destination |
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
sudo journalctl -r -u flanneld.service | |
-- Logs begin at Tue 2015-03-17 16:27:16 UTC, end at Tue 2015-03-17 16:37:48 UTC. -- | |
Mar 17 16:28:53 node-03 sdnotify-proxy[1061]: I0317 16:28:53.671434 00001 vxlan.go:187] Subnet added: 10.244.7.0/24 | |
Mar 17 16:28:36 node-03 sdnotify-proxy[1061]: I0317 16:28:36.572426 00001 vxlan.go:187] Subnet added: 10.244.20.0/24 | |
Mar 17 16:28:14 node-03 sdnotify-proxy[1061]: I0317 16:28:14.272390 00001 vxlan.go:187] Subnet added: 10.244.102.0/24 | |
Mar 17 16:27:53 node-03 systemd[1]: Started Network fabric for containers. | |
Mar 17 16:27:53 node-03 sdnotify-proxy[1061]: I0317 16:27:53.808927 00001 vxlan.go:187] Subnet added: 10.244.89.0/24 | |
Mar 17 16:27:53 node-03 sdnotify-proxy[1061]: I0317 16:27:53.808894 00001 vxlan.go:187] Subnet added: 10.244.74.0/24 | |
Mar 17 16:27:53 node-03 sdnotify-proxy[1061]: I0317 16:27:53.808672 00001 vxlan.go:187] Subnet added: 10.244.48.0/24 | |
Mar 17 16:27:53 node-03 sdnotify-proxy[1061]: I0317 16:27:53.804508 00001 vxlan.go:124] Watching for new subnet leases |
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
kubectl get pods | |
POD IP CONTAINER(S) IMAGE(S) HOST LABELS STATUS | |
cassandra-gziey 10.1.0.3 cassandra kubernetes/cassandra:v1 172.17.8.104/172.17.8.104 name=cassandra Running | |
cassandra-oh43e 10.1.0.3 cassandra kubernetes/cassandra:v1 172.17.8.106/172.17.8.106 name=cassandra Running |
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
package main | |
import ( | |
"fmt" | |
"net/http" | |
"github.com/gorilla/mux" | |
) | |
func main() { |
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
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default | |
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 | |
inet 127.0.0.1/8 scope host lo | |
valid_lft forever preferred_lft forever | |
inet6 ::1/128 scope host | |
valid_lft forever preferred_lft forever | |
2: eth0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0 state UP group default qlen 1000 | |
link/ether 00:25:90:50:3b:92 brd ff:ff:ff:ff:ff:ff | |
3: eth1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond1 state UP group default qlen 1000 |