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
wadeyboi@kh-workshop:~/kubernetes$ kubectl create -f pods/monolith.yaml | |
The connection to the server localhost:8080 was refused - did you specify the right host or port? |
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
version: '2' | |
services: | |
traefik: | |
image: traefik | |
command: --web --docker --docker.domain=docker.localhost --logLevel=DEBUG | |
ports: | |
- "80:80" | |
- "8080:8080" | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock |
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
version: '2' | |
services: | |
traefik: | |
image: traefik | |
command: --web --docker --docker.domain=docker.localhost --logLevel=DEBUG | |
ports: | |
- "80:80" | |
- "8080:8080" | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock |
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
ubuntu@ip-10-1-131-61:~$ docker ps -a | |
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
a3b68f4b6b97 hello-world "/hello" 13 minutes ago Exited (0) 13 minutes ago angry_brattain | |
ae3196de0d89 emilevauge/traefik "/traefik -l DEBUG -c" About an hour ago Exited (1) 51 minutes ago traefik | |
2a8e88b7417d gliderlabs/registrator "/bin/registrator con" About an hour ago Up About an hour registrator | |
db5148388e1a swarm "/swarm join --advert" 16 hours ago Up 16 hours 2375/tcp swarm-agent | |
ubuntu@ip-10-1-131-61:~$ docker inspect ae3196de0d89 | |
[ | |
{ | |
"Id": "ae3196de0d89531b8112af82c448b17929a6e60cbb98566d0f710f39a41f7128", |
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
ubuntu@ip-10-1-1-231:~$ docker inspect 6f396d9b99dc | |
[ | |
{ | |
"Id": "6f396d9b99dce92286af35716b54c36ea36ef52d5ad08455ea4943bc9c83a226", | |
"Created": "2016-06-22T21:12:17.051981483Z", | |
"Path": "/swarm", | |
"Args": [ | |
"manage", | |
"-H", | |
"tcp://0.0.0.0:80", |
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
#!/bin/bash | |
# Remove docker engine key to make it unique | |
sudo rm -f /etc/docker/key.json | |
sudo service docker restart | |
# Configure the docker daemon | |
sudo mkdir /etc/systemd/system/docker.service.d | |
cat << "EOF" > /etc/systemd/system/docker.service.d/daemon.conf |
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
ubuntu@ip-10-1-131-61:/var/fabio$ docker network ls | |
NETWORK ID NAME DRIVER | |
f837ed21e749 bridge bridge | |
a198f8d32c1a ci overlay | |
cc05b011873e ci overlay | |
5ed2bd6dbb0b docker_gwbridge bridge | |
e216b9e5ac9d host host | |
ed27a6f4e2ae none null |
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
ubuntu@ip-10-1-130-157:~$ docker info | |
Containers: 3 | |
Running: 3 | |
Paused: 0 | |
Stopped: 0 | |
Images: 3 | |
Server Version: 1.11.2 | |
Storage Driver: aufs | |
Root Dir: /var/lib/docker/aufs | |
Backing Filesystem: extfs |
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
time="2016-06-21T22:01:57.303122923Z" level=warning msg="/!\\ DON'T BIND ON ANY IP ADDRESS WITHOUT setting -tlsverify IF YOU DON'T KNOW WHAT YOU'RE DOING /!\\" | |
time="2016-06-21T22:01:57.304162692Z" level=info msg="New containerd process, pid: 1611\n" | |
time="2016-06-21T22:01:57Z" level=warning msg="containerd: low RLIMIT_NOFILE changing to max" current=1024 max=4096 | |
time="2016-06-21T22:01:58.393886283Z" level=info msg="[graphdriver] using prior storage driver \"aufs\"" | |
time="2016-06-21T22:01:58.399120918Z" level=info msg="Graph migration to content-addressability took 0.00 seconds" | |
time="2016-06-21T22:01:58.399405271Z" level=info msg="Initializing discovery without TLS" | |
time="2016-06-21T22:01:58.407245146Z" level=info msg="Firewalld running: false" | |
time="2016-06-21T22:01:58.578856202Z" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address" | |
time="2016-06-21T22:01:58.613650196Z" level=warning msg="Your kernel does not s |
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
resource "aws_security_group" "consul_server" { | |
name = "consul-server-security-group" | |
description = "Consul internal traffic + maintenance." | |
ingress { | |
from_port = 8300 | |
to_port = 8300 | |
protocol = "tcp" | |
cidr_blocks = ["${var.ingress_cidr_blocks}"] | |
} |