Here are just a few examples of leap second woes:
Read more...Building Blocks
Using Kubernetes or Google Container Engine there are a few building blocks that you need to understand. There are great docs on their sites, but I’ll give an overview of them here.
The big trick with using a static IP is to specify in your service config
portalIPs:
- put.your.ip.here
and, in particular, you must not have
createExternalLoadBalancer: true
because that will attempt to create one for you.
Read more...The Container Registry allows you to easily push your docker images to Cloud Storage.
Nominally, the registry entry for an image will be
gcr.io/projectname/imagename
, whereprojectname
is the name of the project on the Developer Console andcontainername
is whatever id you want. At this point, however, both of these only reliably seem to supportA-Za-z_-
.TL;DR: If you're using my container script:
echo REMOTE=gcr.io/projectname/imagename >> container.cfg
Or, for Google Apps:
echo REMOTE=b.gcr.io/bucketname/imagename >> container.cfg
Then, you can simply
./container.sh push
Read more...This page is primarily for my benefit, but hopefully somebody else will find it useful as well!
General Notes
Open Sourceable Dockerfiles
I always like sharing what I do with other people. That’s part of what I love about the internet. Thus, I try to make my Dockerfiles reusable by anyone. I also don’t want to include anything in my Dockerfiles that I would consider sensitive or overly site-specific, like paths to my data volumes. Here are some tips on making release-ready Dockerfiles.
Read more...There has been a lot of discussion on the Go Nuts mailing list about how to manage versioning in the nascent Go package ecosystem. We muttered about it at first, and then muttered about it some more when
goinstall
came about, and there has been a pretty significant uptick in discussion since thego
tool began to take shape and the Go 1 release date approached. In talking with other Gophers at the GoSF meet-up recently, there doesn’t seem to be anyone who really has a good solution.TL;DR: kylelemons.net/go/rx
Oddly appropriate, don’t you think?