Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Commit c4b581c

Browse files
authored
Merge pull request #400 from hasbro17/haseeb/fix-quickstart-AWS-doc
docs: fix typo in quickstart-aws.md
2 parents b466bae + 64ed8fa commit c4b581c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hack/quickstart/quickstart-aws.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Next, create the security group rules.
2222
```
2323
$ aws ec2 authorize-security-group-ingress --region us-west-2 --group-name ${CLUSTER_PREFIX}-sg --protocol tcp --port 22 --cidr 0.0.0.0/0
2424
$ aws ec2 authorize-security-group-ingress --region us-west-2 --group-name ${CLUSTER_PREFIX}-sg --protocol tcp --port 443 --cidr 0.0.0.0/0
25-
$ aws ec2 authorize-security-group-ingress --region us-west-2 --group-name ${CLUSTER_PREFIX}-sg --protocol tcp --port 0-65535 --source-group k8s-sg
25+
$ aws ec2 authorize-security-group-ingress --region us-west-2 --group-name ${CLUSTER_PREFIX}-sg --protocol tcp --port 0-65535 --source-group ${CLUSTER_PREFIX}-sg
2626
```
2727

2828
### Create a key-pair
@@ -54,7 +54,7 @@ $ aws ec2 describe-instances --region us-west-2 --instance-ids <INSTANCE_ID> --q
5454
We can then use the public-ip to initialize a master node:
5555

5656
```
57-
$ IDENT=k8s-key.pem ./init-master.sh <PUBLIC_IP>
57+
$ IDENT=${CLUSTER_PREFIX}-key.pem ./init-master.sh <PUBLIC_IP>
5858
```
5959

6060
After the master bootstrap is complete, you can continue to add worker nodes. Or cluster state can be inspected via kubectl:
@@ -68,7 +68,7 @@ $ kubectl --kubeconfig=cluster/auth/kubeconfig get nodes
6868
Run the `Launch Nodes` step for each additional node you wish to add, then using the public-ip, run:
6969

7070
```
71-
IDENT=k8s-key.pem ./init-worker.sh <PUBLIC_IP> cluster/auth/kubeconfig
71+
IDENT=${CLUSTER_PREFIX}-key.pem ./init-worker.sh <PUBLIC_IP> cluster/auth/kubeconfig
7272
```
7373

7474
**NOTE:** It can take a few minutes for each node to download all of the required assets / containers.

0 commit comments

Comments
 (0)