Skip to content

Commit

Permalink
Document that 127.0.0.2 has to be added to the loopback interface (ga…
Browse files Browse the repository at this point in the history
…rdener#7528)

Co-authored-by: Kostov6 <v.kostov@sap.com>
  • Loading branch information
ialidzhikov and Kostov6 authored Feb 23, 2023
1 parent 6091ead commit 0138a4a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 8 additions & 1 deletion docs/deployment/getting_started_locally.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,15 @@ To access the `Shoot`, you can acquire a `kubeconfig` by using the [`shoots/admi

## (Optional): Setting Up a Second Seed Cluster

There are cases where you would want to create a second cluster seed in your local setup. For example, if you want to test the [control plane migration](../usage/control_plane_migration.md) feature. The following steps describe how to do that.
There are cases where you would want to create a second seed cluster in your local setup. For example, if you want to test the [control plane migration](../usage/control_plane_migration.md) feature. The following steps describe how to do that.

If you are on macOS, add a new IP address on your loopback device which will be necessary for the new KinD cluster that you will create. On macOS, the default loopback device is `lo0`.

```bash
sudo ip addr add 127.0.0.2 dev lo0 # adding 127.0.0.2 ip to the loopback interface
```

Next, setup the second KinD cluster:

```bash
make kind2-up
Expand Down
3 changes: 2 additions & 1 deletion docs/development/getting_started_locally.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ When the `Shoot` got created successfully, you can acquire a `kubeconfig` by usi

There are cases where you would want to create a second seed cluster in your local setup. For example, if you want to test the [control plane migration](../usage/control_plane_migration.md) feature. The following steps describe how to do that.

Add a new IP address on your loopback device which will be necessary for the new KinD cluster that you will create. On Mac, the default loopback device is `lo0`.
If you are on macOS, add a new IP address on your loopback device which will be necessary for the new KinD cluster that you will create. On macOS, the default loopback device is `lo0`.


```bash
sudo ip addr add 127.0.0.2 dev lo0 # adding 127.0.0.2 ip to the loopback interface
Expand Down

0 comments on commit 0138a4a

Please sign in to comment.