一、簡介
該命令類似于linux–top命令,用于顯示node和pod的CPU和內(nèi)存使用情況文章來源地址http://www.zghlxwxcb.cn/news/detail-789952.html
二、命令行
1、help命令
k top --help
Display resource (CPU/memory) usage.
The top command allows you to see the resource consumption for nodes or pods.
This command requires Metrics Server to be correctly configured and working on the server.
Available Commands:
node Display resource (CPU/memory) usage of nodes
pod Display resource (<
文章來源:http://www.zghlxwxcb.cn/news/detail-789952.html
到了這里,關(guān)于K8S---kubectl top的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!