Create public IP address
parent
2790d2e831
commit
ffd8ad9dc8
|
@ -126,6 +126,7 @@ az network nsg rule create \
|
|||
|
||||
Allocate a static IP address that will be attached to the external load balancer fronting the Kubernetes API Servers:
|
||||
|
||||
```gcloud```
|
||||
```
|
||||
gcloud compute addresses create kubernetes-the-hard-way \
|
||||
--region $(gcloud config get-value compute/region)
|
||||
|
@ -144,6 +145,28 @@ NAME ADDRESS/RANGE TYPE PURPOSE NETWORK REGION S
|
|||
kubernetes-the-hard-way XX.XXX.XXX.XXX EXTERNAL us-west1 RESERVED
|
||||
```
|
||||
|
||||
```az```
|
||||
```
|
||||
az network public-ip create \
|
||||
--name kubernetes-the-hard-way \
|
||||
--allocation-method Static
|
||||
--version IPv4
|
||||
```
|
||||
|
||||
Verify the `kubernetes-the-hard-way` static IP address was created in your default Location:
|
||||
|
||||
```
|
||||
az network public-ip list
|
||||
```
|
||||
|
||||
> output
|
||||
|
||||
```
|
||||
Name ResourceGroup Location Zones Address IdleTimeoutInMinutes ProvisioningState
|
||||
----------------------- ---------------- ---------- ------- --------------- ---------------------- -------------------
|
||||
kubernetes-the-hard-way k8s-the-hard-way eastus XXX.XXX.XXX.XXX 4 Succeeded
|
||||
```
|
||||
|
||||
## Compute Instances
|
||||
|
||||
The compute instances in this lab will be provisioned using [Ubuntu Server](https://www.ubuntu.com/server) 20.04, which has good support for the [containerd container runtime](https://github.com/containerd/containerd). Each compute instance will be provisioned with a fixed private IP address to simplify the Kubernetes bootstrapping process.
|
||||
|
|
Loading…
Reference in New Issue