摘要: 使用kubeconfig,role、clusterrole、rolebinding、clusterrolebinding 1.1设置一个集群项: kubectl config set-cluster kubernetes --certificate-authority=/etc/kubernetes 阅读全文
posted @ 2021-06-25 15:47 FengR 阅读(355) 评论(0) 推荐(0) 编辑
摘要: 证书转换transfer the format of certificate from pfx to pem get the key: openssl pkcs12 -in test.crt.pfx -nocerts -nodes -out privatekey.pem get the cert: 阅读全文
posted @ 2021-04-08 17:39 FengR 阅读(206) 评论(0) 推荐(0) 编辑
摘要: k9 get storageclass k9 get storageclass cephrbd -oyaml 阅读全文
posted @ 2021-04-06 14:53 FengR 阅读(42) 评论(0) 推荐(0) 编辑
摘要: Argo CD是gitops,k8s的持续交付工具 实时监控git的状态 阅读全文
posted @ 2021-04-02 18:23 FengR 阅读(29) 评论(0) 推荐(0) 编辑
摘要: [root@sck8smaster01 harbor]# echo $PATH/opt/python/bin:/opt/python/Tools:/opt/python/Tools/ninja:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/ro 阅读全文
posted @ 2021-04-02 18:00 FengR 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(129) 评论(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 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 1.1 因为node上有taint而该pod没有相应的toleration导致pending kubectl taint node node_name key=value:NoSchedule 阅读全文
posted @ 2021-03-26 10:30 FengR 阅读(33) 评论(0) 推荐(0) 编辑
摘要: kube api server原理p327: 总体来看,kube api server 的核心功能是提供各类kubernetes资源对象pod,rc,service等的增删改查及watch等http rest接口,成为集群各个功能模块见的数据交互和通讯的中心枢纽,是整个系统的数据总线和数据中心,除此 阅读全文
posted @ 2021-03-26 01:04 FengR 阅读(37) 评论(0) 推荐(0) 编辑
摘要: probe检测反馈给kubelet >根据容器重启策略做相应处理;零宕机上线 liveness probe: 是否健康 readiness probe:是否完全启动,pod状态是否ready,准备好接收流量 ExecAction:在容器内执行一个命令,如果返回值为0,则认为容器健康。ls echo 阅读全文
posted @ 2021-03-25 15:58 FengR 阅读(179) 评论(0) 推荐(0) 编辑