Merge pull request #2 from khenidak/azure-jason

More Notes
pull/84/head^2
Jason Poon 2016-10-06 13:05:15 -07:00 committed by GitHub
commit a4d24dfa84
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
``` ```
@ -693,6 +693,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,14 +83,12 @@ 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 \
@ -104,7 +102,6 @@ azure network nsg rule create \
--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 \