diff --git a/docs/03-compute-resources.md b/docs/03-compute-resources.md index e3b07c8..649623d 100644 --- a/docs/03-compute-resources.md +++ b/docs/03-compute-resources.md @@ -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.