Skip to content

Commit

Permalink
Add steps in local deployment and development how the kind network to…
Browse files Browse the repository at this point in the history
… be created (gardener#6935)
  • Loading branch information
vpnachev authored Oct 31, 2022
1 parent 764fc4e commit b15ad05
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/deployment/getting_started_locally.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ Based on [Skaffold](https://skaffold.dev/), the container images for all require
> If you plan on following the optional steps to [create a second seed cluster](#optional-setting-up-a-second-seed-cluster), the required resources will be more - at least `10` CPUs and `18Gi` memory.
Additionally, please configure at least `120Gi` of disk size for the Docker daemon.
> Tip: With `docker system df` and `docker system prune -a` you can cleanup unused data.
- Make sure the `kind` docker network is using the CIDR `172.18.0.0/16`.
- If the network does not exist, it can be created with `docker network create kind --subnet 172.18.0.0/16`
- If the network already exists, the CIDR can be checked with `docker network inspect kind | jq '.[].IPAM.Config[].Subnet'`. If it is not `172.18.0.0/16`, delete the network with `docker network rm kind` and create it with the command above.

## Setting up the KinD cluster (garden and seed)

Expand Down
3 changes: 3 additions & 0 deletions docs/development/getting_started_locally.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ The Gardener components, however, will be run as regular processes on your machi
Additionally, please configure at least `120Gi` of disk size for the Docker daemon.
> Tip: With `docker system df` and `docker system prune -a` you can cleanup unused data.
- Make sure the `kind` docker network is using the CIDR `172.18.0.0/16`.
- If the network does not exist, it can be created with `docker network create kind --subnet 172.18.0.0/16`
- If the network already exists, the CIDR can be checked with `docker network inspect kind | jq '.[].IPAM.Config[].Subnet'`. If it is not `172.18.0.0/16`, delete the network with `docker network rm kind` and create it with the command above.
- Make sure that you increase the maximum number of open files on your host:
- On Mac, run `sudo launchctl limit maxfiles 65536 200000`
- On Linux, extend the `/etc/security/limits.conf` file with
Expand Down

0 comments on commit b15ad05

Please sign in to comment.