Skip to content

Commit

Permalink
Merge pull request #1170 from tjkirch/nits
Browse files Browse the repository at this point in the history
Fix documentation/comment nits
  • Loading branch information
tjkirch authored Oct 19, 2020
2 parents bfb0d04 + 6cb070c commit 708f648
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions QUICKSTART-EKS.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,8 @@ You can set up a new cluster like this:
eksctl create cluster --region us-west-2 --name bottlerocket
```

Now that the cluster is created, we can have `eksctl` create the configuration for `kubectl`:
```
eksctl utils write-kubeconfig --region us-west-2 --name bottlerocket
```
This will automatically add a "context" so `kubectl` knows how to interact with your cluster, and it'll set that context as your default.
You can see your contexts (clusters) using `kubectl config get-contexts` and change your current one with `kubectl config use-context 'NEW-CONTEXT-HERE'`.

### Cluster info

Expand Down Expand Up @@ -286,7 +284,8 @@ For the instance to be able to communicate with the EKS cluster control plane an
Run the following command:

```
aws ec2 describe-security-groups --filters 'Name=tag:Name,Values=*bottlerocket*' \
aws ec2 describe-security-groups --region us-west-2 \
--filters 'Name=tag:Name,Values=*bottlerocket*' \
--query "SecurityGroups[*].{Name:GroupName,ID:GroupId}"
```

Expand Down
2 changes: 1 addition & 1 deletion tools/pubsys/src/aws/ssm/ssm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ mod error {
missing: String,
},

#[snafu(display("Failed to {} of {} parameters; see above", failure_count, total_count))]
#[snafu(display("Failed to set {} of {} parameters; see above", failure_count, total_count))]
SetParameters {
failure_count: usize,
total_count: usize,
Expand Down

0 comments on commit 708f648

Please sign in to comment.