Up to now, we exposed ports on single master nodes, which is quite inconvenient on user side and troublesome on development side. Now, we're creating a proxy container which exposes a single port and proxies traffic to all master nodes. Currently, this only works with 'k3d create cluster' and won't update the proxy when using 'k3d create node --role master'.
7 lines
88 B
Bash
Executable File
7 lines
88 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Run confd
|
|
confd -onetime -backend env
|
|
|
|
# Start nginx
|
|
nginx -g 'daemon off;' |