mirror of
https://github.com/Luzifer/hetzner-alpine-k8s.git
synced 2024-12-21 02:11:19 +00:00
Use containerd and update Kubernetes
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
278f318b64
commit
86cb81bf7c
1 changed files with 9 additions and 7 deletions
16
config.yaml
16
config.yaml
|
@ -36,15 +36,16 @@ packages:
|
||||||
|
|
||||||
cni-plugin-flannel: '@community'
|
cni-plugin-flannel: '@community'
|
||||||
cni-plugins: '@community'
|
cni-plugins: '@community'
|
||||||
flannel: '@testing'
|
containerd: '@community'
|
||||||
|
containerd-openrc: '@community'
|
||||||
flannel-contrib-cni: '@testing'
|
flannel-contrib-cni: '@testing'
|
||||||
docker: '@community'
|
flannel: '@testing'
|
||||||
uuidgen: ''
|
|
||||||
nfs-utils: ''
|
nfs-utils: ''
|
||||||
|
uuidgen: ''
|
||||||
|
|
||||||
kubelet: '@testing=1.25.0-r4'
|
kubelet: '@testing=1.26.1-r2'
|
||||||
kubeadm: '@testing=1.25.0-r4'
|
kubeadm: '@testing=1.26.1-r2'
|
||||||
kubectl: '@testing=1.25.0-r4'
|
kubectl: '@testing=1.26.1-r2'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
devfs: sysinit
|
devfs: sysinit
|
||||||
|
@ -67,7 +68,7 @@ services:
|
||||||
sshd: default
|
sshd: default
|
||||||
|
|
||||||
# K8s requirements
|
# K8s requirements
|
||||||
docker: default
|
containerd: default
|
||||||
iscsid: default
|
iscsid: default
|
||||||
kubelet: default
|
kubelet: default
|
||||||
ntpd: default
|
ntpd: default
|
||||||
|
@ -99,6 +100,7 @@ default_kernel_opts:
|
||||||
chroot_commands:
|
chroot_commands:
|
||||||
# kernel stuff
|
# kernel stuff
|
||||||
- 'echo "br_netfilter" >/etc/modules-load.d/k8s.conf'
|
- 'echo "br_netfilter" >/etc/modules-load.d/k8s.conf'
|
||||||
|
- 'echo "net.ipv4.ip_forward=1" >>/etc/sysctl.conf'
|
||||||
- 'echo "net.bridge.bridge-nf-call-iptables=1" >>/etc/sysctl.conf'
|
- 'echo "net.bridge.bridge-nf-call-iptables=1" >>/etc/sysctl.conf'
|
||||||
|
|
||||||
# Fix prometheus errors
|
# Fix prometheus errors
|
||||||
|
|
Loading…
Reference in a new issue