环境信息:
RKE2 版本:
rke2 version v1.30.7+rke2r1
节点 CPU 架构,操作系统和版本:
Linux k8s-1 5.15.0-126-generic
集群配置:
3 servers, 8 agents
问题描述:
有一个node的内存是其他node内存的八倍,需要让这个node跑更多pod,使用更多内存
重现步骤:
rke2-kubectl describe node ecs-xxx
Name: ecs-xxx
Roles:
Labels: beta.kubernetes.io/arch=amd64
beta.kubernetes.io/instance-type=rke2
beta.kubernetes.io/os=linux
kubernetes.io/arch=amd64
kubernetes.io/hostname=ecs-xxx
kubernetes.io/os=linux
large-memory-node=true
node.kubernetes.io/instance-type=rke2
Annotations: alpha.kubernetes.io/provided-node-ip: 10.0.0.xx
flannel.alpha.coreos.com/backend-data: {“VNI”:1,“VtepMAC”:“xx:xx:xx:xx:xx:xx”}
flannel.alpha.coreos.com/backend-type: vxlan
flannel.alpha.coreos.com/kube-subnet-manager: true
flannel.alpha.coreos.com/public-ip: 10.0.0.xx
management.cattle.io/pod-limits: {“cpu”:“2400m”,“memory”:“12852Mi”}
management.cattle.io/pod-requests: {“cpu”:“1775m”,“memory”:“10472Mi”,“pods”:“73”}
预期结果:
实际结果:
期望能调整单独node的,其他node不动
management.cattle.io/pod-limits: {“cpu”:“2400m”,“memory”:“12852Mi”}
management.cattle.io/pod-requests: {“cpu”:“1775m”,“memory”:“10472Mi”,“pods”:“73”}
此两项的值