diff --git a/README.md b/README.md index db1eccce..48f265ed 100644 --- a/README.md +++ b/README.md @@ -103,8 +103,11 @@ pasta does not seem to work well Use scripts in [`./init-host`](./init-host) for automating these steps. ## Usage + See `make help`. +Here are instructions for control plane and worker nodes. + ```bash # Bootstrap a cluster make up diff --git a/docker-compose.yaml b/docker-compose.yaml index 09707ea4..5c13c5b6 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -8,7 +8,7 @@ services: privileged: true restart: always networks: - default: + ${HOSTNAME}: ipv4_address: ${NODE_IP} ports: # : @@ -46,7 +46,7 @@ services: "nerdctl/bypass4netns-ignore-bind": "true" "nerdctl/bypass4netns-ignore-subnets": "${BYPASS4NETNS_IGNORE_SUBNETS:-}" networks: - default: + ${HOSTNAME}: ipam: config: # Each of the nodes has to have a different IP.