随笔分类 - kubernetes
摘要:使用kubeconfig,role、clusterrole、rolebinding、clusterrolebinding 1.1设置一个集群项: kubectl config set-cluster kubernetes --certificate-authority=/etc/kubernetes
阅读全文
摘要:k9 get storageclass k9 get storageclass cephrbd -oyaml
阅读全文
摘要:Argo CD是gitops,k8s的持续交付工具 实时监控git的状态
阅读全文
摘要:1.1 因为node上有taint而该pod没有相应的toleration导致pending kubectl taint node node_name key=value:NoSchedule
阅读全文
摘要:kube api server原理p327: 总体来看,kube api server 的核心功能是提供各类kubernetes资源对象pod,rc,service等的增删改查及watch等http rest接口,成为集群各个功能模块见的数据交互和通讯的中心枢纽,是整个系统的数据总线和数据中心,除此
阅读全文
摘要:probe检测反馈给kubelet >根据容器重启策略做相应处理;零宕机上线 liveness probe: 是否健康 readiness probe:是否完全启动,pod状态是否ready,准备好接收流量 ExecAction:在容器内执行一个命令,如果返回值为0,则认为容器健康。ls echo
阅读全文
摘要:关于Volume和PV-PVC: 官网参考:https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims 1.1 hostpath: 由于选择的type是FileOrCreate,所以po
阅读全文

浙公网安备 33010602011771号