실습
Installing the Client Tools
wget -q --timestamping \
https://storage.googleapis.com/kubernetes-the-hard-way/cfssl/1.4.1/linux/cfssl \
https://storage.googleapis.com/kubernetes-the-hard-way/cfssl/1.4.1/linux/cfssljson
chmod +x cfssl cfssljson
sudo mv cfssl cfssljson /usr/local/bin/cfssl versionwget https://storage.googleapis.com/kubernetes-release/release/v1.21.0/bin/linux/amd64/kubectl
chmod +x kubectl
sudo mv kubectl /usr/local/bin/kubectl version --clientProvisioning Compute Resources
Networking
VPC
Subnet
Internet Gateway
Route Tables
Security Group
Network Load Balancer
Compute Instances
Instance Image
SSH Key Pair
Kubernetes Controllers
Kubernetes Workers
Provisioning a CA and Generating TLS Certificates
Certificate Authority
Client and Server Certificates
The Admin Client Certificate
The Kubelet Client Certificates
The Controller Manager Client Certificate
The Kube Proxy Client Certificate
The Scheduler Client Certificate
The Kubernetes API Server Certificate
The Service Account Key Pair
Distribute the Client and Server Certificates
Worker Instances
controller Instances
Generating Kubernetes Configuration Files for Authentication
Client Authentication Configs
Kubernetes Public IP Address
The kubelet Kubernetes Configuration File
The kube-proxy Kubernetes Configuration File
The kube-controller-manager Kubernetes Configuration File
The kube-scheduler Kubernetes Configuration File
The admin Kubernetes Configuration File
Distribute the Kubernetes Configuration Files
Worker Instances
Controller Instances
Generating the Data Encryption Config and Key
The Encryption Key
The Encryption Config File
Bootstrapping the etcd Cluster
Prerequisites
Bootstrapping an etcd Cluster Member
Download and Install the etcd Binaries
Configure the etcd Server
Start the etcd Server
Verification
Bootstrapping the Kubernetes Control Plane
Prerequisites
Provision the Kubernetes Control Plane
Download and Install the Kubernetes Controller Binaries
Configure the Kubernetes API Server
Configure the Kubernetes Controller Manager
Configure the Kubernetes Scheduler
Start the Controller Services
Verification
RBAC for Kubelet Authorization
Bootstrapping the Kubernetes Worker Nodes
Prerequisites
Provisioning a Kubernetes Worker Node
Download and Install Worker Binaries
Configure CNI Networking
Configure containerd
Configure the Kubelet
Configure the Kubernetes Proxy
Start the Worker Services
Verification
Configuring kubectl for Remote Access
Verification
Provisioning Pod Network Routes
Validate Routes
Deploying the DNS Cluster Add-on
The DNS Cluster Add-on
Verification
Smoke Test
Data Encryption
Deployments
Port Forwarding
Logs
Exec
Services
Cleaning Up
Compute Instances
Networking
Last updated