Skip to content

Commit

Permalink
Add ControlPlaneEndpoint assignment details to getting_started docs (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
NilanjanDaw authored Jan 11, 2022
1 parent 1a835b7 commit 62740ff
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,19 @@ kubectl get byohosts
### Create workload cluster
Running the following command(on the host where you execute `clusterctl` in previous steps)

**NOTE:** The `CONTROL_PLANE_ENDPOINT_IP` is an IP that must be an IP on the same subnet as the control plane machines, it should be also an IP that is not part of your DHCP range
**NOTE:** The `CONTROL_PLANE_ENDPOINT_IP` is an IP that must be an IP on the same subnet as the control plane machines, it should be also an IP that is not part of your DHCP range.

If you are using docker containers then you can find the control plane machine's network subnet by running

```shell
docker network inspect kind | jq -r 'map(.IPAM.Config[].Subnet) []'
```
Randomly assign any free IP within the network subnet to the `CONTROL_PLANE_ENDPOINT_IP`. The list of IP addresses currently in use can be found by

```shell
docker network inspect kind | jq -r 'map(.Containers[].IPv4Address) []'
```
Create the workload cluster

```shell
# for vms as byohosts
Expand Down

0 comments on commit 62740ff

Please sign in to comment.