dromara / CloudEon

CloudEon uses Kubernetes to install and deploy open-source big data components, enabling the containerized operation of an open-source big data platform. This allows you to reduce your focus on underlying resource management and maintenance.
https://www.cloudeon.top/
Apache License 2.0
419 stars 100 forks source link

【问题反馈】如何保持组件服务端口与kubernetes的Nodeport端口一致 #122

Closed stdnt-xiao closed 8 months ago

stdnt-xiao commented 9 months ago

kubernetes默认端口号范围是30000-32767 ,如果期望值不是这个区间则需要更改。

修改方法:

vim /etc/kubernetes/manifests/kube-apiserver.yaml

spec: containers:

  • command:
    • kube-apiserver
    • --service-node-port-range=1-65535

systemctl daemon-reload systemctl restart kubelet