Month: March 2019

  • ‘first’ and ‘only’ are four-letter words in cloud. How to do something `once` and `first` in a Kubernetes Deployment

    ‘first’ and ‘only’ are four-letter words in cloud. How to do something `once` and `first` in a Kubernetes Deployment

    You see, in a cloud-native world, there is a continuum. There is no ‘first’ or ‘only’, only the many. Its kind of like the ‘borg’. You have a whole bunch of things running already, and there was no start time. There was no bootstrap, initial creation. No ‘let there be light’ moment.

  • Increase your CI speed && decrease your cost. The preemptible node

    Increase your CI speed && decrease your cost. The preemptible node

    We are running gitlab, self-hosted, in Google Kubernetes Engine (GKE). And we use gitlab runner for our CI. And I have to say, this has been working beyond expectations for me: it works really well. Now a bit of a puzzle hit our happy landscape about 6 months ago or so. One large project which…

  • Let’s Encrypt Staging. Curl without the -k

    Are you lazy and use ‘-k’ to curl all the time when using Let’s Encrypt staging? Or worse, use snake-oil? Or even worse, use just http for ‘test’? curl -sSL https://letsencrypt.org/certs/fakelerootx1.pem > fakelerootx1.pem curl –cacert fakelerootx1.pem https://my-site-issued-with-le-staging There, how hard was that? Now you can test that the cert was generated properly (even though its…

  • Let’s Encrypt Staging. Safely.

    Let’s Encrypt. One of the best things done in recent years. It makes it simple and free to have decent TLS security. There’s really no excuse not to now. One minor challenge has been the ‘staging’ environment. You want to use this when you are debugging your setup,  automatically creating certificates for the first time,…

  • pause: how to debug your Kubernetes setup

    pause: how to debug your Kubernetes setup

    Sometimes you need a debug container hanging around to check something from within your kubernetes cluster. Here tis.