更新时间:2021-06-25 21:41:43
封面
版权信息
Packt Upsell
Why subscribe?
PacktPub.com
Contributors
About the authors
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Sections
Getting ready
How to do it...
How it works...
There's more...
See also
Get in touch
Reviews
Building Your Own Kubernetes Cluster
Introduction
Exploring the Kubernetes architecture
Kubernetes master
API server (kube-apiserver)
Scheduler (kube-scheduler)
Controller manager (kube-controller-manager)
Command-line interface (kubectl)
Kubernetes node
kubelet
Proxy (kube-proxy)
etcd
Kubernetes network
Setting up the Kubernetes cluster on macOS by minikube
Setting up the Kubernetes cluster on Windows by minikube
Setting up the Kubernetes cluster on Linux via kubeadm
Package installation
Ubuntu
CentOS
System configuration prerequisites
CentOS system settings
Booting up the service
Network configurations for containers
Getting a node involved
Setting up the Kubernetes cluster on Linux via Ansible (kubespray)
Installing pip
Installing Ansible
Installing python-netaddr
Setting up ssh public key authentication
Maintaining the Ansible inventory
Running the Ansible ad hoc command to test your environment
Ansible troubleshooting
Need to specify a sudo password
Need to specify different ssh logon user
Need to change ssh port
Common ansible issue
Running your first container in Kubernetes
Running a HTTP server (nginx)
Exposing the port for external access
Stopping the application
How it works…
Walking through Kubernetes Concepts
An overview of Kubernetes
Linking Pods and containers
Managing Pods with ReplicaSets
Creating a ReplicaSet