add kubeadm init files
This commit is contained in:
61
kubeadm-init-old.yaml
Normal file
61
kubeadm-init-old.yaml
Normal file
@@ -0,0 +1,61 @@
|
||||
apiVersion: kubeadm.k8s.io/v1beta4
|
||||
bootstrapTokens:
|
||||
- groups:
|
||||
- system:bootstrappers:kubeadm:default-node-token
|
||||
ttl: 24h0m0s
|
||||
usages:
|
||||
- signing
|
||||
- authentication
|
||||
kind: InitConfiguration
|
||||
localAPIEndpoint:
|
||||
advertiseAddress: 10.10.10.1 # Keep private IP for internal cluster communication
|
||||
bindPort: 6443
|
||||
apiServer:
|
||||
certSANs:
|
||||
- "10.10.10.1" # WireGuard IP
|
||||
- "95.217.74.168" # Public IP
|
||||
- "localhost" # Useful for local access
|
||||
- "127.0.0.1" # Local loopback
|
||||
nodeRegistration:
|
||||
criSocket: unix:///var/run/containerd/containerd.sock
|
||||
imagePullPolicy: IfNotPresent
|
||||
imagePullSerial: true
|
||||
name: violet-hzn-helsinki
|
||||
kubeletExtraArgs:
|
||||
- name: node-ip
|
||||
value: 10.10.10.1
|
||||
timeouts:
|
||||
controlPlaneComponentHealthCheck: 4m0s
|
||||
discovery: 5m0s
|
||||
etcdAPICall: 2m0s
|
||||
kubeletHealthCheck: 4m0s
|
||||
kubernetesAPICall: 1m0s
|
||||
tlsBootstrap: 5m0s
|
||||
upgradeManifests: 5m0s
|
||||
---
|
||||
apiServer: {}
|
||||
apiVersion: kubeadm.k8s.io/v1beta4
|
||||
caCertificateValidityPeriod: 87600h0m0s
|
||||
certificateValidityPeriod: 8760h0m0s
|
||||
certificatesDir: /etc/kubernetes/pki
|
||||
clusterName: panic-haus
|
||||
controllerManager: {}
|
||||
dns: {}
|
||||
encryptionAlgorithm: RSA-2048
|
||||
etcd:
|
||||
local:
|
||||
dataDir: /var/lib/etcd
|
||||
imageRepository: registry.k8s.io
|
||||
kind: ClusterConfiguration
|
||||
kubernetesVersion: 1.32.0
|
||||
networking:
|
||||
dnsDomain: cluster.local
|
||||
serviceSubnet: 10.96.0.0/12
|
||||
podSubnet: 10.244.0.0/16 # Keep Flannel default pod network
|
||||
proxy: {}
|
||||
scheduler: {}
|
||||
---
|
||||
kind: KubeletConfiguration
|
||||
apiVersion: kubelet.config.k8s.io/v1beta1
|
||||
cgroupDriver: systemd
|
||||
|
25
kubeadm-init.yaml
Normal file
25
kubeadm-init.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
apiVersion: kubeadm.k8s.io/v1beta3
|
||||
kind: InitConfiguration
|
||||
localAPIEndpoint:
|
||||
advertiseAddress: "10.10.10.1"
|
||||
bindPort: 6443
|
||||
nodeRegistration:
|
||||
name: "violet-hzn-helsinki"
|
||||
criSocket: "unix:///var/run/containerd/containerd.sock"
|
||||
---
|
||||
apiVersion: kubeadm.k8s.io/v1beta3
|
||||
kind: ClusterConfiguration
|
||||
kubernetesVersion: "1.32.3"
|
||||
clusterName: "panic-haus"
|
||||
controlPlaneEndpoint: "10.10.10.1:6443"
|
||||
imageRepository: "registry.k8s.io"
|
||||
apiServer:
|
||||
certSANs:
|
||||
- "10.10.10.1"
|
||||
- "95.217.74.168"
|
||||
- "localhost"
|
||||
- "127.0.0.1"
|
||||
networking:
|
||||
podSubnet: "10.244.0.0/16"
|
||||
serviceSubnet: "10.96.0.0/12"
|
||||
|
Reference in New Issue
Block a user