1.背景
我用KubeSphere創(chuàng)建了一個(gè)工作負(fù)載,在增加副本數(shù)量時(shí),報(bào)了下面的錯(cuò)。文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-514666.html
2.報(bào)錯(cuò)
0/3 nodes are available: 1 Insufficient cpu, 2 node(s) had taint {node-role.kubernetes.io/master: }, that the pod didn't tolerate.
3.分析
Insufficient:不足的。 很顯然,資源不足導(dǎo)致的。遇到這種情況,兩種思路:一是增加cpu和內(nèi)存,二是調(diào)低工作負(fù)載占用的內(nèi)存和cpu的配置。這里我是因?yàn)橹皇菍W(xué)習(xí)用,所以選了第二種。文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-514666.html
到了這里,關(guān)于K8s系列---【資源不足:0/3 nodes are available: 1 Insufficient cpu, 2 node(s) had taint {node-role.kubernetes...的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!