Skip to content

Commit

Permalink
Changed the s3 bucket creation command. This was done because if some…
Browse files Browse the repository at this point in the history
…one is following along but wants to use a different region then the original command will not always create the bucket in that region. Here is the issue in the aws-cli that provides more information on the problem. aws/aws-cli#1667
  • Loading branch information
timothyjosefik authored and Josefik committed Sep 20, 2017
1 parent 8092838 commit 18129f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/examples/coreos-kops-tests-multimaster.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The exercise described on this document will focus on the following goals:

## PRE-FLIGHT CHECK:

Before rushing in to replicate this exercise, please ensure your basic environment is correctly setup. See the [KOPS AWS tutorial for more information](https://github.com/kubernetes/kops/blob/master/docs/aws.md).
Before rushing in to replicate this exercise, please ensure your basic environment is correctly setup. See the [KOPS AWS tutorial for more information](https://github.com/kubernetes/kops/blob/master/docs/aws.md).

Ensure that the following points are covered and working in your environment:

Expand Down Expand Up @@ -50,7 +50,7 @@ export AWS_PROFILE=name_of_your_profile
Create a bucket (if you don't already have one) for your cluster state:

```bash
aws s3api create-bucket --bucket my-kops-s3-bucket-for-cluster-state --region us-east-1
aws s3 mb s3://my-kops-s3-bucket-for-cluster-state --region us-east-1
```

Then export the name of your cluster along with the "S3" URL of your bucket:
Expand Down Expand Up @@ -135,7 +135,7 @@ aws ec2 describe-images --region=us-east-1 --owner=595879546273 \
--query 'sort_by(Images,&CreationDate)[-1].{id:ImageLocation}' \
--output table


---------------------------------------------------
| DescribeImages |
+----+--------------------------------------------+
Expand Down Expand Up @@ -289,7 +289,7 @@ curl http://54.210.119.98
curl http://34.200.247.63
<html><body><h1>It works!</h1></body></html>

```
```

**NOTE:** If you are replicating this exercise in a production environment, use a "real" load balancer in order to expose your replicated services. We are here just testing things so we really don't care right now about that, but, if you are doing this for a "real" production environment, either use an AWS ELB service, or an nginx ingress controller as described in our documentation: [NGINX Based ingress controller](https://github.com/kubernetes/kops/tree/master/addons/ingress-nginx).

Expand Down

0 comments on commit 18129f4

Please sign in to comment.