updating sizes

pull/84/head^2^2
Jason Poon 2016-10-05 12:55:50 -07:00
parent dfd38efca0
commit 6ec245ad8e
3 changed files with 14 additions and 19 deletions

View File

@ -650,16 +650,16 @@ info: Executing command vm list
+ Getting virtual machines + Getting virtual machines
data: ResourceGroupName Name ProvisioningState PowerState Location Size data: ResourceGroupName Name ProvisioningState PowerState Location Size
data: ----------------- ------------ ----------------- ---------- -------- ----------- data: ----------------- ------------ ----------------- ---------- -------- -----------
data: the-hard-way controller-0 Succeeded VM running westus Standard_D4 data: the-hard-way controller-0 Succeeded VM running westus Standard_A1
data: the-hard-way controller-1 Succeeded VM running westus Standard_D4 data: the-hard-way controller-1 Succeeded VM running westus Standard_A1
data: the-hard-way controller-2 Succeeded VM running westus Standard_D4 data: the-hard-way controller-2 Succeeded VM running westus Standard_A1
data: the-hard-way etcd-0 Succeeded VM running westus Standard_D4 data: the-hard-way etcd-0 Succeeded VM running westus Standard_A1
data: the-hard-way etcd-1 Succeeded VM running westus Standard_D4 data: the-hard-way etcd-1 Succeeded VM running westus Standard_A1
data: the-hard-way etcd-2 Succeeded VM running westus Standard_D4 data: the-hard-way etcd-2 Succeeded VM running westus Standard_A1
data: the-hard-way jumpbox Succeeded VM running westus Standard_A1 data: the-hard-way jumpbox Succeeded VM running westus Standard_A1
data: the-hard-way worker-0 Succeeded VM running westus Standard_D4 data: the-hard-way worker-0 Succeeded VM running westus Standard_A1
data: the-hard-way worker-1 Succeeded VM running westus Standard_D4 data: the-hard-way worker-1 Succeeded VM running westus Standard_A1
data: the-hard-way worker-2 Succeeded VM running westus Standard_D4 data: the-hard-way worker-2 Succeeded VM running westus Standard_A1
info: vm list command OK info: vm list command OK
``` ```
@ -691,6 +691,7 @@ ssh -i ./cluster \
thehardway@10.240.0.31 thehardway@10.240.0.31
#or #or
ssh -i ./cluster \ ssh -i ./cluster \
thehardway@controller-1 thehardway@controller-1

View File

@ -139,7 +139,7 @@ KUBERNETES_PUBLIC_ADDRESS=$(aws elb describe-load-balancers \
#### Azure #### Azure
this gets the address of the internal controllers load balancer This retrieves the address of the *internal* controllers load balancer.
``` ```
KUBERNETES_PUBLIC_ADDRESS=$(azure network lb show \ KUBERNETES_PUBLIC_ADDRESS=$(azure network lb show \
@ -257,7 +257,7 @@ done
### Azure ### Azure
If you are using the jumpbox to create the certificates If you were on the jumpbox create the certificates:
``` ```
for host in ${KUBERNETES_HOSTS[*]}; do for host in ${KUBERNETES_HOSTS[*]}; do
@ -266,19 +266,16 @@ for host in ${KUBERNETES_HOSTS[*]}; do
done done
``` ```
If you used a different machine If you used a different machine:
``` ```
# Get jumpbox address # Get jumpbox address
KUBERNETES_JUMPBOX_ADDRESS=$(azure network public-ip show \ KUBERNETES_JUMPBOX_ADDRESS=$(azure network public-ip show \
--resource-group the-hard-way \ --resource-group the-hard-way \
--name the-hard-way-jumpbox \ --name the-hard-way-jumpbox \
--json | jq -r '.dnsSettings.fqdn') --json | jq -r '.dnsSettings.fqdn')
# Copy files to jumpbox # Copy files to jumpbox
scp -i ./keys/cluster \ scp -i ./keys/cluster \
ca.pem \ ca.pem \
kubernetes-key.pem \ kubernetes-key.pem \

View File

@ -83,28 +83,25 @@ NODE_PUBLIC_IP=$(aws ec2 describe-instances \
``` ```
# Get the fqdn for the public worker ingestion load balancer # Get the fqdn for the public worker ingestion load balancer
NODE_PUBLIC_IP=$(azure network public-ip show \ NODE_PUBLIC_IP=$(azure network public-ip show \
--resource-group the-hard-way \ --resource-group the-hard-way \
--name the-hard-way-workers \ --name the-hard-way-workers \
--json | jq -r '.dnsSettings.fqdn') --json | jq -r '.dnsSettings.fqdn')
# Add NSG rule to enable traffic to workers' node ports # Add NSG rule to enable traffic to workers' node ports
azure network nsg rule create \ azure network nsg rule create \
--resource-group the-hard-way \ --resource-group the-hard-way \
--nsg-name the-hard-way-nsg \ --nsg-name the-hard-way-nsg \
--name allow-internet-$NODE_PORT \ --name allow-internet-$NODE_PORT \
--protocol tcp \ --protocol tcp \
--access allow \ --access allow \
--source-address-prefix Internet \ --source-address-prefix Internet \
--destination-address-prefix 10.240.0.0/16 \ --destination-address-prefix 10.240.0.0/16 \
--destination-port-range $NODE_PORT \ --destination-port-range $NODE_PORT \
--priority 110 \ --priority 110 \
--direction inbound --direction inbound
# Create load balancer rule NODE_PORT:NODE_PORT on the load balancer # Create load balancer rule NODE_PORT:NODE_PORT on the load balancer
azure network lb probe create \ azure network lb probe create \
--resource-group the-hard-way \ --resource-group the-hard-way \
--lb-name the-hard-way-lb \ --lb-name the-hard-way-lb \