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
{ | |
"metadata": { | |
"name": "tectonic-channel" | |
}, | |
"apiVersion": "channel.tectonic.com/v1", | |
"kind": "Version", | |
"channel": "alpha", | |
"server": "https://update.core-os.net", | |
"updatesPaused": false, | |
"publicKey": "gpg-public-key-override" |
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
--- | |
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
labels: | |
name: prometheus-deployment | |
name: prometheus | |
spec: | |
replicas: 1 | |
template: |
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
$ DOCKER_BUILDTAGS="exclude_graphdriver_btrfs exclude_graphdriver_devicemapper exclude_graphdriver_aufs" AUTO_GOPATH=1 ./hack/make.sh binary |
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=Docker Application Container Engine | |
Documentation=http://docs.docker.com | |
After=docker.socket early-docker.target network.target | |
Requires=docker.socket early-docker.target | |
[Service] | |
EnvironmentFile=-/run/flannel_docker_opts.env | |
MountFlags=slave | |
LimitNOFILE=1048576 |
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
package main | |
import ( | |
"fmt" | |
"net/http" | |
) | |
func main() { | |
waitIndex := 0 | |
for { |
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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v1 | |
mQINBFGL6agBEAC9i3rxSHYvRzyUrxYQQiq3O8VVNFmnU95+I4w8UeH2bmFQ7edp | |
55ZzWRQZkc5niEZ3Nx+HYujw3RFU3biWYHIotUPUqg3fJI/TUFiS45Uhf+8wP5yL | |
lu0kUdaU4GuOeQNR1DqUCPnDaFxVZC9IdDce201pgwVbqZiEB5wY1W/OVmpKgYdU | |
MGYhXpw1sV4gTolr0Dwn0npIfYoW60T76cT3qkP+uJQMgjVtTJSx/Gzkagi6YDrc | |
Pun+VGU1UlxBOeVp6Olw27QWvnmYvhmLtSXhGj+lTMX1GMeLa/6xyLIDe3e1eW+w | |
FbRFpoFfz9+fYV35leMo5BT1ZKlhlfgoffBpkUd0ydOmX5QmeNtLQN3WKEyIEDJ0 | |
Nu6nNgUt7mKngZhvuBQk17IKO2zqkJdtNAuu1nUhUsIPtFeqmvm+GhBoRid5gX/G |
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 | |
coreos: | |
units: | |
- name: docker-tcp.socket | |
command: start | |
enable: true | |
content: | | |
[Unit] | |
Description=Docker Socket for the API |
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
package main | |
import ( | |
"fmt" | |
"github.com/vbatts/merkle" | |
"io" | |
"os" | |
) | |
func traverse(n *merkle.Node) *merkle.Node { |
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
Instructions for trying ext4+overlay with docker! In an up-to-date SDK: | |
Write the following to /build/amd64-usr/etc/portage/package.keywords/overlay | |
sys-kernel/coreos-sources | |
sys-kernel/coreos-kernel | |
sys-fs/btrfs-progs | |
app-emulation/docker | |
In src/scripts make the following change to switch to ext4: |
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 | |
source /etc/environment | |
name=$(cat /etc/machine-id) | |
if [ ! -f /opt/consul ]; then | |
mkdir /opt | |
mkdir /var/lib/consul | |
curl http://storage.googleapis.com/ifup-org-tilde/consul-0.2.0-linux-x86-64.lzma | lzcat > /opt/consul | |
chmod +x /opt/consul |