Update readme
This commit is contained in:
27
README.md
27
README.md
@@ -1,2 +1,27 @@
|
|||||||
# Kubernetes cluster setup
|
# Kubernetes NixOps cluster setup
|
||||||
|
|
||||||
|
|
||||||
|
## Prerequisites
|
||||||
|
|
||||||
|
1. Install n basic nodes (node-1, ..., node-n) running nixos.
|
||||||
|
|
||||||
|
``sh
|
||||||
|
git submodule init
|
||||||
|
git submodule update
|
||||||
|
``
|
||||||
|
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
``sh
|
||||||
|
cd clusters
|
||||||
|
cp -r template cluster-1
|
||||||
|
cd cluster-1
|
||||||
|
../../bin/initca.sh # generates the cluster wide CA certificate
|
||||||
|
for i in node-1 node-2 node-3; do
|
||||||
|
scp $i:/etc/nixos/hardware-confifuration.nix $i.nix
|
||||||
|
done
|
||||||
|
vi default.nix # add nodes and ip:s, etc.
|
||||||
|
../../bin/deploy.sh cluster-1
|
||||||
|
``
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user