Kubernetes Cookbook by Ke-Jou Carol Hsu, Hui-Chuan Chloe Lee, Hideto Saito Publisher: Packt Publishing Release Date: June 2016 ISBN: 9781785880063 Book Description Learn how to automate and manage your Linux containers and improve the overall performance of your system About This Book Are you using containers in your organization and want to better manage, scale, and orchestrate apps on the container? Use the recipes in the book to find a reliable solution from experts This is the first and only book on the market on Kubernetes, and it will show how to manage your containers in production using Kubernetes Buy this book, simply follow the recipes, and you will be the master of your Linux containers Who This Book Is For The book is aimed at system administrators who have intermediate level of knowledge with Kubernetes and want to better manage their applications deployed over containers. Also, it will help those administrators who want to maintain and scale applications on these containers. What You Will Learn Get to know how to build your own container cluster Deploy and manage highly scalable applications using Kubernetes Discover how to build high availability Kubernetes clusters Find out how to build a continuous delivery pipeline for your application Track metrics and logs for every container running in your cluster Streamline the way you deploy and manage your applications with large-scale container orchestration In Detail Kubernetes is Google’s solution to managing a cluster of containers. Kubernetes provides a declarative API to manage clusters while giving us a lot of flexibility. This book will provide you with recipes to better manage containers in different scenarios in production using Kubernetes. We will start by giving you a quick brush up on how Kubernetes works with containers along with an overview of the main Kubernetes features such as Pods, Replication Controllers, and more. Next, we will teach you how to create Kubernetes cluster and how to run programs on Kubernetes. We’ll explain features such as High Availability Kubernetes master setup, using Kubernetes with Docker, and orchestration with Kubernetes using AWS. Later, will show you how to use Kubernetes-UI, and how to set up and manage Kubernetes clusters on the cloud and bare metal. Upon completion of this book, you will be able use Kubernetes in production and will have a better understanding of how to manage your containers using Kubernetes. Style and approach This recipe-based book precisely teaches you how to use Kubernetes in production and how to better manage your containers using Kubernetes. Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the code file. Table of Contents Kubernetes Cookbook Credits About the Authors About the Reviewer www.PacktPub.com eBooks, discount offers, and more Why Subscribe? Preface What this book covers What you need for this book Who this book is for Sections Getting ready How to do it… How it works… There's more… See also Conventions Reader feedback Customer support Downloading the example code Errata Piracy Questions 1. Building Your Own Kubernetes Introduction Exploring architecture Getting ready How to do it… Kubernetes master API server (kube-apiserver) Scheduler (kube-scheduler) Controller manager (kube-controller-manager) Command Line Interface (kubectl) Kubernetes node kubelet Proxy (kube-proxy) How it works… etcd Overlay network Flannel See also Preparing your environment Getting ready Hardware resource Operating system How to do it… Kubernetes master Kubernetes nodes etcd See also Building datastore How to do it… Red Hat Enterprise Linux 7 or CentOS 7 Ubuntu Linux 15.10 Wily Werewolf Other Linux Download a binary Creating a user Install etcd How it works… Auto startup script Startup script (systemd) Startup script (init) Configuration See also Creating an overlay network Getting ready Installation CentOS 7 or Red Hat Enterprise Linux 7 Other Linux options How to do it… Flannel networking configuration Integrating with Docker How it works… See also Configuring master Getting ready How to do it… Installation CentOS 7 or Red Hat Enterprise Linux 7 Adding daemon dependency Other Linux options Verification See also Configuring nodes Getting ready
Kubernetes+Cookbook
温馨提示:如果当前文档出现乱码或未能正常浏览,请先下载原文档进行浏览。
本文档由 user 于 2020-12-27 06:40:39上传分享