- netboot-base.nix with SSH key auth - Launch scripts for node01/02/03 - Node configuration.nix and disko.nix - Nix modules for first-boot automation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
68 lines
1.5 KiB
JSON
68 lines
1.5 KiB
JSON
{
|
|
"node_id": "node01",
|
|
"node_role": "control-plane",
|
|
"bootstrap": true,
|
|
"cluster_name": "prod-cluster",
|
|
"leader_url": "https://node01.prod.example.com:2379",
|
|
"raft_addr": "10.0.1.10:2380",
|
|
"initial_peers": [
|
|
"node01:2380",
|
|
"node02:2380",
|
|
"node03:2380"
|
|
],
|
|
"flaredb_peers": [
|
|
"node01:2480",
|
|
"node02:2480",
|
|
"node03:2480"
|
|
],
|
|
"node_ip": "10.0.1.10",
|
|
"node_fqdn": "node01.prod.example.com",
|
|
"datacenter": "dc1",
|
|
"rack": "rack1",
|
|
"description": "Bootstrap node for production cluster - initializes Raft cluster",
|
|
"services": {
|
|
"chainfire": {
|
|
"enabled": true,
|
|
"api_port": 2379,
|
|
"raft_port": 2380,
|
|
"gossip_port": 2381
|
|
},
|
|
"flaredb": {
|
|
"enabled": true,
|
|
"api_port": 2479,
|
|
"raft_port": 2480
|
|
},
|
|
"iam": {
|
|
"enabled": true,
|
|
"api_port": 8080
|
|
},
|
|
"plasmavmc": {
|
|
"enabled": true,
|
|
"api_port": 8090
|
|
},
|
|
"novanet": {
|
|
"enabled": true,
|
|
"api_port": 8091
|
|
},
|
|
"flashdns": {
|
|
"enabled": true,
|
|
"dns_port": 53,
|
|
"api_port": 8053
|
|
},
|
|
"fiberlb": {
|
|
"enabled": true,
|
|
"api_port": 8092
|
|
}
|
|
},
|
|
"tls": {
|
|
"enabled": true,
|
|
"ca_cert_path": "/etc/nixos/secrets/ca.crt",
|
|
"node_cert_path": "/etc/nixos/secrets/node01.crt",
|
|
"node_key_path": "/etc/nixos/secrets/node01.key"
|
|
},
|
|
"network": {
|
|
"cluster_network": "10.0.1.0/24",
|
|
"pod_network": "10.244.0.0/16",
|
|
"service_network": "10.96.0.0/12"
|
|
}
|
|
}
|