mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-09-18 01:50:40 +03:00
small edits
This commit is contained in:
@@ -35,6 +35,7 @@ workersStorageAccount="thehardwaywsa"
|
|||||||
|
|
||||||
```
|
```
|
||||||
# all vms are using ubunut 16.4 LTS
|
# all vms are using ubunut 16.4 LTS
|
||||||
|
#(Publisher)
|
||||||
imageUrn="Canonical:UbuntuServer:16.04.0-LTS:latest"
|
imageUrn="Canonical:UbuntuServer:16.04.0-LTS:latest"
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -57,7 +58,7 @@ azure network route-table create \
|
|||||||
--location "West Us"
|
--location "West Us"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Create Network Security Group
|
### Create Network Security Group (NSG)
|
||||||
|
|
||||||
```
|
```
|
||||||
azure network nsg create \
|
azure network nsg create \
|
||||||
@@ -76,7 +77,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.5/32 \
|
--destination-address-prefix 10.0.0.5 \
|
||||||
--destination-port-range 22 \
|
--destination-port-range 22 \
|
||||||
--priority 100 \
|
--priority 100 \
|
||||||
--direction inbound
|
--direction inbound
|
||||||
@@ -117,7 +118,7 @@ azure network vnet subnet create \
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Link routing table and NSG to Kubernetes/-mgmt subnets
|
Associate the routing table and NSG to Kubernetes/-mgmt subnets
|
||||||
|
|
||||||
```
|
```
|
||||||
azure network vnet subnet set \
|
azure network vnet subnet set \
|
||||||
@@ -183,7 +184,7 @@ azure storage account create $workersStorageAccount \
|
|||||||
|
|
||||||
### Jump Box
|
### Jump Box
|
||||||
|
|
||||||
#### Create Nic (Private IP + Public IP + FQDN)
|
#### Create NIC (Private IP + Public IP + FQDN)
|
||||||
|
|
||||||
```
|
```
|
||||||
azure network nic create \
|
azure network nic create \
|
||||||
|
Reference in New Issue
Block a user