Skip to content

Instantly share code, notes, and snippets.

@adamalex
adamalex / CoreOScron.md
Last active August 29, 2015 14:03
CoreOS units for cron-like behavior
  1. fleetctl load *
  2. fleetctl start *.timer
-- Logs begin at Wed 2014-07-02 01:34:27 UTC, end at Wed 2014-07-02 01:51:41 UTC. --
Jul 02 01:34:42 corecluster systemd[1]: Starting fleet...
Jul 02 01:34:42 corecluster systemd[1]: Started fleet.
Jul 02 01:34:42 corecluster fleet[3542]: I0702 01:34:42.099837 03542 fleet.go:143] No provided or default config file found - proceeding without
Jul 02 01:34:42 corecluster fleet[3542]: I0702 01:34:42.107270 03542 agent.go:80] Initializing Agent
Jul 02 01:36:17 corecluster fleet[3542]: fatal error: runtime: cannot allocate memory
Jul 02 01:36:17 corecluster fleet[3542]: goroutine 1 [running]:
Jul 02 01:36:17 corecluster fleet[3542]: runtime.throw(0xb2f347)
Jul 02 01:36:17 corecluster fleet[3542]: /usr/lib/go/src/pkg/runtime/panic.c:464 +0x69 fp=0x7fcfb6479030
Jul 02 01:36:17 corecluster fleet[3542]: runtime.persistentalloc(0x4000, 0x8, 0xb3d938)
@adamalex
adamalex / cloud_config.yml
Created August 4, 2014 23:25
Secure CoreOS config for Rackspace
#cloud-config
coreos:
etcd:
# generate a new token for each unique cluster from https://discovery.etcd.io/new
discovery: https://discovery.etcd.io/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
update:
# disable this for now until it is supported when using private ip config
reboot-strategy: off
units:
@adamalex
adamalex / keybase.md
Created October 4, 2014 21:49
keybase.md

Keybase proof

I hereby claim:

  • I am adamalex on github.
  • I am adamalex (https://keybase.io/adamalex) on keybase.
  • I have a public key whose fingerprint is AA1C 23AB BEE8 36B5 9EF6 0002 D6A4 3CFA 39C0 4BA8

To claim this, I am signing this object:

web:
image: tutum/hello-world:latest
ports:
- "80:80"
@adamalex
adamalex / amazon_ecs.cat.rb
Created June 22, 2017 17:24
amazon_ecs.cat.rb
name 'Amazon ECS Cluster'
rs_ca_ver 20160622
short_description "![logo](https://dl.dropboxusercontent.com/u/2202802/ecs-logo.png)
Creates an Amazon ECS cluster"
long_description "### Description
#### Amazon ECS
@adamalex
adamalex / generated.json
Created October 7, 2022 22:11
generated.json
This file has been truncated, but you can view the full file.
[
{
"_id": "6338bc0bbca176d453b15fa2",
"index": 0,
"guid": "add26865-3726-4556-bf1d-237ec445c8cc",
"isActive": false,
"balance": "$2,971.17",
"picture": "http://placehold.it/32x32",
"age": 23,
"eyeColor": "brown",