All posts tagged in: VMware

Install and manage automatically a Kubernetes cluster on VMware vSphere with Terraform and Kubespray

Author image Simon Guyennet on Cloud, Automation, Kubernetes, vSphere, VMware, Terraform, Container, Ansible, Kubespray

If you already completed the tutorials Deploy Kubernetes 1.9 from scratch on VMware vSphere and Install and configure a multi-master Kubernetes cluster with kubeadm, you should have a pretty good understanding of how a multi-master Kubernetes cluster is structured. You are now probably looking for a way to automate the deployment of your lab so you don't have to follow all these painful steps each time you want to deploy a clean environment. Kubespray is a Kubernetes incubator project. It is composed of Ansible playbook and automates the deployment of a Kubernetes cluster on an existing infrastructure. In this...

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

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 VMware vSphere Integrated Containers 1.2.1

Author image Simon Guyennet on Cloud, VMware, vSphere, Docker, Container, VIC

VMware vSphere Integrated Containers aka VIC is a new product released by VMware last year. It comes with a vSphere Enterprise Plus license. This new product allows you to deploy containers as vSphere virtual machines from the Docker command line interface. VMware vSphere Integrated Containers bundles three different open source projects: Admiral, which is a management web interface; Harbor, which is a Docker registry; and VIC engine, which is the core of VMware vSphere Integrated Containers. You can see VIC engine as a translator from Docker API calls to VMware vSphere API calls. The container virtual machines are running a...