- Getting Started with Kubernetes
- Jonathan Baier Jesse White
- 148字
- 2021-06-10 19:47:00
Cluster state storage
Since we're building resources in the cloud using configuration management, we're going to need to store the representation of our cluster in a dedicated S3 bucket. This source of truth will allow us to maintain a single location for the configuration and state of our Kubernetes cluster. Please prepend your bucket name with a unique value.
You'll need to have kubectl, kops, the aws cli, and IAM credentials set up for yourself at this point!
Be sure to create your bucket in the us-east-1 region for now, as kops is currently opinionated as to where the bucket belongs:
aws s3api create-bucket \
--bucket gsw-k8s-3-state-store \
--region us-east-1
Let's go ahead and set up versioning as well, so you can roll your cluster back to previous states in case anything goes wrong. Behold the power of Infrastructure as Code!
aws s3api put-bucket-versioning --bucket gsw-k8s-3-state-store --versioning-configuration Status=Enabled
推薦閱讀
- 現(xiàn)代測控系統(tǒng)典型應(yīng)用實例
- Java實用組件集
- 樂高機(jī)器人EV3設(shè)計指南:創(chuàng)造者的搭建邏輯
- Java開發(fā)技術(shù)全程指南
- Ceph:Designing and Implementing Scalable Storage Systems
- 構(gòu)建高性能Web站點
- Learning C for Arduino
- Visual Basic.NET程序設(shè)計
- OpenStack Cloud Computing Cookbook
- 精通數(shù)據(jù)科學(xué):從線性回歸到深度學(xué)習(xí)
- 生成對抗網(wǎng)絡(luò)項目實戰(zhàn)
- 漢字錄入技能訓(xùn)練
- 大數(shù)據(jù)時代的調(diào)查師
- Win 7二十一
- Apache Hadoop 3 Quick Start Guide