2025年9月17日

k8s node status capacity和allocatable区别

摘要: node statuscapacity: 节点上的总资源,固定值allocatable: 可供pod使用的总资源,固定值 kubectl get node kind-control-plane -oyaml 默认情况下,allocatable和capacity相等,pod可使用节点的所有资源。 为了 阅读全文

posted @ 2025-09-17 08:49 王景迁 阅读(19) 评论(0) 推荐(0)

k8s 配置拉取镜像认证信息

摘要: 创建secret kubectl create secret docker-registry pull-image \ --docker-server=<domain> \ --docker-username=<username> \ --docker-password=<password> Pod 阅读全文

posted @ 2025-09-17 08:21 王景迁 阅读(5) 评论(0) 推荐(0)

导航