TOS启动时由于cpu资源不够 导致tos的container没有启动


#1

‘OutOfcpu’ Node didn’t have enough resource: cpu, requested: 1000, used: 1000, capacity: 1000 虚拟机只配了一个cpu,TOS启动时由于cpu资源不够,导致tos的container没有启动的临时解决办法: (仅用于测试环境)

先把tos服务停掉,然后到manager节点的/var/lib/transwarp-manager/master/content/meta/services/TOS/transwarp-5.1.0-final/templates目录下,将tos-*.manifest文件中的


  resources:
    requests:
      memory: "1Gi"
      cpu: "1"

删除掉,在停止启动tos