commit
4238a2fd6e
|
@ -650,16 +650,16 @@ info: Executing command vm list
|
|||
+ Getting virtual machines
|
||||
data: ResourceGroupName Name ProvisioningState PowerState Location Size
|
||||
data: ----------------- ------------ ----------------- ---------- -------- -----------
|
||||
data: the-hard-way controller-0 Succeeded VM running westus Standard_D4
|
||||
data: the-hard-way controller-1 Succeeded VM running westus Standard_D4
|
||||
data: the-hard-way controller-2 Succeeded VM running westus Standard_D4
|
||||
data: the-hard-way etcd-0 Succeeded VM running westus Standard_D4
|
||||
data: the-hard-way etcd-1 Succeeded VM running westus Standard_D4
|
||||
data: the-hard-way etcd-2 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_A1
|
||||
data: the-hard-way controller-2 Succeeded VM running westus Standard_A1
|
||||
data: the-hard-way etcd-0 Succeeded VM running westus Standard_A1
|
||||
data: the-hard-way etcd-1 Succeeded VM running westus Standard_A1
|
||||
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 worker-0 Succeeded VM running westus Standard_D4
|
||||
data: the-hard-way worker-1 Succeeded VM running westus Standard_D4
|
||||
data: the-hard-way worker-2 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_A1
|
||||
data: the-hard-way worker-2 Succeeded VM running westus Standard_A1
|
||||
info: vm list command OK
|
||||
```
|
||||
|
||||
|
@ -693,6 +693,7 @@ ssh -i ./cluster \
|
|||
thehardway@10.240.0.31
|
||||
|
||||
#or
|
||||
|
||||
ssh -i ./cluster \
|
||||
thehardway@controller-1
|
||||
|
||||
|
|
|
@ -139,7 +139,7 @@ KUBERNETES_PUBLIC_ADDRESS=$(aws elb describe-load-balancers \
|
|||
|
||||
#### 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 \
|
||||
|
@ -254,7 +254,7 @@ done
|
|||
|
||||
### 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
|
||||
|
@ -263,19 +263,16 @@ for host in ${KUBERNETES_HOSTS[*]}; do
|
|||
done
|
||||
```
|
||||
|
||||
If you used a different machine
|
||||
If you used a different machine:
|
||||
|
||||
```
|
||||
|
||||
# Get jumpbox address
|
||||
|
||||
KUBERNETES_JUMPBOX_ADDRESS=$(azure network public-ip show \
|
||||
--resource-group the-hard-way \
|
||||
--name the-hard-way-jumpbox \
|
||||
--json | jq -r '.dnsSettings.fqdn')
|
||||
|
||||
# Copy files to jumpbox
|
||||
|
||||
scp -i ./keys/cluster \
|
||||
ca.pem \
|
||||
kubernetes-key.pem \
|
||||
|
|
|
@ -83,28 +83,25 @@ NODE_PUBLIC_IP=$(aws ec2 describe-instances \
|
|||
|
||||
```
|
||||
# Get the fqdn for the public worker ingestion load balancer
|
||||
|
||||
NODE_PUBLIC_IP=$(azure network public-ip show \
|
||||
--resource-group the-hard-way \
|
||||
--name the-hard-way-workers \
|
||||
--json | jq -r '.dnsSettings.fqdn')
|
||||
|
||||
# Add NSG rule to enable traffic to workers' node ports
|
||||
|
||||
azure network nsg rule create \
|
||||
--resource-group the-hard-way \
|
||||
--nsg-name the-hard-way-nsg \
|
||||
--name allow-internet-$NODE_PORT \
|
||||
--protocol tcp \
|
||||
--access allow \
|
||||
--source-address-prefix Internet \
|
||||
--source-address-prefix Internet \
|
||||
--destination-address-prefix 10.240.0.0/16 \
|
||||
--destination-port-range $NODE_PORT \
|
||||
--priority 110 \
|
||||
--direction inbound
|
||||
|
||||
# Create load balancer rule NODE_PORT:NODE_PORT on the load balancer
|
||||
|
||||
azure network lb probe create \
|
||||
--resource-group the-hard-way \
|
||||
--lb-name the-hard-way-lb \
|
||||
|
|
Loading…
Reference in New Issue