nspawn containers

posted 3 years ago by Ben Cordero.

Setting up Gentoo containers on systemd-nspawn is nearing the point where it's almost as easy as other distro methods, such as debootstrap and yum --installroot.

Read more

Alternative libcs

posted 4 years ago by Ben Cordero.

tl;dr: How I setup the musl compiler toolchain on a glibc system

Read more

Three Missing Pieces

posted 6 years ago by Ben Cordero.

I'm still hesitant to jump into kubuernetes in production. Here are three blockers.

Read more

Kubernetes ServiceAccounts

posted 7 years ago by Ben Cordero.

If you are setting up your own kubernetes cluster, it is easy to miss configuration that allows your pods to access the apiserver. The documentation isn't too obvious about this feature and is not enabled by default.

Read more

LetsEncrypt Everything

posted 7 years ago by Ben Cordero.

The LetsEncrypt project has been running for over a year and a half now. Their goal to encrypt the web by removing all of the hurdles to deploying TLS services has been realised. Before I forget to write something about this acheivement, I thought I should share my personal setup.

Read more

Clustering Kubernetes

posted 7 years ago by Ben Cordero.

This is a follow up to my previous post Exploring Kubernetes. This time, I have expanded to a multi-node cluster. Here are a few notes and problems that I found along the way.

Read more

Exploring Kubernetes

posted 7 years ago by Ben Cordero.

If you go potholing in the kubernetes releases, it isn't so bad. Here are my adventures trying to package, deploy and run containers on top of kubernetes (on Gentoo).

Read more

Qemu Config Drive

posted 9 years ago by Ben Cordero.

Recently, I've been working on ways to create OpenStack ready cloud images. While I do have acess to a local instance of OpenStack, sometimes it becomes necessary to test the images on a local machine to fine tune the boot process.

Read more

Why I am not a Fan

posted 9 years ago by Ben Cordero.

Flannel, Weave, Pipework, libnetwork, docknet and now The Fan. Why are we so allergic to large address spaces?

Read more

Plan9 Passthrough

posted 9 years ago by Ben Cordero.

There's a cool trick where you can efficiently share a filesystem with a VM. Until Linux Containers beef up their security from first principals, hardware emulation is one of the stronger methods of locking down and isolating services.

Read more

Rolling Release

posted 9 years ago by Ben Cordero.

This blog post is my reply to a recent blog post about rolling releases. I'm firmly in the Gentoo camp. For me, it's about knowledge and control over how my machines are setup and configured, with an emphasis on safety.

Read more

Parallella vs the Pi

posted 9 years ago by Ben Cordero.

I've been playing with a parallella board. Here are my first impressions of what is hoped to be the future direction of massively parallel computing.

Read more

Changes

posted 9 years ago by Ben Cordero.

I really shouldn't be let near web development. Having said that, I've been spending more time writing and re-writing blog, rather than writing the blog posts themselves.

Read more

Homemade Hypervisor

posted 10 years ago by Ben Cordero.

I haven't posted in a little while, so here's a nice juicy tutorial that I've been working on. There's some more news surrounding this, but I think that I'll start off with a Homemade Hypervisor for you to sink into.

Read more

XENBUS: Waiting for devices to initialise

posted 10 years ago by Ben Cordero.

You forgot to load xen backend modules. Guest domains will boot, but
are waiting for the host (dom0) to provide device implementations.

Read more

Asynchronous part 3

posted 10 years ago by Ben Cordero.

Python 3.4 is out today! So here is the third and final part in my series about some of the new shiny that comes with. The end goal is to be able to write non-blocking code without changing our synchronous habits. I'll start with a simple TCP server that listens for connections and spits out whatever is received. This should be familiar to anyone who is new to socket programming.

Read more

Asynchronous part 2

posted 10 years ago by Ben Cordero.

In my last post, I showed the basics of the new asyncio module brings to python programming. What a coroutine is, how to run them and getting the results back in ways that should be readable by most python programmers. The routines are quick examples how to get started, and hopefully can be used to eliminate some of the waiting that io-bound programs have.

Read more

Asynchronous part 1

posted 10 years ago by Ben Cordero.

I've been itching to play with some of the new features of python 3.4. The most anticipated feature is the new asynchronous module which should, the hope is, let us run concurrent code without going insane. This will be a code heavy post, with some very new features that the community at large hasn't really decided on any best practices yet. This will probably be a multi part series getting deeper into the intricacies of async programming in python. I haven't yet seen a good series of idioms yet, so this is mostly exploratory. This post will serve as an introduction to using async programming for the synchronously minded. Later I'll go into some of the extra APIs that let you really make the most of async programming. After that I'll try to make a third post about using these techniques to do something more practical than waiting for sleep().

Read more

python3.4

posted 10 years ago by Ben Cordero.

Looks like dev-lang/python:3.4 is in Gentoo's portage tree. Currently masked for testing.

Read more

Tinkerability

posted 10 years ago by Ben Cordero.

Two days ago, Jolla have released the second update to SailfishOS.

Read more

Recent Posts

Feeds

Atom / RSS