From f8621a40fa0f46a8198c40fb7297e36ef3055019 Mon Sep 17 00:00:00 2001 From: duyiwei Date: Tue, 21 Jun 2022 14:29:22 +0800 Subject: [PATCH] fix wrong url --- .../K8S+iSulad\346\220\255\345\273\272.md" | 22 ++++++++--------- .../rpm-ostree\344\275\277\347\224\250.md" | 24 +++++++++---------- ...64\346\226\260\344\275\277\347\224\250.md" | 6 ++--- ...53\351\200\237\345\274\200\345\247\213.md" | 6 ++--- 4 files changed, 29 insertions(+), 29 deletions(-) diff --git "a/docs/usr_manual/K8S+iSulad\346\220\255\345\273\272.md" "b/docs/usr_manual/K8S+iSulad\346\220\255\345\273\272.md" index 31aa22a..55b305a 100644 --- "a/docs/usr_manual/K8S+iSulad\346\220\255\345\273\272.md" +++ "b/docs/usr_manual/K8S+iSulad\346\220\255\345\273\272.md" @@ -34,7 +34,7 @@ gpgkey=https://mirrors.aliyun.com/kubernetes/yum/doc/yum-key.gpg https://mirrors rpm-ostree install kubelet kubeadm kubectl ntp ntpdate wget ``` -![image-20211014203239831](graph/K8S+iSulad搭建/image-20211014203239831.png) +![image-20211014203239831](docs/graph/K8S+iSulad搭建/image-20211014203239831.png) 重启生效 @@ -44,7 +44,7 @@ systemctl reboot 选择正确的分支 -![image-20211014203252726](graph/K8S+iSulad搭建/image-20211014203252726.png) +![image-20211014203252726](docs/graph/K8S+iSulad搭建/image-20211014203252726.png) 查看软件包是否已安装 @@ -52,7 +52,7 @@ systemctl reboot rpm -qa | grep kube ``` -![image-20211014203302042](graph/K8S+iSulad搭建/image-20211014203302042.png) +![image-20211014203302042](docs/graph/K8S+iSulad搭建/image-20211014203302042.png) ## 配置环境 @@ -126,7 +126,7 @@ sysctl -p /etc/sysctl.d/k8s.conf kubeadm config images list ``` -![image-20211014203312883](graph/K8S+iSulad搭建/image-20211014203312883.png) +![image-20211014203312883](docs/graph/K8S+iSulad搭建/image-20211014203312883.png) 修改daemon配置文件 @@ -222,7 +222,7 @@ pod-network-cidr 指定pod分配的ip段 初始化成功后可看到如下界面: -![image-20211014203323220](graph/K8S+iSulad搭建/image-20211014203323220.png) +![image-20211014203323220](docs/graph/K8S+iSulad搭建/image-20211014203323220.png) 复制最后两行内容方便后续node节点加入使用 @@ -240,7 +240,7 @@ socket=/var/run/isulad.sock isula images ``` -![image-20211014203329239](graph/K8S+iSulad搭建/image-20211014203329239.png) +![image-20211014203329239](docs/graph/K8S+iSulad搭建/image-20211014203329239.png) 按照初始化成功所提示,配置集群 @@ -258,7 +258,7 @@ source /etc/profile kubectl get cs ``` -![image-20211014203335591](graph/K8S+iSulad搭建/image-20211014203335591.png) +![image-20211014203335591](docs/graph/K8S+iSulad搭建/image-20211014203335591.png) 可以看到controller-manager,scheduler状态为unhealthy,解决方法如下: 编辑相关配置文件 @@ -285,7 +285,7 @@ vi /etc/kubernetes/manifests/kube-scheduler.yaml 等待片刻后,再次查看健康状态 -![image-20211014203341778](graph/K8S+iSulad搭建/image-20211014203341778.png) +![image-20211014203341778](docs/graph/K8S+iSulad搭建/image-20211014203341778.png) ## 配置网络插件 @@ -315,7 +315,7 @@ kubectl apply -f calico.yaml 通过kubectl get pod -n kube-system查看calico是否安装成功 通过kubectl get pod -n kube-system查看是否所有pod状态都为running -![image-20211014203349296](graph/K8S+iSulad搭建/image-20211014203349296.png) +![image-20211014203349296](docs/graph/K8S+iSulad搭建/image-20211014203349296.png) ## node节点加入集群 @@ -330,10 +330,10 @@ socket=/var/run/isulad.sock 通过kubectl get node 查看master,node节点状态是否为ready -![image-20211014203355103](graph/K8S+iSulad搭建/image-20211014203355103.png) +![image-20211014203355103](docs/graph/K8S+iSulad搭建/image-20211014203355103.png) 再次查看pod -![image-20211014203400852](graph/K8S+iSulad搭建/image-20211014203400852.png) +![image-20211014203400852](docs/graph/K8S+iSulad搭建/image-20211014203400852.png) 至此,k8s部署成功。 \ No newline at end of file diff --git "a/docs/usr_manual/rpm-ostree\344\275\277\347\224\250.md" "b/docs/usr_manual/rpm-ostree\344\275\277\347\224\250.md" index 0f0587f..33ea58b 100644 --- "a/docs/usr_manual/rpm-ostree\344\275\277\347\224\250.md" +++ "b/docs/usr_manual/rpm-ostree\344\275\277\347\224\250.md" @@ -8,7 +8,7 @@ rpm-ostree install wget ``` -![image-20211014201905155](graph/rpm-ostree使用/image-20211014201905155.png) +![image-20211014201905155](docs/graph/rpm-ostree使用/image-20211014201905155.png) 重启系统,可在启动时通过键盘上下按键选择rpm包安装完成后或安装前的系统状态,其中【ostree:0】为安装之后的版本。 @@ -16,7 +16,7 @@ rpm-ostree install wget systemctl reboot ``` -![image-20211014201914711](graph/rpm-ostree使用/image-20211014201914711.png) +![image-20211014201914711](docs/graph/rpm-ostree使用/image-20211014201914711.png) 查看wget是否安装成功 @@ -24,7 +24,7 @@ systemctl reboot rpm -qa | grep wget ``` -![image-20211014201922069](graph/rpm-ostree使用/image-20211014201922069.png) +![image-20211014201922069](docs/graph/rpm-ostree使用/image-20211014201922069.png) ## rpm-ostree 手动更新升级 NestOS @@ -34,7 +34,7 @@ rpm -qa | grep wget rpm-ostree status ``` -![image-20211014201929746](graph/rpm-ostree使用/image-20211014201929746.png) +![image-20211014201929746](docs/graph/rpm-ostree使用/image-20211014201929746.png) 执行检查命令查看是否有升级可用,发现存在LTS.20210928.dev.0版本 @@ -42,7 +42,7 @@ rpm-ostree status rpm-ostree upgrade --check ``` -![image-20211014201940141](graph/rpm-ostree使用/image-20211014201940141.png) +![image-20211014201940141](docs/graph/rpm-ostree使用/image-20211014201940141.png) 预览版本的差异 @@ -50,7 +50,7 @@ rpm-ostree upgrade --check rpm-ostree upgrade --preview ``` -![image-20211014201948988](graph/rpm-ostree使用/image-20211014201948988.png) +![image-20211014201948988](docs/graph/rpm-ostree使用/image-20211014201948988.png) 可以看到,在0928的最新版本中,我们将wget包做了引入。 下载最新的ostree和RPM数据,不需要进行部署 @@ -59,7 +59,7 @@ rpm-ostree upgrade --preview rpm-ostree upgrade --download-only ``` -![image-20211014201956536](graph/rpm-ostree使用/image-20211014201956536.png) +![image-20211014201956536](docs/graph/rpm-ostree使用/image-20211014201956536.png) 重启NestOS,重启后可看到系统的新旧版本两个状态,选择最新版本的分支进入 @@ -75,7 +75,7 @@ rpm-ostree upgrade --reboot rpm-ostree status ``` -![image-20211014202004110](graph/rpm-ostree使用/image-20211014202004110.png) +![image-20211014202004110](docs/graph/rpm-ostree使用/image-20211014202004110.png) 根据commit号比较2个ostree的差别 @@ -83,7 +83,7 @@ rpm-ostree status rpm-ostree db diff 55eed9bfc5ec fe2408e34148 ``` -![image-20211014202014370](graph/rpm-ostree使用/image-20211014202014370.png) +![image-20211014202014370](docs/graph/rpm-ostree使用/image-20211014202014370.png) ## 系统回滚 @@ -102,7 +102,7 @@ rpm-ostree db diff 55eed9bfc5ec fe2408e34148 rpm-ostree rollback ``` -![image-20211014202023177](graph/rpm-ostree使用/image-20211014202023177.png) +![image-20211014202023177](docs/graph/rpm-ostree使用/image-20211014202023177.png) 重启后失效。 @@ -114,9 +114,9 @@ rpm-ostree rollback rpm-ostree deploy -r LTS.20210928.dev.0 ``` -![image-20211014202030442](graph/rpm-ostree使用/image-20211014202030442.png) +![image-20211014202030442](docs/graph/rpm-ostree使用/image-20211014202030442.png) 重启后确认目前NestOS已经使用的是LTS.20210928.dev.0版本的ostree了。 -![image-20211014202037703](graph/rpm-ostree使用/image-20211014202037703.png) +![image-20211014202037703](docs/graph/rpm-ostree使用/image-20211014202037703.png) diff --git "a/docs/usr_manual/zincati\350\207\252\345\212\250\346\233\264\346\226\260\344\275\277\347\224\250.md" "b/docs/usr_manual/zincati\350\207\252\345\212\250\346\233\264\346\226\260\344\275\277\347\224\250.md" index 2e297f0..8f369fc 100644 --- "a/docs/usr_manual/zincati\350\207\252\345\212\250\346\233\264\346\226\260\344\275\277\347\224\250.md" +++ "b/docs/usr_manual/zincati\350\207\252\345\212\250\346\233\264\346\226\260\344\275\277\347\224\250.md" @@ -30,12 +30,12 @@ systemctl restart zincati.service 当有新版本时,zincati会自动检测到可更新版本,此时查看rpm-ostree状态,可以看到状态是“busy”,说明系统正在升级中。 -![蓝信图片_0880c4c80710ab88d007](graph/zincati自动更新使用/0880c4c80710ab88d007.png) +![蓝信图片_0880c4c80710ab88d007](docs/graph/zincati自动更新使用/0880c4c80710ab88d007.png) 一段时间后NestOS将自动重启,此时再次登录NestOS,可以再次确认rpm-ostree的状态,其中状态转为"idle",而且当前版本已经是“20211013”,这说明rpm-ostree版本已经升级了。 -![0880c4c80710abc840](graph/zincati自动更新使用/0880c4c80710abc840-1634214176877.png) +![0880c4c80710abc840](docs/graph/zincati自动更新使用/0880c4c80710abc840-1634214176877.png) 查看zincati服务的日志,确认升级的过程和重启系统的日志。另外日志显示的"auto-updates logic enabled"也说明更新是自动的。 -![0880c4c80710abca0b](graph/zincati自动更新使用/0880c4c80710abca0b.png) \ No newline at end of file +![0880c4c80710abca0b](docs/graph/zincati自动更新使用/0880c4c80710abca0b.png) \ No newline at end of file diff --git "a/docs/usr_manual/\345\277\253\351\200\237\345\274\200\345\247\213.md" "b/docs/usr_manual/\345\277\253\351\200\237\345\274\200\345\247\213.md" index 9be31e7..439a482 100644 --- "a/docs/usr_manual/\345\277\253\351\200\237\345\274\200\345\247\213.md" +++ "b/docs/usr_manual/\345\277\253\351\200\237\345\274\200\345\247\213.md" @@ -17,17 +17,17 @@ ### 初步安装与启动 -![image-20211014200951942](graph/快速开始/image-20211014200951942.png) +![image-20211014200951942](docs/graph/快速开始/image-20211014200951942.png) #### 启动 NestOS NestOS 初次启动如下图所示 -![image-20211014201036415](graph/快速开始/image-20211014201036415.png) +![image-20211014201036415](docs/graph/快速开始/image-20211014201036415.png) 初次启动 NestOS ,ignition 尚未安装,可根据系统提示使用 nestos-installer 组件进行ignition的安装。 -![image-20211014201046509](graph/快速开始/image-20211014201046509.png) +![image-20211014201046509](docs/graph/快速开始/image-20211014201046509.png) ### 配置 ignition 文件 -- Gitee