Bota5ky

Kubernetes学习笔记(三十七):Certification Tips

学习资料

经验贴

常用命令

kubectl explain replicaset ## List the fields for supported resources
kubectl api-resources ## list a complete list of supported resources
kubectl run test-nslookup --image=busybox:1.28 --rm -it --restart=Never -- nslookup nginx-resolver-service ## 运行后删除pod
kubectl top pods --selector="app=demo" | grep -v NAME | sort -k 2 -nr ## 找到指定service下的pod中,cpu利用率按高到底排序
## 删除 .spec.claimRef,可让pv从released状态重新变为available

刷题

考试Tips

  • 书签栏搜索插件:Bookmark Sidebar
  • 考试时有 Notepad 可供复制
  • Ctrl+X,Ctrl+E 可编辑以 \ 分隔的多行命令
  • 复制后 cat > static.yaml ,有时会比跨 node scp static.yaml node01:/root/ 方便的多

深入

posted @   Bota5ky  阅读(103)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 单元测试从入门到精通
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律
点击右上角即可分享
微信分享提示