ubuntu64-raspberrypi4-k8s:Ansible剧本在Raspberry Pi 4集群上设置Kubernetes

上传者: 42131342 | 上传时间: 2023-11-06 15:55:48 | 文件大小: 388KB | 文件类型: ZIP
Kubernetes Raspberry Pi 4集群 Ansible剧本,用于在具有k3s的Raspberry Pi 4集群上设置 。 动作 设置UTC时区 使用正确的cgroup选项设置启动cmdline文件 创建新用户:kube 启用无密码的sudo 添加公共ssh密钥 将SSH服务器配置为仅基于密钥的身份验证 安装Rancher的K3s Kubernetes发行版 要求 (显然)一个或多个Raspberry Pi 4s 安装ansible和sshpass。 在ubuntu / debian中: $ sudo apt update && sudo apt install -y ansible sshpass 脚步 在清单文件inventory设置主节点和节点 在文件夹host_vars设置每个树莓派的IP,主机名和ssh密钥的位置。 将文件roles/common/files

文件下载

资源详情

[{"title":"( 33 个子文件 388KB ) ubuntu64-raspberrypi4-k8s:Ansible剧本在Raspberry Pi 4集群上设置Kubernetes","children":[{"title":"ubuntu64-raspberrypi4-k8s-master","children":[{"title":".gitignore <span style='color:#111;'> 7B </span>","children":null,"spread":false},{"title":"ansible.cfg <span style='color:#111;'> 199B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"metallb","children":[{"title":"01-namespace.yaml <span style='color:#111;'> 174B </span>","children":null,"spread":false},{"title":"03-metallb-secret.yaml <span style='color:#111;'> 479B </span>","children":null,"spread":false},{"title":"04-metallb-cm.yaml <span style='color:#111;'> 212B </span>","children":null,"spread":false},{"title":"02-metallb.yaml <span style='color:#111;'> 7.42KB </span>","children":null,"spread":false}],"spread":true},{"title":".github","children":[{"title":"images","children":[{"title":"etcher.png <span style='color:#111;'> 31.98KB </span>","children":null,"spread":false},{"title":"rpi.png <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false},{"title":"ubuntu.png <span style='color:#111;'> 3.14KB </span>","children":null,"spread":false},{"title":"ansible-ping.png <span style='color:#111;'> 51.04KB </span>","children":null,"spread":false},{"title":"k8s.png <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false},{"title":"ascii.cast <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"cluster.jpg <span style='color:#111;'> 223.00KB </span>","children":null,"spread":false},{"title":"asciinema.gif <span style='color:#111;'> 121.39KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"group_vars","children":[{"title":"all","children":[{"title":"all.yaml <span style='color:#111;'> 275B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":"roles","children":[{"title":"k3s-node","children":[{"title":"templates","children":[{"title":"k3s.service.j2 <span style='color:#111;'> 715B </span>","children":null,"spread":false}],"spread":true},{"title":"tasks","children":[{"title":"main.yml <span style='color:#111;'> 296B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"common","children":[{"title":"files","children":[{"title":"cmdline.txt <span style='color:#111;'> 178B </span>","children":null,"spread":false},{"title":"resolv.conf <span style='color:#111;'> 23B </span>","children":null,"spread":false},{"title":"sshd_config <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"ssh-key.pub <span style='color:#111;'> 724B </span>","children":null,"spread":false}],"spread":true},{"title":"handlers","children":[{"title":"main.yaml <span style='color:#111;'> 101B </span>","children":null,"spread":false}],"spread":true},{"title":"tasks","children":[{"title":"main.yaml <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"k3s-master","children":[{"title":"templates","children":[{"title":"k3s.service.j2 <span style='color:#111;'> 626B </span>","children":null,"spread":false}],"spread":true},{"title":"tasks","children":[{"title":"main.yml <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"nfs.md <span style='color:#111;'> 2.47KB </span>","children":null,"spread":false},{"title":"host_vars","children":[{"title":"pinode2.yaml <span style='color:#111;'> 102B </span>","children":null,"spread":false},{"title":"pinode1.yaml <span style='color:#111;'> 102B </span>","children":null,"spread":false},{"title":"pimaster.yaml <span style='color:#111;'> 103B </span>","children":null,"spread":false}],"spread":true},{"title":"playbook.yaml <span style='color:#111;'> 177B </span>","children":null,"spread":false},{"title":"inventory <span style='color:#111;'> 92B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明