I recently1 had the privilege of co-authoring a blog post on the Blend engineering blog with my esteemed colleague Austin Poore. Our engineering organization is growing like crazy right now and it's a lot of fun so if any of this post is interesting to you, check out our …
Difference Between localhost and 0.0.0.0
Isolating (Cordoning) a Misbehaving Pod
TL;DR: You can remove a misbehaving pod from a service without deleting it. Use
kubectl label pod ... cyberdyne-service- ...
to remove a label / labels. Once the labels are gone it will be removed from the Kubernetes service that routes traffic to pods.
When a Kubernetes node is misbehaving, it's common …
ADDR vs. HOST
TL;DR: Prefer inclusion of the protocol in configurable environment variables
VAULT_ADDR=https://vault.sandbox.invalid:8200
over
VAULT_HOST=vault.sandbox.invalid
since this enables targeting a local server, e.g.
http://localhost:8200
without any code changes.
We utilize sandbox, staging and other siloed environments to test changes before …
Running vault Locally
In order to run vault
locally (I did this because I was on an airplane),
first start the server with a known root token
export VAULT_TOKEN=root VAULT_ADDR=http://localhost:8200
vault server -dev -dev-root-token-id="${VAULT_TOKEN}"
vault version # As a baseline, this is the version of `vault` I am using …