Minikube is a great tool! Almost everybody begins Kubernetes with it and
continues to use it all the time. I figured out a way to use single-node
GKE clusters just like Minikube:
I gave a talk on Kubernetes Network Policies at
KubeCon 2017 in Austin, TX last week. It was in a lecture format: I described
how the feature works and how to configure network policies with some examples.
I run probably more than a hundred kubectl
commands on some days, as you can
tell I like to try out things. After a while I started to notice some
patterns
and realized I can pretty much condense 99% of all my kubectl
usage into
single-word bash aliases.
If I were to point out one reason why Kubernetes is taking off, I would probably
say because of its awesome community. The second reason would be the flexibility
of the Kubernetes API and how easy it
is to write custom extensions or plugins on top of it. In this article, I’ll dig
deep in a new concept: Initializers, which is a dynamic and pluggable way of
modifying Kubernetes resources before they are actually created.
Network Policies is a new Kubernetes feature to configure how groups of pods are
allowed to communicate with each other and other network endpoints. In other
words, it creates firewalls between pods running on a Kubernetes cluster. This
guide is meant to explain the unwritten parts of Kubernetes Network Policies.
With about 150 services and going strong authenticating to Google
APIs can sometimes seem intimidating to program against. In this blog post, I
will take Kubernetes Engine (GKE) as an example and show how to use its
REST API in Go and Python.
Google Container Registry is probably the easiest to use
container image storage solution out there. I want to share some tips and tricks
I found out about in the past few months.
A few weeks ago I released a small tool called kubectx
that makes it easy
to use kubectl
command on multiple clusters. Today, I am adding another tool
called kubens
that can be used to switch between Kubernetes namespaces back
and forth.
I recently found myself typing a lot of keystrokes just to switch
between the GKE clusters
I’m currently using. The kubectl command line tool currently does not
make it as easy as I would like, so I wrote my own tool.
Last month, I switched my static HTML blog from a 5$/month DigitalOcean instance to
the Google Cloud Storage (GCS) to pay only a few cents every month. This blog
post is about how I automatically publish articles on my GitHub repository to the
storage buckets using the newly released Google Cloud Container Builder.