All posts tagged in: Cloud

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...

Install Powershell and PowerCLI on Ubuntu 16.04

Author image Simon Guyennet on Cloud, Automation, vSphere, VMware, Powershell, PowerCLI

VMware PowerCLI is a very handy command line interface to automate VMware vSphere environment. VMware PowerCLI leverages the Microsoft Powershell scripting language. Prerequisite An Ubuntu 16.04 machine with a network access to the VMware vCenter API. Installation of Microsoft Powershell 1- Import the Microsoft repository GPG Key. $ curl https://packages.microsoft.com/keys/microsoft.asc | \ sudo apt-key add - 2- Add the Microsoft repository to the list of APT sources. $ curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | \ sudo tee /etc/apt/sources.list.d/microsoft.list 3- Update the APT repositories. $ sudo apt-get update 4-...

Configure Cinder on OpenStack Pike standalone with Kolla

Author image Simon Guyennet on OpenStack, Kolla, Cloud, AIO, All In One, Standalone, Storage

Cinder is an OpenStack project which provides block storage to your cloud infrastructure. It allows you to configure and manage persistent storage for your virtual machine instances. Prerequisites If you haven't done so yet, you need to Install and configure OpenStack Pike with Kolla as a standalone. You also need to add a new 100 GB disk to the Ubuntu 16.04 virtual machine built in the previous article. In this lab, the new 100 GB disk will be /dev/sdb. Prepare Ubuntu for Cinder LVM 1- Create a physical volume. $ sudo pvcreate /dev/sdb 2- Create a volume group....

Install and configure OpenStack Pike with Kolla as a standalone

Author image Simon Guyennet on OpenStack, Kolla, Cloud, AIO, All In One, Standalone

Kolla is an OpenStack project focused on deploying, maintaining, and upgrading easily production OpenStack clouds following the community best practices. To achieve this goal, Kolla uses two main technologies: Ansible automation scripts and Docker containers. As you will see, it is really easy to deploy and maintain OpenStack using Kolla. Prerequisites For this lab, we will deploy Ocata which is the last stable version of OpenStack on a single machine. This kind of deployment is also known as All-In-One (AIO). Kolla is supported on CentOS, Oracle Linux and Ubuntu. Linux distribution We will use a Ubuntu 16.04 VM with...