摘要: 近期要准备CKA考试,在网络中也找到很多相关的试题,在此总结记录方便之后查看 1、Set configuration context $ kubectl config use-context k8s Monitor the logs of Pod foobar and Extract log lin 阅读全文
posted @ 2020-09-18 16:45 Ymei 阅读(1941) 评论(0) 推荐(0)
摘要: 持久卷(PersistentVolume,PV)是集群中的一块存储,可以由管理员事先供应,或者 使用存储类(Storage Class,它的作用就是创建PV模板,当pvc请求时自动为其创建pv并与其绑定)来动态供应,稍后一一介绍。可以是ceph、nfs、本地存储等等 持久卷申领(Persistent 阅读全文
posted @ 2020-09-18 16:36 Ymei 阅读(1535) 评论(0) 推荐(0)
摘要: 污点:主体是node,在node上标记特定的键值对,以此来标识该node的特殊属性 容忍度:主体是pod,当pod被调度到有污点的node时,该pod能否容忍node的污点标记 在查看master节点的信息 ~]# kubectl describe node master-node | grep T 阅读全文
posted @ 2020-09-18 16:28 Ymei 阅读(703) 评论(0) 推荐(0)