上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 20 下一页
摘要: 官方文档: https://kubernetes.io/zh/docs/tasks/administer-cluster/nodelocaldns/ 阅读全文
posted @ 2021-07-19 15:33 大川哥 阅读(228) 评论(0) 推荐(0) 编辑
摘要: ConfifigMap 的创建 Ⅰ、使用目录创建 Ⅱ、使用文件创建 Ⅲ、使用字面值创建 使用目录创建 在/root/test/configmap下创建两个文件,内容如下 [root@xgcloud-ops-k8s-cluster-2 configmap]# cat game.properties e 阅读全文
posted @ 2021-07-16 19:31 大川哥 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 指定调度节点 1、Pod.spec.nodeName 将 Pod 直接调度到指定的 Node 节点上,会跳过 Scheduler 的调度策略,该匹配规则是强制匹配 apiVersion: apps/v1 kind: Deployment metadata: name: myapp-pod6 spec 阅读全文
posted @ 2021-07-06 19:46 大川哥 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 先建立一个pod4 kubectl apply -f pod4.yaml 这个pod有node亲和性,指定到了cluster-3 apiVersion: v1 kind: Pod metadata: name: myapp-pod4 labels: app: myapp-pod4 version: 阅读全文
posted @ 2021-07-05 12:01 大川哥 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 1、Kubernetes 调度器 - 调度说明 https://blog.csdn.net/wtl1992/article/details/104982548 2、Kubernetes 调度器 - 调度亲和性 https://blog.csdn.net/wtl1992/article/details 阅读全文
posted @ 2021-07-02 15:29 大川哥 阅读(251) 评论(0) 推荐(0) 编辑
摘要: busybox: apiVersion: apps/v1 kind: Deployment metadata: name: busybox spec: selector: matchLabels: app: busybox replicas: 2 template: metadata: labels 阅读全文
posted @ 2021-06-30 18:19 大川哥 阅读(30) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_30497527/article/details/99476059?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.c 阅读全文
posted @ 2021-06-28 17:06 大川哥 阅读(55) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-06-28 17:00 大川哥 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-06-28 16:49 大川哥 阅读(0) 评论(0) 推荐(0) 编辑
摘要: # master01上执行 USER=root # customizable CONTROL_PLANE_IPS="10.3.65.18" for host in ${CONTROL_PLANE_IPS}; do scp -P 10088 /etc/kubernetes/pki/ca.crt "${ 阅读全文
posted @ 2021-06-28 16:00 大川哥 阅读(66) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 20 下一页