Fixed ssh port/ip in nsg
parent
ab93a48b5e
commit
e0a3247ee5
|
@ -26,7 +26,7 @@ workersDnsLabel="the-hard-way"
|
||||||
#storage account used by jumpbox + controllers + Etcd VMs
|
#storage account used by jumpbox + controllers + Etcd VMs
|
||||||
controlPlaneStorageAccount="thehardwaycsa"
|
controlPlaneStorageAccount="thehardwaycsa"
|
||||||
|
|
||||||
#storage account used by workers
|
#storage account used by workers VMs
|
||||||
workersStorageAccount="thehardwaywsa"
|
workersStorageAccount="thehardwaywsa"
|
||||||
|
|
||||||
# all vms are using ubunut 16.4 LTS
|
# all vms are using ubunut 16.4 LTS
|
||||||
|
@ -72,7 +72,7 @@ azure network nsg rule create \
|
||||||
--name allow-ssh-jumpbox \
|
--name allow-ssh-jumpbox \
|
||||||
--protocol tcp \
|
--protocol tcp \
|
||||||
--access allow \
|
--access allow \
|
||||||
--destination-address-prefix 10.0.0.4/32 \
|
--destination-address-prefix 10.0.0.5/32 \
|
||||||
--destination-port-range 22 \
|
--destination-port-range 22 \
|
||||||
--priority 100 \
|
--priority 100 \
|
||||||
--direction inbound
|
--direction inbound
|
||||||
|
@ -97,7 +97,7 @@ azure network vnet subnet create \
|
||||||
--resource-group the-hard-way \
|
--resource-group the-hard-way \
|
||||||
--vnet-name the-hard-way-net \
|
--vnet-name the-hard-way-net \
|
||||||
--name kubernetes \
|
--name kubernetes \
|
||||||
--address-prefix 10.0.0.0/8
|
--address-prefix 10.0.0.0/8
|
||||||
```
|
```
|
||||||
|
|
||||||
Link Routing Table and NSG to Kubernetes Subnet
|
Link Routing Table and NSG to Kubernetes Subnet
|
||||||
|
@ -203,7 +203,7 @@ azure network nic create \
|
||||||
--private-ip-address "10.240.0.10" \
|
--private-ip-address "10.240.0.10" \
|
||||||
--subnet-vnet-name the-hard-way-net \
|
--subnet-vnet-name the-hard-way-net \
|
||||||
--subnet-name kubernetes \
|
--subnet-name kubernetes \
|
||||||
--location "West Us"
|
--location "West Us"
|
||||||
```
|
```
|
||||||
Create VM
|
Create VM
|
||||||
|
|
||||||
|
@ -270,7 +270,7 @@ azure network nic create \
|
||||||
--private-ip-address "10.240.0.12" \
|
--private-ip-address "10.240.0.12" \
|
||||||
--subnet-vnet-name the-hard-way-net \
|
--subnet-vnet-name the-hard-way-net \
|
||||||
--subnet-name kubernetes \
|
--subnet-name kubernetes \
|
||||||
--location "West Us"
|
--location "West Us"
|
||||||
```
|
```
|
||||||
|
|
||||||
Create VM
|
Create VM
|
||||||
|
@ -518,7 +518,7 @@ azure network nic create \
|
||||||
--subnet-name kubernetes \
|
--subnet-name kubernetes \
|
||||||
--enable-ip-forwarding "true" \
|
--enable-ip-forwarding "true" \
|
||||||
--lb-address-pool-ids $wlbbackendPoolId \
|
--lb-address-pool-ids $wlbbackendPoolId \
|
||||||
--location "West Us"
|
--location "West Us"
|
||||||
```
|
```
|
||||||
|
|
||||||
Create VM
|
Create VM
|
||||||
|
|
Loading…
Reference in New Issue