remove python 3.12, remove kubelet since settings are not valid
This commit is contained in:
@@ -50,29 +50,29 @@
|
|||||||
virtualisation.containerd.enable = true;
|
virtualisation.containerd.enable = true;
|
||||||
|
|
||||||
# Enable kubelet
|
# Enable kubelet
|
||||||
services.kubelet = {
|
#services.kubelet = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
extraFlags = {
|
# extraFlags = {
|
||||||
"pod-infra-container-image" = "registry.k8s.io/pause:3.9";
|
# "pod-infra-container-image" = "registry.k8s.io/pause:3.9";
|
||||||
};
|
# };
|
||||||
};
|
#};
|
||||||
|
|
||||||
# Enable kubeadm for cluster initialization
|
## Enable kubeadm for cluster initialization
|
||||||
environment.etc."kubeadm.yaml".text = ''
|
#environment.etc."kubeadm.yaml".text = ''
|
||||||
apiVersion: kubeadm.k8s.io/v1beta3
|
# apiVersion: kubeadm.k8s.io/v1beta3
|
||||||
kind: InitConfiguration
|
# kind: InitConfiguration
|
||||||
localAPIEndpoint:
|
# localAPIEndpoint:
|
||||||
advertiseAddress: 127.0.0.1
|
# advertiseAddress: 127.0.0.1
|
||||||
bindPort: 6443
|
# bindPort: 6443
|
||||||
---
|
# ---
|
||||||
apiVersion: kubeadm.k8s.io/v1beta3
|
# apiVersion: kubeadm.k8s.io/v1beta3
|
||||||
kind: ClusterConfiguration
|
# kind: ClusterConfiguration
|
||||||
clusterName: ${config.services.kubernetes.clusterName}
|
# clusterName: ${config.services.kubernetes.clusterName}
|
||||||
controlPlaneEndpoint: ${config.services.kubernetes.controlPlaneEndpoint}
|
# controlPlaneEndpoint: ${config.services.kubernetes.controlPlaneEndpoint}
|
||||||
networking:
|
# networking:
|
||||||
serviceSubnet: 10.96.0.0/12
|
# serviceSubnet: 10.96.0.0/12
|
||||||
podSubnet: 10.244.0.0/16
|
# podSubnet: 10.244.0.0/16
|
||||||
dnsDomain: cluster.local
|
# dnsDomain: cluster.local
|
||||||
'';
|
#'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
{ pkgs, ... }:
|
|
||||||
{
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
git
|
|
||||||
python312
|
|
||||||
];
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user