Skip to content

Commit 771e7e7

Browse files
committed
bump default/newest kubernetes versions
1 parent 94b67b6 commit 771e7e7

File tree

11 files changed

+753
-3
lines changed

11 files changed

+753
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
apiVersion: kubeadm.k8s.io/v1beta4
2+
kind: InitConfiguration
3+
localAPIEndpoint:
4+
advertiseAddress: 1.1.1.1
5+
bindPort: 12345
6+
bootstrapTokens:
7+
- groups:
8+
- system:bootstrappers:kubeadm:default-node-token
9+
ttl: 24h0m0s
10+
usages:
11+
- signing
12+
- authentication
13+
nodeRegistration:
14+
criSocket: unix:///run/containerd/containerd.sock
15+
name: "mk"
16+
kubeletExtraArgs:
17+
- name: "node-ip"
18+
value: "1.1.1.1"
19+
taints: []
20+
---
21+
apiVersion: kubeadm.k8s.io/v1beta4
22+
kind: ClusterConfiguration
23+
apiServer:
24+
certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
25+
extraArgs:
26+
- name: "enable-admission-plugins"
27+
value: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
28+
controllerManager:
29+
extraArgs:
30+
- name: "allocate-node-cidrs"
31+
value: "true"
32+
- name: "leader-elect"
33+
value: "false"
34+
scheduler:
35+
extraArgs:
36+
- name: "leader-elect"
37+
value: "false"
38+
certificatesDir: /var/lib/minikube/certs
39+
clusterName: mk
40+
controlPlaneEndpoint: control-plane.minikube.internal:12345
41+
etcd:
42+
local:
43+
dataDir: /var/lib/minikube/etcd
44+
extraArgs:
45+
- name: "proxy-refresh-interval"
46+
value: "70000"
47+
kubernetesVersion: v1.32.0
48+
networking:
49+
dnsDomain: cluster.local
50+
podSubnet: "10.244.0.0/16"
51+
serviceSubnet: 10.96.0.0/12
52+
---
53+
apiVersion: kubelet.config.k8s.io/v1beta1
54+
kind: KubeletConfiguration
55+
authentication:
56+
x509:
57+
clientCAFile: /var/lib/minikube/certs/ca.crt
58+
cgroupDriver: systemd
59+
containerRuntimeEndpoint: unix:///run/containerd/containerd.sock
60+
hairpinMode: hairpin-veth
61+
runtimeRequestTimeout: 15m
62+
clusterDomain: "cluster.local"
63+
# disable disk resource management by default
64+
imageGCHighThresholdPercent: 100
65+
evictionHard:
66+
nodefs.available: "0%"
67+
nodefs.inodesFree: "0%"
68+
imagefs.available: "0%"
69+
failSwapOn: false
70+
staticPodPath: /etc/kubernetes/manifests
71+
---
72+
apiVersion: kubeproxy.config.k8s.io/v1alpha1
73+
kind: KubeProxyConfiguration
74+
clusterCIDR: "10.244.0.0/16"
75+
metricsBindAddress: 0.0.0.0:10249
76+
conntrack:
77+
maxPerCore: 0
78+
# Skip setting "net.netfilter.nf_conntrack_tcp_timeout_established"
79+
tcpEstablishedTimeout: 0s
80+
# Skip setting "net.netfilter.nf_conntrack_tcp_timeout_close"
81+
tcpCloseWaitTimeout: 0s
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
apiVersion: kubeadm.k8s.io/v1beta4
2+
kind: InitConfiguration
3+
localAPIEndpoint:
4+
advertiseAddress: 1.1.1.1
5+
bindPort: 8443
6+
bootstrapTokens:
7+
- groups:
8+
- system:bootstrappers:kubeadm:default-node-token
9+
ttl: 24h0m0s
10+
usages:
11+
- signing
12+
- authentication
13+
nodeRegistration:
14+
criSocket: unix:///run/containerd/containerd.sock
15+
name: "mk"
16+
kubeletExtraArgs:
17+
- name: "node-ip"
18+
value: "1.1.1.1"
19+
taints: []
20+
---
21+
apiVersion: kubeadm.k8s.io/v1beta4
22+
kind: ClusterConfiguration
23+
apiServer:
24+
certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
25+
extraArgs:
26+
- name: "enable-admission-plugins"
27+
value: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
28+
controllerManager:
29+
extraArgs:
30+
- name: "allocate-node-cidrs"
31+
value: "true"
32+
- name: "leader-elect"
33+
value: "false"
34+
scheduler:
35+
extraArgs:
36+
- name: "leader-elect"
37+
value: "false"
38+
certificatesDir: /var/lib/minikube/certs
39+
clusterName: mk
40+
controlPlaneEndpoint: control-plane.minikube.internal:8443
41+
etcd:
42+
local:
43+
dataDir: /var/lib/minikube/etcd
44+
extraArgs:
45+
- name: "proxy-refresh-interval"
46+
value: "70000"
47+
kubernetesVersion: v1.32.0
48+
networking:
49+
dnsDomain: cluster.local
50+
podSubnet: "192.168.32.0/20"
51+
serviceSubnet: 10.96.0.0/12
52+
---
53+
apiVersion: kubelet.config.k8s.io/v1beta1
54+
kind: KubeletConfiguration
55+
authentication:
56+
x509:
57+
clientCAFile: /var/lib/minikube/certs/ca.crt
58+
cgroupDriver: systemd
59+
containerRuntimeEndpoint: unix:///run/containerd/containerd.sock
60+
hairpinMode: hairpin-veth
61+
runtimeRequestTimeout: 15m
62+
clusterDomain: "cluster.local"
63+
# disable disk resource management by default
64+
imageGCHighThresholdPercent: 100
65+
evictionHard:
66+
nodefs.available: "0%"
67+
nodefs.inodesFree: "0%"
68+
imagefs.available: "0%"
69+
failSwapOn: false
70+
staticPodPath: /etc/kubernetes/manifests
71+
---
72+
apiVersion: kubeproxy.config.k8s.io/v1alpha1
73+
kind: KubeProxyConfiguration
74+
clusterCIDR: "192.168.32.0/20"
75+
metricsBindAddress: 0.0.0.0:10249
76+
conntrack:
77+
maxPerCore: 0
78+
# Skip setting "net.netfilter.nf_conntrack_tcp_timeout_established"
79+
tcpEstablishedTimeout: 0s
80+
# Skip setting "net.netfilter.nf_conntrack_tcp_timeout_close"
81+
tcpCloseWaitTimeout: 0s
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
apiVersion: kubeadm.k8s.io/v1beta4
2+
kind: InitConfiguration
3+
localAPIEndpoint:
4+
advertiseAddress: 1.1.1.1
5+
bindPort: 8443
6+
bootstrapTokens:
7+
- groups:
8+
- system:bootstrappers:kubeadm:default-node-token
9+
ttl: 24h0m0s
10+
usages:
11+
- signing
12+
- authentication
13+
nodeRegistration:
14+
criSocket: unix:///run/containerd/containerd.sock
15+
name: "mk"
16+
kubeletExtraArgs:
17+
- name: "node-ip"
18+
value: "1.1.1.1"
19+
taints: []
20+
---
21+
apiVersion: kubeadm.k8s.io/v1beta4
22+
kind: ClusterConfiguration
23+
apiServer:
24+
certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
25+
extraArgs:
26+
- name: "enable-admission-plugins"
27+
value: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
28+
controllerManager:
29+
extraArgs:
30+
- name: "allocate-node-cidrs"
31+
value: "true"
32+
- name: "leader-elect"
33+
value: "false"
34+
scheduler:
35+
extraArgs:
36+
- name: "leader-elect"
37+
value: "false"
38+
certificatesDir: /var/lib/minikube/certs
39+
clusterName: mk
40+
controlPlaneEndpoint: control-plane.minikube.internal:8443
41+
etcd:
42+
local:
43+
dataDir: /var/lib/minikube/etcd
44+
extraArgs:
45+
- name: "proxy-refresh-interval"
46+
value: "70000"
47+
kubernetesVersion: v1.32.0
48+
networking:
49+
dnsDomain: cluster.local
50+
podSubnet: "10.244.0.0/16"
51+
serviceSubnet: 10.96.0.0/12
52+
---
53+
apiVersion: kubelet.config.k8s.io/v1beta1
54+
kind: KubeletConfiguration
55+
authentication:
56+
x509:
57+
clientCAFile: /var/lib/minikube/certs/ca.crt
58+
cgroupDriver: systemd
59+
containerRuntimeEndpoint: unix:///run/containerd/containerd.sock
60+
hairpinMode: hairpin-veth
61+
runtimeRequestTimeout: 15m
62+
clusterDomain: "cluster.local"
63+
# disable disk resource management by default
64+
imageGCHighThresholdPercent: 100
65+
evictionHard:
66+
nodefs.available: "0%"
67+
nodefs.inodesFree: "0%"
68+
imagefs.available: "0%"
69+
failSwapOn: false
70+
staticPodPath: /etc/kubernetes/manifests
71+
---
72+
apiVersion: kubeproxy.config.k8s.io/v1alpha1
73+
kind: KubeProxyConfiguration
74+
clusterCIDR: "10.244.0.0/16"
75+
metricsBindAddress: 0.0.0.0:10249
76+
conntrack:
77+
maxPerCore: 0
78+
# Skip setting "net.netfilter.nf_conntrack_tcp_timeout_established"
79+
tcpEstablishedTimeout: 0s
80+
# Skip setting "net.netfilter.nf_conntrack_tcp_timeout_close"
81+
tcpCloseWaitTimeout: 0s
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
apiVersion: kubeadm.k8s.io/v1beta4
2+
kind: InitConfiguration
3+
localAPIEndpoint:
4+
advertiseAddress: 1.1.1.1
5+
bindPort: 8443
6+
bootstrapTokens:
7+
- groups:
8+
- system:bootstrappers:kubeadm:default-node-token
9+
ttl: 24h0m0s
10+
usages:
11+
- signing
12+
- authentication
13+
nodeRegistration:
14+
criSocket: unix:///var/run/crio/crio.sock
15+
name: "mk"
16+
kubeletExtraArgs:
17+
- name: "node-ip"
18+
value: "1.1.1.1"
19+
taints: []
20+
---
21+
apiVersion: kubeadm.k8s.io/v1beta4
22+
kind: ClusterConfiguration
23+
apiServer:
24+
certSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
25+
extraArgs:
26+
- name: "enable-admission-plugins"
27+
value: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
28+
- name: "fail-no-swap"
29+
value: "true"
30+
- name: "feature-gates"
31+
value: "a=b"
32+
controllerManager:
33+
extraArgs:
34+
- name: "allocate-node-cidrs"
35+
value: "true"
36+
- name: "feature-gates"
37+
value: "a=b"
38+
- name: "kube-api-burst"
39+
value: "32"
40+
- name: "leader-elect"
41+
value: "false"
42+
scheduler:
43+
extraArgs:
44+
- name: "feature-gates"
45+
value: "a=b"
46+
- name: "leader-elect"
47+
value: "false"
48+
- name: "scheduler-name"
49+
value: "mini-scheduler"
50+
certificatesDir: /var/lib/minikube/certs
51+
clusterName: mk
52+
controlPlaneEndpoint: control-plane.minikube.internal:8443
53+
etcd:
54+
local:
55+
dataDir: /var/lib/minikube/etcd
56+
extraArgs:
57+
- name: "proxy-refresh-interval"
58+
value: "70000"
59+
kubernetesVersion: v1.32.0
60+
networking:
61+
dnsDomain: cluster.local
62+
podSubnet: "10.244.0.0/16"
63+
serviceSubnet: 10.96.0.0/12
64+
---
65+
apiVersion: kubelet.config.k8s.io/v1beta1
66+
kind: KubeletConfiguration
67+
authentication:
68+
x509:
69+
clientCAFile: /var/lib/minikube/certs/ca.crt
70+
cgroupDriver: systemd
71+
containerRuntimeEndpoint: unix:///var/run/crio/crio.sock
72+
hairpinMode: hairpin-veth
73+
runtimeRequestTimeout: 15m
74+
clusterDomain: "cluster.local"
75+
# disable disk resource management by default
76+
imageGCHighThresholdPercent: 100
77+
evictionHard:
78+
nodefs.available: "0%"
79+
nodefs.inodesFree: "0%"
80+
imagefs.available: "0%"
81+
failSwapOn: false
82+
staticPodPath: /etc/kubernetes/manifests
83+
---
84+
apiVersion: kubeproxy.config.k8s.io/v1alpha1
85+
kind: KubeProxyConfiguration
86+
clusterCIDR: "10.244.0.0/16"
87+
metricsBindAddress: 0.0.0.0:10249
88+
conntrack:
89+
maxPerCore: 0
90+
# Skip setting "net.netfilter.nf_conntrack_tcp_timeout_established"
91+
tcpEstablishedTimeout: 0s
92+
# Skip setting "net.netfilter.nf_conntrack_tcp_timeout_close"
93+
tcpCloseWaitTimeout: 0s
94+
mode: "iptables"

0 commit comments

Comments
 (0)