Book Image

Containers in OpenStack

Book Image

Containers in OpenStack

Overview of this book

Containers are one of the most talked about technologies of recent times. They have become increasingly popular as they are changing the way we develop, deploy, and run software applications. OpenStack gets tremendous traction as it is used by many organizations across the globe and as containers gain in popularity and become complex, it’s necessary for OpenStack to provide various infrastructure resources for containers, such as compute, network, and storage. Containers in OpenStack answers the question, how can OpenStack keep ahead of the increasing challenges of container technology? You will start by getting familiar with container and OpenStack basics, so that you understand how the container ecosystem and OpenStack work together. To understand networking, managing application services and deployment tools, the book has dedicated chapters for different OpenStack projects: Magnum, Zun, Kuryr, Murano, and Kolla. Towards the end, you will be introduced to some best practices to secure your containers and COE on OpenStack, with an overview of using each OpenStack projects for different use cases.
Table of Contents (17 chapters)
Title Page
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface

Kubernetes installation


Kubernetes can run on various platforms, from laptops and VMs on a cloud provider to a rack of bare metal servers. There are multiple solutions today to install and run Kubernetes clusters. Read the Kubernetes documentation to find the best solution for your particular use case.

In this chapter, we will use kubeadm to bring up a Kubernetes cluster on Ubuntu 16.04+. kubeadm can be used to easily bring up a cluster with a single command per machine.

In this installation, we will use a tool called kubeadm, which is a part of Kubernetes. The prerequisites for installing kubeadm are:

  • One or more machines running Ubuntu 16.04+
  • Minimum of 1 GB or more of RAM per machine
  • Full network connectivity between all machines in the cluster

All of the machines in the cluster need the following components to be installed:

  1. Install Docker on all of the machines. As per the Kubernetes documentation, version 1.12 is recommended. Please refer to the Installation of Docker section in Chapter 1...