labring-actions / runtime

Kubernetes cluster-image for sealos
Apache License 2.0
14 stars 11 forks source link

[WIP] fix: kylin os install k8s error #5

Closed fangzhengjin closed 1 year ago

fangzhengjin commented 1 year ago
  1. net.ipv4.ip_local_port_range去掉双引号, 不然会报错且无法生效 sysctl: setting key "net.ipv4.ip_local_port_range": Invalid argument
  2. kylin (麒麟V10)的/etc/sysctl.conf优先级最高, 会覆盖/etc/sysctl.d/sealos-k8s.conf中的部分配置, 比如会导致net.ipv4.ip_forward的值一直为0