Skip to content

Commit

Permalink
Bump PKE version in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ecsy committed Apr 25, 2019
1 parent 3f83eba commit b5d876c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions docs/aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ aws ec2 run-instances --image-id ami-3548444c \
Once you single master instance booted up, SSH into it with the key file configured. Run the following commands as root:

```
curl -v https://banzaicloud.com/downloads/pke/pke-0.2.3 -o /usr/local/bin/pke
curl -v https://banzaicloud.com/downloads/pke/pke-0.4.0 -o /usr/local/bin/pke
chmod +x /usr/local/bin/pke
export PATH=$PATH:/usr/local/bin/
Expand Down Expand Up @@ -129,7 +129,7 @@ export INTERNAL_IP=$(curl http://169.254.169.254/latest/meta-data/local-ipv4)
export MAC=$(curl -s http://169.254.169.254/latest/meta-data/network/interfaces/macs/)
export VPC_CIDR=$(curl -s http://169.254.169.254/latest/meta-data/network/interfaces/macs/$MAC/vpc-ipv4-cidr-block/)
curl -v https://banzaicloud.com/downloads/pke/pke-0.2.3 -o /usr/local/bin/pke
curl -v https://banzaicloud.com/downloads/pke/pke-0.4.0 -o /usr/local/bin/pke
chmod +x /usr/local/bin/pke
export PATH=$PATH:/usr/local/bin/
Expand Down Expand Up @@ -162,7 +162,7 @@ pke token create
To install a worker node, run the following commands. Take note that you'd need to set the TOKEN and CERTHASH variables from above.

```
curl -v https://banzaicloud.com/downloads/pke/pke-0.2.3 -o /usr/local/bin/pke
curl -v https://banzaicloud.com/downloads/pke/pke-0.4.0 -o /usr/local/bin/pke
chmod +x /usr/local/bin/pke
export PATH=$PATH:/usr/local/bin/
Expand Down
6 changes: 3 additions & 3 deletions docs/azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ Install PKE.
> `--kubernetes-cluster-name` is used for load balancer naming.
```bash
curl -v https://banzaicloud.com/downloads/pke/pke-0.2.3 -o /usr/local/bin/pke
curl -v https://banzaicloud.com/downloads/pke/pke-0.4.0 -o /usr/local/bin/pke
chmod +x /usr/local/bin/pke
export PATH=$PATH:/usr/local/bin/

Expand Down Expand Up @@ -343,7 +343,7 @@ Install PKE.
> `--kubernetes-cluster-name` is used for load balancer naming.
```bash
curl -v https://banzaicloud.com/downloads/pke/pke-0.3.0 -o /usr/local/bin/pke
curl -v https://banzaicloud.com/downloads/pke/pke-0.4.0 -o /usr/local/bin/pke
chmod +x /usr/local/bin/pke
export PATH=$PATH:/usr/local/bin/

Expand Down Expand Up @@ -409,7 +409,7 @@ export CERTHASH=<copy here value from previous step>
Install PKE.

```bash
curl -v https://banzaicloud.com/downloads/pke/pke-0.3.0 -o /usr/local/bin/pke
curl -v https://banzaicloud.com/downloads/pke/pke-0.4.0 -o /usr/local/bin/pke
chmod +x /usr/local/bin/pke
export PATH=$PATH:/usr/local/bin/

Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ You can also use the following commands as root to achieve this:


```
curl -v https://banzaicloud.com/downloads/pke/pke-0.2.3 -o /usr/local/bin/pke
curl -v https://banzaicloud.com/downloads/pke/pke-0.4.0 -o /usr/local/bin/pke
chmod +x /usr/local/bin/pke
export PATH=$PATH:/usr/local/bin/
```
6 changes: 3 additions & 3 deletions docs/vagrant.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Once the node is up follow these instructions:
vagrant ssh node1
sudo -s
curl -v https://banzaicloud.com/downloads/pke/pke-0.2.3 -o /usr/local/bin/pke
curl -v https://banzaicloud.com/downloads/pke/pke-0.4.0 -o /usr/local/bin/pke
chmod +x /usr/local/bin/pke
export PATH=$PATH:/usr/local/bin/
Expand All @@ -47,7 +47,7 @@ Once the node is up follow these instructions:
vagrant ssh node1
sudo -s
curl -v https://banzaicloud.com/downloads/pke/pke-0.2.3 -o /usr/local/bin/pke
curl -v https://banzaicloud.com/downloads/pke/pke-0.4.0 -o /usr/local/bin/pke
chmod +x /usr/local/bin/pke
export PATH=$PATH:/usr/local/bin/
Expand Down Expand Up @@ -77,7 +77,7 @@ Take note that you'd need to export the TOKEN and CERTHASH environment variables
vagrant ssh node2
sudo -s
curl -v https://banzaicloud.com/downloads/pke/pke-0.2.3 -o /usr/local/bin/pke
curl -v https://banzaicloud.com/downloads/pke/pke-0.4.0 -o /usr/local/bin/pke
chmod +x /usr/local/bin/pke
export PATH=$PATH:/usr/local/bin/
Expand Down
2 changes: 1 addition & 1 deletion scripts/vagrant/pke-single.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash -xe

/usr/local/bin/pke version -o yaml || ( \
curl -v https://banzaicloud.com/downloads/pke/pke-0.2.3 -o /usr/local/bin/pke && \
curl -v https://banzaicloud.com/downloads/pke/pke-0.4.0 -o /usr/local/bin/pke && \
chmod +x /usr/local/bin/pke
)

Expand Down

0 comments on commit b5d876c

Please sign in to comment.