https://thoughtstreams.io/brosner/brosner ThoughtStreamsbrosner2015-05-05T19:02:45Zhttps://thoughtstreams.io/brosner/#card-8228`port-forward` relies on `socat` whic...2015-05-05T19:02:45Z2015-05-05T19:02:45Z
`port-forward` relies on `socat` which is not available on CoreOS.
https://thoughtstreams.io/brosner/#card-8226Compiling Kubernetes for Linux on OS ...2015-05-05T17:35:19Z2015-05-05T17:35:19Z
Compiling Kubernetes for Linux on OS X using docker-machine requires telling the build you don't use boot2docker directly:
DOCKER_NATIVE=true build/run.sh hack/build-go.sh
https://thoughtstreams.io/brosner/#card-8225Running Kubernetes on CoreOS on Googl...2015-05-05T17:35:16Z2015-05-05T17:35:16Z
Running Kubernetes on CoreOS on Google Compute Engine and using persistent disk volume mounting requires a custom compiled kubelet binary.
See https://github.com/GoogleCloudPlatform/kubernetes/issues/7042
https://thoughtstreams.io/brosner/#card-7767To start a unit you would request the...2015-03-12T16:10:14Z2015-03-12T16:10:14Z
To start a unit you would request the desired state to be `launched`.
https://thoughtstreams.io/brosner/#card-7766Another important aspect to a unit is...2015-03-12T16:07:44Z2015-03-12T16:07:44Z
Another important aspect to a unit is the Machine ID. This is largely handled by Fleet based on criteria given in the `X-Fleet` section of the unit options.
https://thoughtstreams.io/brosner/#card-7765A unit describes something you want t...2015-03-12T16:06:41Z2015-03-12T16:06:41Z
A unit describes something you want to do within systemd and its desired state. The desired state can be either:
* `inactive`
* `loaded`
* `launched`
Fleet works out how to go from the current state to the desired state.
https://thoughtstreams.io/brosner/#card-7493`io.Reader` interface awesomeness: ht...2015-02-05T14:54:57Z2015-02-05T14:54:57Z
`io.Reader` interface awesomeness: http://play.golang.org/p/Nlf1OzK9WN
https://thoughtstreams.io/brosner/#card-7492One of the most powerful aspects to G...2015-02-05T14:47:15Z2015-02-05T14:47:15Z
One of the most powerful aspects to Go are its interfaces. See http://talks.golang.org/2015/json.slide for some mind blowing ideas for JSON decoding.
https://thoughtstreams.io/brosner/#card-7116A perfect example of how lovely Go ca...2014-12-16T23:49:05Z2014-12-16T23:49:05Z
A perfect example of how lovely Go can be:
https://gist.github.com/brosner/4b381f5ab42ccbb9374b
This code is from Gondor's router during spin (being ported from original Python so not complete yet.)
https://thoughtstreams.io/brosner/#card-7021The ACI file layout and a simple way ...2014-12-04T16:11:30Z2014-12-04T16:11:30Z
The ACI file layout and a simple way to create them without `actool`:
https://github.com/coreos/rocket/blob/master/app-container/SPEC.md#image-layout
https://thoughtstreams.io/brosner/#card-7020It occurs to me that I can build an A...2014-12-04T16:09:19Z2014-12-04T16:09:19Z
It occurs to me that I can build an ACI without using `actool`. An ACI is just a tarball.
https://thoughtstreams.io/brosner/#card-7019My current issue with Rocket: https:/...2014-12-04T15:31:04Z2014-12-04T15:31:04Z
My current issue with Rocket: https://github.com/coreos/rocket/issues/198
https://thoughtstreams.io/brosner/#card-6983Great simple tutorial on building an ...2014-12-03T20:10:44Z2014-12-03T20:10:44Z
Great simple tutorial on building an ACI: https://github.com/kelseyhightower/rocket-tutorial
https://thoughtstreams.io/brosner/#card-6954After reading some Hacker News commen...2014-12-02T15:27:38Z2014-12-02T15:27:38Z
After reading some Hacker News comments (ignoring 90% of them because they talk about Docker) I found this little gem from Brandon:
> It isn't tied to systemd. The stage1 that is in the current prototype uses systemd to monitor and fork processes but we would love to see other stage1's that configure other process runners. For example configure and run a qemu-kvm filesystem as the container.
> Also, even though it is using systemd to monitor and fork processes a design goal is to run on all Linux's that have a modern Kernel.
See https://news.ycombinator.com/item?id=8682960
https://thoughtstreams.io/brosner/#card-6953I had done everything in the trusty g...2014-12-02T14:49:09Z2014-12-02T14:49:09Z
I had done everything in the trusty guide on precise, but it didn't work. My best guess is due to kernel support in precise isn't on par with trusty.
**Edit**: I am back to having the same error on trusty as precise. It likely did work on precise, but something else is going on.
**Edit 2**: it appears I am not the only one with the issue: https://github.com/coreos/rocket/issues/158
https://thoughtstreams.io/brosner/#card-6952Just found https://github.com/coreos/...2014-12-02T14:43:29Z2014-12-02T14:43:29Z
Just found https://github.com/coreos/rocket/blob/master/Documentation/getting-started-ubuntu-trusty.md
https://thoughtstreams.io/brosner/#card-6951I tried to compile Rocket myself on a...2014-12-02T14:40:04Z2014-12-02T14:40:04Z
I tried to compile Rocket myself on an Ubuntu 12.04 VM, but have failed to get it running a container. Not sure if this is a host machine issue or bugs in the software.
https://thoughtstreams.io/brosner/#card-6950I've often been thinking about contai...2014-12-02T14:38:48Z2014-12-02T14:38:48Z
I've often been thinking about container systems like Rocket. Of course there is Docker. Docker is growing so fast that it has been hard to keep up with its development.
Rocket is very young and now is a good time to start following along. I've read through the specs and code. I really like the minimalism (which is largely due to its infancy.)
I am a fan of the ACI format, but less so of systemd. I'll just get over it.
https://thoughtstreams.io/brosner/#card-6949Rocket is https://github.com/coreos/r...2014-12-02T14:35:44Z2014-12-02T14:35:44Z
Rocket is https://github.com/coreos/rocket
https://thoughtstreams.io/brosner/#card-6885I've been frustrated with the lack of...2014-11-22T00:43:24Z2014-11-22T00:43:24Z
I've been frustrated with the lack of per-window environment variables. It renders my Go workflow nearly impossible.
In my most recent attempt to fix it, I discovered the `init.coffee` hook. This runs after each window is loaded. Perfect!
Take a look at my first stab at CoffeeScript to solve my problem:
https://gist.github.com/brosner/5e111c8d3226747eea98
This reads a file in the project directory and sets the environment. I added a quick hack for resolving relative paths inside the project.
Works like a charm!