0%

k8s服务无法启动,提示network the server has received too many requests

问题现象

k8s部署或者服务重启错误,提示 network the server has received too many requests

解决

请求api接口超过上限,适当增加请求次数

1
2
增加kube-apiserver启动参数:(默认启动参数400)
--max-requests-inflight: 900

文档:https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/