One of your pods is misbehaving. Maybe it’s not finding a config file or you
don’t understand why it’s unable to contact another pod in your cluster. At
times like these it’s nice to be able to kubectl exec to run a command in an
existing container. Unfortunately, if you are running a container that doesn’t
have a shell included (eg FROM scratch or…
a couple weeks ago I ran ip netns with a couple containers running and didn’t see anything in the
output. this surprised me because docker is using net namespaces for network isolation. it turns out
that docker creates the netns at /var/run/docker/netns , while the ip command is looking in
 /run/netns .
I’m starting a new series of posts called TILs. It’s basically a tech only alternative to
twitter without having to deal with mastodon. it is directly inspired by
 https://til.simonwillison.net/ . We’re starting out with a quick one I learned a few weeks ago. 
 /proc is a pseudo file system that contains information on every process running on the machine,
each…
I’m now on hachyderm and no longer engaging on twitter. I’ve had a twitter habit for too long
anyway. Now that Elon has fully taken over, reinstated nazis, fired everyone worth a damn and
generally caused mayhem and destruction, I’m out. I should have left long ago but better late than
never.
find me on hachyderm.io/@chrispickard
I’m serious about shell startup speed. I use tmux to open and
close tmux splits all day every day, so I need zsh to start quickly. I used to use frameworks
like oh-my-zsh or prezto and
while I was happy with the functionality they provided I wasn’t happy with their impact on my
shell’s startup speed. So, what do we do about it? The first step when something feels…
I used to use the venerable make(1) as my project command runner. I would cd into a project I hadn’t touched in
awhile, run make test and be off to the races. I didn’t have to remember whether we used nose or pytest or whether
this was a go project or node. make test would do the right thing. As a person who often has several balls in the air
across several different…
If you have multiple git identities (a personal and a work email, say)
and would like to use both in different projects on the same machine it
can be a hassle. Hopefully you've never committed to your work repo
with your personal email address! If this happens you're looking at an
unwieldy git filter-branch
invocation to fix it. 
 To avoid the issue in the future you can…