This repository was archived by the owner on Jul 30, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
5454We 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
6060After 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
6868Run 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.
You can’t perform that action at this time.
0 commit comments