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-plugins: '@community'
|
||||
flannel: '@testing'
|
||||
containerd: '@community'
|
||||
containerd-openrc: '@community'
|
||||
flannel-contrib-cni: '@testing'
|
||||
docker: '@community'
|
||||
uuidgen: ''
|
||||
flannel: '@testing'
|
||||
nfs-utils: ''
|
||||
uuidgen: ''
|
||||
|
||||
kubelet: '@testing=1.25.0-r4'
|
||||
kubeadm: '@testing=1.25.0-r4'
|
||||
kubectl: '@testing=1.25.0-r4'
|
||||
kubelet: '@testing=1.26.1-r2'
|
||||
kubeadm: '@testing=1.26.1-r2'
|
||||
kubectl: '@testing=1.26.1-r2'
|
||||
|
||||
services:
|
||||
devfs: sysinit
|
||||
|
@ -67,7 +68,7 @@ services:
|
|||
sshd: default
|
||||
|
||||
# K8s requirements
|
||||
docker: default
|
||||
containerd: default
|
||||
iscsid: default
|
||||
kubelet: default
|
||||
ntpd: default
|
||||
|
@ -99,6 +100,7 @@ default_kernel_opts:
|
|||
chroot_commands:
|
||||
# kernel stuff
|
||||
- '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'
|
||||
|
||||
# Fix prometheus errors
|
||||
|
|
Loading…
Reference in a new issue