03 2021 档案

摘要:1作为server端:表明给哪个段的提供时间同步服务 vim /etc/chrony.conf # Allow NTP client access from local network.allow 10.16.81.0/25 # Serve time even if not synchronized 阅读全文
posted @ 2021-03-27 14:54 FengR 阅读(172) 评论(0) 推荐(0)
摘要:refer: https://blog.csdn.net/WU9797/article/details/78751469 官方文档:https://docs.microsoft.com/zh-cn/powershell/module/microsoft.powershell.core/foreach 阅读全文
posted @ 2021-03-26 17:33 FengR 阅读(50) 评论(0) 推荐(0)
摘要:1.1 因为node上有taint而该pod没有相应的toleration导致pending kubectl taint node node_name key=value:NoSchedule 阅读全文
posted @ 2021-03-26 10:30 FengR 阅读(47) 评论(0) 推荐(0)
摘要:kube api server原理p327: 总体来看,kube api server 的核心功能是提供各类kubernetes资源对象pod,rc,service等的增删改查及watch等http rest接口,成为集群各个功能模块见的数据交互和通讯的中心枢纽,是整个系统的数据总线和数据中心,除此 阅读全文
posted @ 2021-03-26 01:04 FengR 阅读(59) 评论(0) 推荐(0)
摘要:probe检测反馈给kubelet >根据容器重启策略做相应处理;零宕机上线 liveness probe: 是否健康 readiness probe:是否完全启动,pod状态是否ready,准备好接收流量 ExecAction:在容器内执行一个命令,如果返回值为0,则认为容器健康。ls echo 阅读全文
posted @ 2021-03-25 15:58 FengR 阅读(209) 评论(0) 推荐(0)
摘要:关于Volume和PV-PVC: 官网参考:https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims 1.1 hostpath: 由于选择的type是FileOrCreate,所以po 阅读全文
posted @ 2021-03-16 14:54 FengR 阅读(55) 评论(0) 推荐(0)