Skip to Content
Kubernetes Cookbook - Second Edition
book

Kubernetes Cookbook - Second Edition

by Hideto Saito, Hui-Chuan Chloe Lee, Ke-Jou Carol Hsu
May 2018
Intermediate to advanced
554 pages
13h 51m
English
Packt Publishing
Content preview from Kubernetes Cookbook - Second Edition

Kops

Kops is the most efficient way to create Kubernetes clusters in AWS. Via the kops configuration file, you can easily launch a custom cluster on the cloud. To build an etcd multi-node cluster, you could use the following section inside the kops configuration file:

etcdClusters:  - etcdMembers:    - instanceGroup: my-master-us-east-1a      name: my-etcd-1    - instanceGroup: my-master-us-east-1b      name: my-etcd-2    - instanceGroup: my-master-us-east-1c      name: my-etcd-3

Normally, an instanceGroup means an auto-scaling group. You'll have to declare a related intanceGroup my-master-us-east-1x in the configuration file as well. We'll learn more about it in Chapter 6, Building Kubernetes on AWS. By default, kops still uses etcd2 at the time this book is being ...

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.
Start your free trial

You might also like

Kubernetes Cookbook

Kubernetes Cookbook

Sébastien Goasguen, Michael Hausenblas
DevOps with Kubernetes - Second Edition

DevOps with Kubernetes - Second Edition

Hideto Saito, Hui-Chuan Chloe Lee, Cheng-Yang Wu

Publisher Resources

ISBN: 9781788837606Supplemental Content