Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 756 Bytes

File metadata and controls

30 lines (26 loc) · 756 Bytes

Setup multiple clusters connected to a central Argo CD

start.sh is the entrypoint to launching 4 k3d clusters, dev, qa, tst, and admin. Admin is the cluster which runs Argo CD and connects to all the target clusters (dev, qa, tst).

Configuration

A lot of things are hardcoded. Cluster names, Argo CD manifests (using HEAD),

Running the script

cd hack/multiple-clusters
./start.sh

Known issues

Sed isn't the most portable binary. The scripts assume GNU sed.

Mac users

Won't work :(

which sed       
# Bad
/usr/bin/sed

Will work

brew install gnu-sed
PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH" which sed
# Good
/usr/local/opt/gnu-sed/libexec/gnubin/sed