November 2017
Intermediate to advanced
388 pages
8h 46m
English
Now we have to create a S3 bucket to store the Kubernetes state. Kops needs a state store to store configuration information of the cluster. For example, how many nodes, instance type of each node and Kubernetes version. The state is stored during the initial cluster creation. Any further changes to the cluster are also persisted to this store as well. In this case, Amazon S3 is the only supported storage mechanism.
Here, we are using the bucket name kops-bkt (you should choose a unique name):
# aws s3 mb s3://kops-bkt
It is recommended to enable versioning on bucket, because it will help to revert or restore to previous versions:
# aws s3api put-bucket-versioning --bucket kops-bkt --versioning-configuration Status=Enabled ...
Read now
Unlock full access