All posts tagged in: Kubernetes

Use vSphere Storage as Kubernetes persistent volumes

Author image Simon Guyennet on Cloud, Kubernetes, vSphere, VMware, Storage, Container

Hatchway is a VMware open source project. The goal of this project is to allow to use the vSphere storage technology with Docker containers and Kubernetes pods. Hatchway is composed of two projects: one is the plugin for Docker and the other one is vSphere Cloud Provider, which is the provider for Kubernetes. If you are using VMware vSAN, one of the main benefits of vSphere Cloud Provider is that you can leverage the vSAN storage policies. Prerequisites You must have a Kubernetes cluster running on VMware vSphere virtual machines and the VMware tools must be installed on each virtual...

Install and configure a multi-master Kubernetes cluster with kubeadm

Author image Simon Guyennet on Cloud, Kubernetes, Container, Kubeadm

Kubeadm is a tool which is part of the Kubernetes project. It is designed to help with the deployment of Kubernetes. It is currently a work in progress and it has some limitations. One of these limitations is that it doesn't support multi-master (high availability) configuration. This tutorial will go through the steps allowing to work around this limitation. Prerequisites For this lab, we will use a standard Ubuntu 16.04 installation as a base image for the seven machines needed. The machines will all be configured on the same network, 10.10.40.0/24, and this network needs...

Monitor Kubernetes with Prometheus

Author image Simon Guyennet on Cloud, Kubernetes, Monitoring

Prometheus is a monitoring tool originally created by SoundCloud. The project is now part of the Cloud Native Computing Foundation. Prometheus is very useful to monitor your Kubernetes infrastructure as well as your workload running in your Kubernetes cluster. Prerequisites The only prerequisite for this lab is a working Kubernetes cluster. Installation of Prometheus To deploy Prometheus in our Kubernetes cluster, we will use a project developed by CoreOS called Prometheus Operator. 1- Clone the Prometheus Operator GitHub project. $ git clone https://github.com/coreos/prometheus-operator.git 2- Go to the prometheus-operator/contrib/kube-prometheus directory. $ cd prometheus-operator/contrib/kube-prometheus 3-...

Deploy Kubernetes 1.9 from scratch on VMware vSphere

Author image Simon Guyennet on Cloud, VMware, vSphere, Kubernetes, Container

This lab will go through the different steps needed to configure an HA Kubernetes cluster on VMware vSphere manually. The various communications between the Kubernetes components will be secured with TLS. If you are used to deploy Kubernetes with tools like kubeadm but would like to understand a bit more what is going on under the hood, this tutorial is for you. However, it is good to have an understanding of the architecture of each Kubernetes node as described in the Kubernetes components documentation. This article is inspired by the awesome tutorial Kubernetes the hard way, which explains how to...

Deploy Kubernetes on VMware vSphere with Kubo

Author image Simon Guyennet on Cloud, VMware, vSphere, Kubernetes

During the second day of VMWorld 2017 in Las Vegas, VMware, Google, and Pivotal unveiled their partnership regarding Pivotal Container Service aka PKS. This product will be designed to deploy, in an automatic fashion, enterprise grade Kubernetes clusters on VMware vSphere. PKS will be based on the Pivotal open source project Kubo. Kubo stands for Kubernetes Bosh as it leverages Bosh Director to deploy Kubernetes. If you would like a taste of what PKS will be, here is how to deploy Kubernetes on VMware vSphere with Kubo. Preriquisites For this lab we will need an Ubuntu 16.04 client machine...