kube bootstrap manifests

This commit is contained in:
2025-01-25 14:17:40 -05:00
parent 1f91305b6e
commit 1002e1cbe2
7 changed files with 91 additions and 8 deletions

View File

@@ -16,9 +16,8 @@
# Disk Configuration
disko.devices = {
disk = {
sda = {
main = {
type = "disk";
device = "/dev/sda";
content = {
type = "gpt";
partitions = {

View File

@@ -58,9 +58,8 @@ in
# Disk Configuration
disko.devices = {
disk = {
sda = {
main = {
type = "disk";
device = "/dev/sda";
content = {
type = "gpt";
partitions = {

View File

@@ -1,6 +1,11 @@
{ config, pkgs, ... }:
{
imports = [
../k8s
];
k8s.manifestsDir = "/var/lib/rancher/rke2/server/manifests";
# Enable Flakes
nix.settings.experimental-features = [ "nix-command" "flakes" ];
@@ -16,9 +21,8 @@
# Disk Configuration
disko.devices = {
disk = {
nvme0n1 = {
main = {
type = "disk";
device = "/dev/nvme0n1";
content = {
type = "gpt";
partitions = {
@@ -79,7 +83,17 @@
enable = true;
disable = [
# Utilize Traefik
"rke2-ingress-nginx"
# Utilize OpenEBS's Snapshot Controller
"rke2-snapshot-controller"
"rke2-snapshot-controller-crd"
"rke2-snapshot-validation-webhook"
];
nodeLabel = [
"openebs.io/engine=mayastor"
];
# -------------------
@@ -96,7 +110,6 @@
# agentTokenFile = "";
};
# Enable SSH Server
services.openssh = {
enable = true;