Setting up secure helm chart repository on Azure Blob Storage

Categories: Kubernetes
Kubernetes helm repository supports only basic authentication at the time of writing this article. There is, though, another and perhaps simpler way as of helm 2.7.0. Using Azure Blob Storage you can easily make your helm repository private. Requirements Time: ~10 minutes Helm Package Manager 2.7.0-rc1 or later Microsoft Azure account, at least with permissions to create azure storage account Azure CLI, tested on 2.0.19 Darwin Helm chart that you can upload to the cloud Summary Create azure storage account in one of your resource groups Add blob storage container to Azure Storage Account and set access to private Go to Storage account -> Shared Access Signature and generate read-only credentials for helm users The url to your repository will be: https://[azure_storage_name].

Read More →

Multi-node kubernetes cluster on Vagrant in five minutes

Categories: Kubernetes
This is a guide for anyone that wants to setup multi-node kubernetes cluster on PC or laptop without significant amounts of time and money on kubernetes-the-hard-way ;) This is one of the fastest ways to have multi-node cluster up and running for learning purposes. It will use coreos and vagrant to spin up the cluster. Time required to finish the tutorial 5 minutes plus 30 minutes of waiting Final setup one master node one etcd (on separate node) 3 worker nodes Kubernetes 1.

Read More →

Reaching minikube from other devices

Categories: Kubernetes
I’ve recently had a problem with exposing my minikube to the outer world. The use case was to test the cluster from mobile device. Officially minikube supports “host-only” network interface. Fortunately, there is a way to access minikube cluster from external world, and it’s quite simple, but nowhere documented. There is one downside to this method: I had to use virtualbox driver for spinning up cluster as I still don’t know whether you can forward ports using xhyve.

Read More →