Appendix A. Configuring Kubernetes as Used in This Book
Throughout this book, we use two Kubernetes providers: one to demonstrate Kubernetes as a managed service, which you can run in IBM’s worldwide datacenters; and the second to demonstrate Kubernetes as a software package that you can install on your infrastructure of choice.
Configuring IBM Cloud Private in Your Datacenter
The following section describes how to configure IBM Cloud Private and the supporting command-line interface to use when running the examples discussed in this book.
Configuring an IBM Cloud Private Kubernetes Cluster
There are a number of ways to get started with your own enterprise-grade Kubernetes cluster on your own infrastructure.
First, as a software distribution of Kubernetes, you can deploy IBM Cloud Private on your own infrastructure (VMware, bare metal, OpenStack) or various public cloud providers. Visit the GitHub repository for ready-to-go automation.
For local experiments, you can simulate a multiworker cluster on your own laptop via the following code:
git clone https://github.com/IBM/deploy-ibm-cloud-private.git cd deploy-ibm-cloud-private
Open the Vagrantfile and customize it for your machine’s capacity:
# Vagrantfile ... # most laptops have at least 8 cores nowadays (adjust based # on your laptop hardware) cpus = '2' # this will cause memory swapping in the VM # performance is decent with SSD drives but may not be with # spinning disks #memory = '4096' # use this setting for better performance ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access