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
docker0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1472 | |
inet 10.100.9.1 netmask 255.255.255.0 broadcast 0.0.0.0 | |
inet6 fe80::5484:7aff:fefe:9799 prefixlen 64 scopeid 0x20<link> | |
ether 56:84:7a:fe:97:99 txqueuelen 0 (Ethernet) | |
RX packets 392 bytes 81844 (79.9 KiB) | |
RX errors 0 dropped 0 overruns 0 frame 0 | |
TX packets 177 bytes 18111 (17.6 KiB) | |
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 | |
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 |
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
# /usr/lib64/systemd/system/etcd.service | |
[Unit] | |
Description=etcd | |
[Service] | |
User=etcd | |
PermissionsStartOnly=true | |
Environment=ETCD_DATA_DIR=/var/lib/etcd ETCD_NAME=default | |
ExecStart=/usr/bin/etcd | |
Restart=always |
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
Sep 13 16:28:03 kubernetes-minion-0 systemd[1]: Starting etcd... | |
Sep 13 16:28:03 kubernetes-minion-0 systemd[1]: Started etcd. | |
Sep 13 16:28:03 kubernetes-minion-0 etcd[3256]: [etcd] Sep 13 16:28:03.488 INFO | The path /var/lib/etcd/log is in btrfs | |
Sep 13 16:28:03 kubernetes-minion-0 etcd[3256]: [etcd] Sep 13 16:28:03.488 INFO | Set NOCOW to path /var/lib/etcd/log succeeded | |
Sep 13 16:28:03 kubernetes-minion-0 etcd[3256]: [etcd] Sep 13 16:28:03.488 INFO | Discovery via https://discovery.etcd.io using prefix /2fb4b4927171f2fca7d46cdd0242ed83. | |
Sep 13 16:28:03 kubernetes-minion-0 etcd[3256]: [etcd] Sep 13 16:28:03.986 INFO | Discovery found peers [http://10.176.132.184:7001 http://10.176.134.175:7001 http://10.176.134.126:7001 http://10.176.134.179:7001] | |
Sep 13 16:28:03 kubernetes-minion-0 etcd[3256]: [etcd] Sep 13 16:28:03.987 INFO | Discovery fetched back peer list: [10.176.132.184:7001 10.176.134.175:7001 10.176.134.126:7001 10.176.134.179:7001] | |
Sep 13 16:28:03 kubernetes-minion-0 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
[Unit] | |
Description=cAdvisor Service | |
After=docker.service | |
Requires=docker.service | |
[Service] | |
Restart=always | |
ExecStartPre=-/usr/bin/docker kill cadvisor | |
ExecStartPre=-/usr/bin/docker rm -f cadvisor | |
ExecStartPre=/usr/bin/docker pull google/cadvisor |
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
kubernetes-minion-0 network # systemctl cat docker.service | |
# /etc/systemd/system/docker.service | |
[Unit] | |
After=network.target | |
Description=Docker Application Container Engine | |
Documentation=http://docs.docker.io | |
[Service] | |
ExecStartPre=/bin/mount --make-rprivate / | |
ExecStart=/usr/bin/docker -d -s=btrfs -H fd:// -b cbr0 |
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
[Unit] | |
After=network-online.target | |
Description=Download Kubernetes Binaries | |
Documentation=https://github.com/GoogleCloudPlatform/kubernetes | |
Requires=network-online.target | |
[Service] | |
ExecStart=/usr/bin/wget http://xxx.cf5.rackcdn.com/apiserver -O /opt/bin/apiserver | |
ExecStart=/usr/bin/wget http://xxx.cf5.rackcdn.com/fleetctl -O /opt/bin/fleetctl | |
ExecStart=/usr/bin/wget http://xxx.cf5.rackcdn.com/kubecfg -O /opt/bin/kubecfg |
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
{ | |
"id": "nsqadmin-http", | |
"kind": "Service", | |
"apiVersion": "v1beta1", | |
"port": 14171, | |
"protocol": "TCP", | |
"selector": { "name": "nsqadmin" } | |
} | |
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
3183 root 20 0 1569724 1.148g 3848 S 1.3 58.7 140:51.23 apiserver |
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
- name: etcd-waiter.service | |
command: start | |
content: | | |
[Unit] | |
Wants=network-online.target | |
Wants=etcd.service | |
After=etcd.service | |
After=network-online.target | |
[Service] |
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 | |
--- | |
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 | |
coreos: |