过程如下:

    1. [root@10-0-9-52 member]# ll
    2. total 0
    3. drwx------ 2 root root 246 Sep 29 11:11 snap
    4. drwx------ 2 root root 244 Sep 29 11:11 wal
    5. [root@10-0-9-52 member]# cd /etc/yum.repos.d/
    6. [root@10-0-9-52 yum.repos.d]# ll
    7. total 48
    8. -rw-r--r--. 1 root root 203 Mar 10 2020 CentOS-AppStream.repo
    9. -rw-r--r--. 1 root root 606 Mar 10 2020 CentOS-Base.repo
    10. -rw-r--r--. 1 root root 200 Mar 10 2020 CentOS-centosplus.repo
    11. -rw-r--r--. 1 root root 1320 Aug 14 2019 CentOS-CR.repo
    12. -rw-r--r--. 1 root root 668 Aug 14 2019 CentOS-Debuginfo.repo
    13. -rw-r--r--. 1 root root 194 Mar 10 2020 CentOS-Extras.repo
    14. -rw-r--r--. 1 root root 338 Aug 14 2019 CentOS-fasttrack.repo
    15. -rw-r--r--. 1 root root 928 Aug 14 2019 CentOS-Media.repo
    16. -rw-r--r--. 1 root root 736 Aug 14 2019 CentOS-PowerTools.repo
    17. -rw-r--r--. 1 root root 1382 Aug 14 2019 CentOS-Sources.repo
    18. -rw-r--r--. 1 root root 74 Aug 14 2019 CentOS-Vault.repo
    19. -rw-r--r-- 1 root root 214 Jul 15 23:44 epel.repo
    20. [root@10-0-9-52 yum.repos.d]# mkdir bak
    21. [root@10-0-9-52 yum.repos.d]# mkdir bak^C
    22. [root@10-0-9-52 yum.repos.d]# mv ./* bak/
    23. mv: cannot move './bak' to a subdirectory of itself, 'bak/bak'
    24. [root@10-0-9-52 yum.repos.d]# ll
    25. total 0
    26. drwxr-xr-x 2 root root 319 Oct 9 22:36 bak
    27. [root@10-0-9-52 yum.repos.d]# curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-8.repo
    28. % Total % Received % Xferd Average Speed Time Time Time Current
    29. Dload Upload Total Spent Left Speed
    30. 100 2595 100 2595 0 0 2805 0 --:--:-- --:--:-- --:--:-- 2802
    31. [root@10-0-9-52 yum.repos.d]# swapoff -a
    32. [root@10-0-9-52 yum.repos.d]# cat /etc/fstab
    33. #
    34. # /etc/fstab
    35. # Created by anaconda on Tue Dec 10 17:36:27 2019
    36. #
    37. # Accessible filesystems, by reference, are maintained under '/dev/disk/'.
    38. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
    39. #
    40. # After editing this file, run 'systemctl daemon-reload' to update systemd
    41. # units generated from this file.
    42. #
    43. UUID=2029425f-6f3f-4000-8a9c-20f2bc9fa564 / xfs defaults 0 0
    44. UUID=e263119d-dc24-42d5-80fc-a831251f4268 /data ext4 defaults 0 0
    45. [root@10-0-9-52 yum.repos.d]# yum install vim bash-completion net-tools gcc -y
    46. CentOS-8 - AppStream - mirrors.aliyun.com 640 kB/s | 5.8 MB 00:09
    47. CentOS-8 - Base - mirrors.aliyun.com 421 kB/s | 2.2 MB 00:05
    48. CentOS-8 - Extras - mirrors.aliyun.com 4.3 kB/s | 8.1 kB 00:01
    49. Package vim-enhanced-2:8.0.1763-10.el8.x86_64 is already installed.
    50. Package bash-completion-1:2.7-5.el8.noarch is already installed.
    51. Package net-tools-2.0-0.51.20160912git.el8.x86_64 is already installed.
    52. Dependencies resolved.
    53. =================================================================================================================================================
    54. Package Arch Version Repository Size
    55. =================================================================================================================================================
    56. Installing:
    57. gcc x86_64 8.3.1-5.el8.0.2 AppStream 23 M
    58. Upgrading:
    59. vim-common x86_64 2:8.0.1763-13.el8 AppStream 6.3 M
    60. vim-enhanced x86_64 2:8.0.1763-13.el8 AppStream 1.4 M
    61. glibc x86_64 2.28-101.el8 base 3.7 M
    62. glibc-common x86_64 2.28-101.el8 base 1.3 M
    63. glibc-langpack-en x86_64 2.28-101.el8 base 821 k
    64. libgcc x86_64 8.3.1-5.el8.0.2 base 78 k
    65. libgomp x86_64 8.3.1-5.el8.0.2 base 203 k
    66. Installing dependencies:
    67. cpp x86_64 8.3.1-5.el8.0.2 AppStream 10 M
    68. isl x86_64 0.16.1-6.el8 AppStream 841 k
    69. libmpc x86_64 1.0.2-9.el8 AppStream 59 k
    70. glibc-devel x86_64 2.28-101.el8 base 1.0 M
    71. glibc-headers x86_64 2.28-101.el8 base 473 k
    72. kernel-headers x86_64 4.18.0-193.19.1.el8_2 base 4.0 M
    73. libxcrypt-devel x86_64 4.1.1-4.el8 base 25 k
    74. Transaction Summary
    75. =================================================================================================================================================
    76. Install 8 Packages
    77. Upgrade 7 Packages
    78. Total download size: 54 M
    79. Downloading Packages:
    80. (1/15): cpp-8.3.1-5.el8.0.2.x86_64.rpm 6.0 MB/s | 10 MB 00:01
    81. (2/15): isl-0.16.1-6.el8.x86_64.rpm 446 kB/s | 841 kB 00:01
    82. (3/15): libmpc-1.0.2-9.el8.x86_64.rpm 135 kB/s | 59 kB 00:00
    83. (4/15): glibc-headers-2.28-101.el8.x86_64.rpm 160 kB/s | 473 kB 00:02
    84. (5/15): glibc-devel-2.28-101.el8.x86_64.rpm 311 kB/s | 1.0 MB 00:03
    85. (6/15): kernel-headers-4.18.0-193.19.1.el8_2.x86_64.rpm 2.6 MB/s | 4.0 MB 00:01
    86. (7/15): libxcrypt-devel-4.1.1-4.el8.x86_64.rpm 12 kB/s | 25 kB 00:02
    87. (8/15): vim-common-8.0.1763-13.el8.x86_64.rpm 4.1 MB/s | 6.3 MB 00:01
    88. (9/15): vim-enhanced-8.0.1763-13.el8.x86_64.rpm 849 kB/s | 1.4 MB 00:01
    89. (10/15): glibc-common-2.28-101.el8.x86_64.rpm 683 kB/s | 1.3 MB 00:01
    90. (11/15): gcc-8.3.1-5.el8.0.2.x86_64.rpm 2.1 MB/s | 23 MB 00:11
    91. (12/15): glibc-langpack-en-2.28-101.el8.x86_64.rpm 1.1 MB/s | 821 kB 00:00
    92. (13/15): glibc-2.28-101.el8.x86_64.rpm 992 kB/s | 3.7 MB 00:03
    93. (14/15): libgcc-8.3.1-5.el8.0.2.x86_64.rpm 118 kB/s | 78 kB 00:00
    94. (15/15): libgomp-8.3.1-5.el8.0.2.x86_64.rpm 457 kB/s | 203 kB 00:00
    95. -------------------------------------------------------------------------------------------------------------------------------------------------
    96. Total 4.5 MB/s | 54 MB 00:12
    97. Running transaction check
    98. Transaction check succeeded.
    99. Running transaction test
    100. Transaction test succeeded.
    101. Running transaction
    102. Preparing : 1/1
    103. Upgrading : glibc-common-2.28-101.el8.x86_64 1/22
    104. Upgrading : glibc-langpack-en-2.28-101.el8.x86_64 2/22
    105. Running scriptlet: glibc-2.28-101.el8.x86_64 3/22
    106. Upgrading : glibc-2.28-101.el8.x86_64 3/22
    107. Running scriptlet: glibc-2.28-101.el8.x86_64 3/22
    108. warning: /etc/nsswitch.conf created as /etc/nsswitch.conf.rpmnew
    109. Installing : libmpc-1.0.2-9.el8.x86_64 4/22
    110. Running scriptlet: libmpc-1.0.2-9.el8.x86_64 4/22
    111. Upgrading : libgcc-8.3.1-5.el8.0.2.x86_64 5/22
    112. Running scriptlet: libgcc-8.3.1-5.el8.0.2.x86_64 5/22
    113. Installing : cpp-8.3.1-5.el8.0.2.x86_64 6/22
    114. Running scriptlet: cpp-8.3.1-5.el8.0.2.x86_64 6/22
    115. Installing : isl-0.16.1-6.el8.x86_64 7/22
    116. Running scriptlet: isl-0.16.1-6.el8.x86_64 7/22
    117. Upgrading : vim-common-2:8.0.1763-13.el8.x86_64 8/22
    118. Upgrading : libgomp-8.3.1-5.el8.0.2.x86_64 9/22
    119. Running scriptlet: libgomp-8.3.1-5.el8.0.2.x86_64 9/22
    120. Installing : kernel-headers-4.18.0-193.19.1.el8_2.x86_64 10/22
    121. Running scriptlet: glibc-headers-2.28-101.el8.x86_64 11/22
    122. Installing : glibc-headers-2.28-101.el8.x86_64 11/22
    123. Installing : libxcrypt-devel-4.1.1-4.el8.x86_64 12/22
    124. Installing : glibc-devel-2.28-101.el8.x86_64 13/22
    125. Running scriptlet: glibc-devel-2.28-101.el8.x86_64 13/22
    126. Installing : gcc-8.3.1-5.el8.0.2.x86_64 14/22
    127. Running scriptlet: gcc-8.3.1-5.el8.0.2.x86_64 14/22
    128. Upgrading : vim-enhanced-2:8.0.1763-13.el8.x86_64 15/22
    129. Cleanup : vim-enhanced-2:8.0.1763-10.el8.x86_64 16/22
    130. Running scriptlet: libgomp-8.2.1-3.5.el8.x86_64 17/22
    131. Cleanup : libgomp-8.2.1-3.5.el8.x86_64 17/22
    132. Running scriptlet: libgomp-8.2.1-3.5.el8.x86_64 17/22
    133. Cleanup : vim-common-2:8.0.1763-10.el8.x86_64 18/22
    134. Cleanup : glibc-2.28-42.el8.1.x86_64 19/22
    135. Cleanup : glibc-langpack-en-2.28-42.el8.1.x86_64 20/22
    136. Cleanup : glibc-common-2.28-42.el8.1.x86_64 21/22
    137. Cleanup : libgcc-8.2.1-3.5.el8.x86_64 22/22
    138. Running scriptlet: libgcc-8.2.1-3.5.el8.x86_64 22/22
    139. Running scriptlet: glibc-common-2.28-101.el8.x86_64 22/22
    140. Running scriptlet: vim-common-2:8.0.1763-13.el8.x86_64 22/22
    141. Verifying : cpp-8.3.1-5.el8.0.2.x86_64 1/22
    142. Verifying : gcc-8.3.1-5.el8.0.2.x86_64 2/22
    143. Verifying : isl-0.16.1-6.el8.x86_64 3/22
    144. Verifying : libmpc-1.0.2-9.el8.x86_64 4/22
    145. Verifying : glibc-devel-2.28-101.el8.x86_64 5/22
    146. Verifying : glibc-headers-2.28-101.el8.x86_64 6/22
    147. Verifying : kernel-headers-4.18.0-193.19.1.el8_2.x86_64 7/22
    148. Verifying : libxcrypt-devel-4.1.1-4.el8.x86_64 8/22
    149. Verifying : vim-common-2:8.0.1763-13.el8.x86_64 9/22
    150. Verifying : vim-common-2:8.0.1763-10.el8.x86_64 10/22
    151. Verifying : vim-enhanced-2:8.0.1763-13.el8.x86_64 11/22
    152. Verifying : vim-enhanced-2:8.0.1763-10.el8.x86_64 12/22
    153. Verifying : glibc-2.28-101.el8.x86_64 13/22
    154. Verifying : glibc-2.28-42.el8.1.x86_64 14/22
    155. Verifying : glibc-common-2.28-101.el8.x86_64 15/22
    156. Verifying : glibc-common-2.28-42.el8.1.x86_64 16/22
    157. Verifying : glibc-langpack-en-2.28-101.el8.x86_64 17/22
    158. Verifying : glibc-langpack-en-2.28-42.el8.1.x86_64 18/22
    159. Verifying : libgcc-8.3.1-5.el8.0.2.x86_64 19/22
    160. Verifying : libgcc-8.2.1-3.5.el8.x86_64 20/22
    161. Verifying : libgomp-8.3.1-5.el8.0.2.x86_64 21/22
    162. Verifying : libgomp-8.2.1-3.5.el8.x86_64 22/22
    163. Upgraded:
    164. vim-common-2:8.0.1763-13.el8.x86_64 vim-enhanced-2:8.0.1763-13.el8.x86_64 glibc-2.28-101.el8.x86_64 glibc-common-2.28-101.el8.x86_64
    165. glibc-langpack-en-2.28-101.el8.x86_64 libgcc-8.3.1-5.el8.0.2.x86_64 libgomp-8.3.1-5.el8.0.2.x86_64
    166. Installed:
    167. gcc-8.3.1-5.el8.0.2.x86_64 cpp-8.3.1-5.el8.0.2.x86_64 isl-0.16.1-6.el8.x86_64
    168. libmpc-1.0.2-9.el8.x86_64 glibc-devel-2.28-101.el8.x86_64 glibc-headers-2.28-101.el8.x86_64
    169. kernel-headers-4.18.0-193.19.1.el8_2.x86_64 libxcrypt-devel-4.1.1-4.el8.x86_64
    170. Complete!
    171. [root@10-0-9-52 yum.repos.d]# yum install -y yum-utils device-mapper-persistent-data lvm2
    172. Last metadata expiration check: 0:00:26 ago on Fri 09 Oct 2020 10:38:12 PM HKT.
    173. Package device-mapper-persistent-data-0.7.6-1.el8.x86_64 is already installed.
    174. Package lvm2-8:2.03.02-6.el8.x86_64 is already installed.
    175. Dependencies resolved.
    176. =================================================================================================================================================
    177. Package Arch Version Repository Size
    178. =================================================================================================================================================
    179. Installing:
    180. yum-utils noarch 4.0.12-4.el8_2 base 66 k
    181. Upgrading:
    182. device-mapper x86_64 8:1.02.169-3.el8 base 372 k
    183. device-mapper-event x86_64 8:1.02.169-3.el8 base 267 k
    184. device-mapper-event-libs x86_64 8:1.02.169-3.el8 base 266 k
    185. device-mapper-libs x86_64 8:1.02.169-3.el8 base 405 k
    186. device-mapper-persistent-data x86_64 0.8.5-3.el8 base 470 k
    187. dnf noarch 4.2.17-7.el8_2 base 469 k
    188. dnf-data noarch 4.2.17-7.el8_2 base 145 k
    189. dnf-plugins-core noarch 4.0.12-4.el8_2 base 64 k
    190. libdnf x86_64 0.39.1-6.el8_2 base 620 k
    191. librepo x86_64 1.11.0-3.el8_2 base 90 k
    192. libsolv x86_64 0.7.7-1.el8 base 356 k
    193. lvm2 x86_64 8:2.03.08-3.el8 base 1.5 M
    194. lvm2-libs x86_64 8:2.03.08-3.el8 base 1.1 M
    195. python3-dnf noarch 4.2.17-7.el8_2 base 521 k
    196. python3-dnf-plugins-core noarch 4.0.12-4.el8_2 base 204 k
    197. python3-hawkey x86_64 0.39.1-6.el8_2 base 99 k
    198. python3-libdnf x86_64 0.39.1-6.el8_2 base 689 k
    199. python3-librepo x86_64 1.11.0-3.el8_2 base 52 k
    200. python3-rpm x86_64 4.14.2-37.el8 base 156 k
    201. rpm x86_64 4.14.2-37.el8 base 540 k
    202. rpm-build-libs x86_64 4.14.2-37.el8 base 154 k
    203. rpm-libs x86_64 4.14.2-37.el8 base 337 k
    204. rpm-plugin-selinux x86_64 4.14.2-37.el8 base 75 k
    205. rpm-plugin-systemd-inhibit x86_64 4.14.2-37.el8 base 76 k
    206. yum noarch 4.2.17-7.el8_2 base 191 k
    207. Installing dependencies:
    208. libzstd x86_64 1.4.2-2.el8 base 260 k
    209. Transaction Summary
    210. =================================================================================================================================================
    211. Install 2 Packages
    212. Upgrade 25 Packages
    213. Total download size: 9.4 M
    214. Downloading Packages:
    215. (1/27): device-mapper-1.02.169-3.el8.x86_64.rpm 192 kB/s | 372 kB 00:01
    216. (2/27): yum-utils-4.0.12-4.el8_2.noarch.rpm 29 kB/s | 66 kB 00:02
    217. (3/27): device-mapper-event-1.02.169-3.el8.x86_64.rpm 126 kB/s | 267 kB 00:02
    218. (4/27): libzstd-1.4.2-2.el8.x86_64.rpm 59 kB/s | 260 kB 00:04
    219. (5/27): device-mapper-event-libs-1.02.169-3.el8.x86_64.rpm 97 kB/s | 266 kB 00:02
    220. (6/27): dnf-4.2.17-7.el8_2.noarch.rpm 384 kB/s | 469 kB 00:01
    221. (7/27): device-mapper-persistent-data-0.8.5-3.el8.x86_64.rpm 179 kB/s | 470 kB 00:02
    222. (8/27): dnf-plugins-core-4.0.12-4.el8_2.noarch.rpm 151 kB/s | 64 kB 00:00
    223. (9/27): dnf-data-4.2.17-7.el8_2.noarch.rpm 114 kB/s | 145 kB 00:01
    224. (10/27): device-mapper-libs-1.02.169-3.el8.x86_64.rpm 106 kB/s | 405 kB 00:03
    225. (11/27): librepo-1.11.0-3.el8_2.x86_64.rpm 104 kB/s | 90 kB 00:00
    226. (12/27): libsolv-0.7.7-1.el8.x86_64.rpm 297 kB/s | 356 kB 00:01
    227. (13/27): libdnf-0.39.1-6.el8_2.x86_64.rpm 315 kB/s | 620 kB 00:01
    228. (14/27): lvm2-2.03.08-3.el8.x86_64.rpm 905 kB/s | 1.5 MB 00:01
    229. (15/27): python3-dnf-4.2.17-7.el8_2.noarch.rpm 546 kB/s | 521 kB 00:00
    230. (16/27): python3-dnf-plugins-core-4.0.12-4.el8_2.noarch.rpm 399 kB/s | 204 kB 00:00
    231. (17/27): python3-hawkey-0.39.1-6.el8_2.x86_64.rpm 119 kB/s | 99 kB 00:00
    232. (18/27): python3-libdnf-0.39.1-6.el8_2.x86_64.rpm 739 kB/s | 689 kB 00:00
    233. (19/27): lvm2-libs-2.03.08-3.el8.x86_64.rpm 328 kB/s | 1.1 MB 00:03
    234. (20/27): python3-librepo-1.11.0-3.el8_2.x86_64.rpm 37 kB/s | 52 kB 00:01
    235. (21/27): rpm-build-libs-4.14.2-37.el8.x86_64.rpm 386 kB/s | 154 kB 00:00
    236. (22/27): python3-rpm-4.14.2-37.el8.x86_64.rpm 88 kB/s | 156 kB 00:01
    237. (23/27): rpm-libs-4.14.2-37.el8.x86_64.rpm 579 kB/s | 337 kB 00:00
    238. (24/27): rpm-4.14.2-37.el8.x86_64.rpm 448 kB/s | 540 kB 00:01
    239. (25/27): rpm-plugin-selinux-4.14.2-37.el8.x86_64.rpm 136 kB/s | 75 kB 00:00
    240. (26/27): rpm-plugin-systemd-inhibit-4.14.2-37.el8.x86_64.rpm 65 kB/s | 76 kB 00:01
    241. (27/27): yum-4.2.17-7.el8_2.noarch.rpm 74 kB/s | 191 kB 00:02
    242. -------------------------------------------------------------------------------------------------------------------------------------------------
    243. Total 591 kB/s | 9.4 MB 00:16
    244. Running transaction check
    245. Transaction check succeeded.
    246. Running transaction test
    247. Transaction test succeeded.
    248. Running transaction
    249. Preparing : 1/1
    250. Running scriptlet: libzstd-1.4.2-2.el8.x86_64 1/1
    251. Installing : libzstd-1.4.2-2.el8.x86_64 1/52
    252. Upgrading : librepo-1.11.0-3.el8_2.x86_64 2/52
    253. Upgrading : device-mapper-libs-8:1.02.169-3.el8.x86_64 3/52
    254. Upgrading : device-mapper-8:1.02.169-3.el8.x86_64 4/52
    255. Upgrading : device-mapper-event-libs-8:1.02.169-3.el8.x86_64 5/52
    256. Upgrading : device-mapper-event-8:1.02.169-3.el8.x86_64 6/52
    257. Running scriptlet: device-mapper-event-8:1.02.169-3.el8.x86_64 6/52
    258. Upgrading : lvm2-libs-8:2.03.08-3.el8.x86_64 7/52
    259. Upgrading : rpm-4.14.2-37.el8.x86_64 8/52
    260. Upgrading : rpm-libs-4.14.2-37.el8.x86_64 9/52
    261. Running scriptlet: rpm-libs-4.14.2-37.el8.x86_64 9/52
    262. Upgrading : libsolv-0.7.7-1.el8.x86_64 10/52
    263. Upgrading : libdnf-0.39.1-6.el8_2.x86_64 11/52
    264. Upgrading : python3-libdnf-0.39.1-6.el8_2.x86_64 12/52
    265. Upgrading : python3-hawkey-0.39.1-6.el8_2.x86_64 13/52
    266. Upgrading : rpm-build-libs-4.14.2-37.el8.x86_64 14/52
    267. Running scriptlet: rpm-build-libs-4.14.2-37.el8.x86_64 14/52
    268. Upgrading : python3-rpm-4.14.2-37.el8.x86_64 15/52
    269. Upgrading : rpm-plugin-systemd-inhibit-4.14.2-37.el8.x86_64 16/52
    270. Upgrading : dnf-data-4.2.17-7.el8_2.noarch 17/52
    271. Upgrading : python3-dnf-4.2.17-7.el8_2.noarch 18/52
    272. Upgrading : dnf-4.2.17-7.el8_2.noarch 19/52
    273. Running scriptlet: dnf-4.2.17-7.el8_2.noarch 19/52
    274. Upgrading : python3-dnf-plugins-core-4.0.12-4.el8_2.noarch 20/52
    275. Upgrading : dnf-plugins-core-4.0.12-4.el8_2.noarch 21/52
    276. Upgrading : device-mapper-persistent-data-0.8.5-3.el8.x86_64 22/52
    277. Upgrading : lvm2-8:2.03.08-3.el8.x86_64 23/52
    278. Running scriptlet: lvm2-8:2.03.08-3.el8.x86_64 23/52
    279. Installing : yum-utils-4.0.12-4.el8_2.noarch 24/52
    280. Upgrading : yum-4.2.17-7.el8_2.noarch 25/52
    281. Upgrading : rpm-plugin-selinux-4.14.2-37.el8.x86_64 26/52
    282. Upgrading : python3-librepo-1.11.0-3.el8_2.x86_64 27/52
    283. Cleanup : yum-4.0.9.2-5.el8.noarch 28/52
    284. Running scriptlet: dnf-4.0.9.2-5.el8.noarch 29/52
    285. Cleanup : dnf-4.0.9.2-5.el8.noarch 29/52
    286. Running scriptlet: dnf-4.0.9.2-5.el8.noarch 29/52
    287. Cleanup : dnf-plugins-core-4.0.2.2-3.el8.noarch 30/52
    288. Running scriptlet: lvm2-8:2.03.02-6.el8.x86_64 31/52
    289. Cleanup : lvm2-8:2.03.02-6.el8.x86_64 31/52
    290. Running scriptlet: lvm2-8:2.03.02-6.el8.x86_64 31/52
    291. Cleanup : lvm2-libs-8:2.03.02-6.el8.x86_64 32/52
    292. Running scriptlet: lvm2-libs-8:2.03.02-6.el8.x86_64 32/52
    293. Running scriptlet: device-mapper-event-8:1.02.155-6.el8.x86_64 33/52
    294. Cleanup : device-mapper-event-8:1.02.155-6.el8.x86_64 33/52
    295. Cleanup : device-mapper-event-libs-8:1.02.155-6.el8.x86_64 34/52
    296. Running scriptlet: device-mapper-event-libs-8:1.02.155-6.el8.x86_64 34/52
    297. Cleanup : rpm-plugin-selinux-4.14.2-9.el8.x86_64 35/52
    298. Cleanup : python3-dnf-plugins-core-4.0.2.2-3.el8.noarch 36/52
    299. Cleanup : python3-dnf-4.0.9.2-5.el8.noarch 37/52
    300. Cleanup : python3-hawkey-0.22.5-4.el8.x86_64 38/52
    301. Cleanup : python3-libdnf-0.22.5-4.el8.x86_64 39/52
    302. Cleanup : libdnf-0.22.5-4.el8.x86_64 40/52
    303. Cleanup : python3-rpm-4.14.2-9.el8.x86_64 41/52
    304. Cleanup : rpm-build-libs-4.14.2-9.el8.x86_64 42/52
    305. Running scriptlet: rpm-build-libs-4.14.2-9.el8.x86_64 42/52
    306. Cleanup : rpm-plugin-systemd-inhibit-4.14.2-9.el8.x86_64 43/52
    307. Cleanup : libsolv-0.6.35-6.el8.x86_64 44/52
    308. Cleanup : python3-librepo-1.9.2-1.el8.x86_64 45/52
    309. Cleanup : rpm-4.14.2-9.el8.x86_64 46/52
    310. Cleanup : rpm-libs-4.14.2-9.el8.x86_64 47/52
    311. Running scriptlet: rpm-libs-4.14.2-9.el8.x86_64 47/52
    312. Cleanup : device-mapper-libs-8:1.02.155-6.el8.x86_64 48/52
    313. Running scriptlet: device-mapper-libs-8:1.02.155-6.el8.x86_64 48/52
    314. Cleanup : device-mapper-8:1.02.155-6.el8.x86_64 49/52
    315. Cleanup : dnf-data-4.0.9.2-5.el8.noarch 50/52
    316. Cleanup : librepo-1.9.2-1.el8.x86_64 51/52
    317. Cleanup : device-mapper-persistent-data-0.7.6-1.el8.x86_64 52/52
    318. Running scriptlet: device-mapper-persistent-data-0.7.6-1.el8.x86_64 52/52
    319. Verifying : libzstd-1.4.2-2.el8.x86_64 1/52
    320. Verifying : yum-utils-4.0.12-4.el8_2.noarch 2/52
    321. Verifying : device-mapper-8:1.02.169-3.el8.x86_64 3/52
    322. Verifying : device-mapper-8:1.02.155-6.el8.x86_64 4/52
    323. Verifying : device-mapper-event-8:1.02.169-3.el8.x86_64 5/52
    324. Verifying : device-mapper-event-8:1.02.155-6.el8.x86_64 6/52
    325. Verifying : device-mapper-event-libs-8:1.02.169-3.el8.x86_64 7/52
    326. Verifying : device-mapper-event-libs-8:1.02.155-6.el8.x86_64 8/52
    327. Verifying : device-mapper-libs-8:1.02.169-3.el8.x86_64 9/52
    328. Verifying : device-mapper-libs-8:1.02.155-6.el8.x86_64 10/52
    329. Verifying : device-mapper-persistent-data-0.8.5-3.el8.x86_64 11/52
    330. Verifying : device-mapper-persistent-data-0.7.6-1.el8.x86_64 12/52
    331. Verifying : dnf-4.2.17-7.el8_2.noarch 13/52
    332. Verifying : dnf-4.0.9.2-5.el8.noarch 14/52
    333. Verifying : dnf-data-4.2.17-7.el8_2.noarch 15/52
    334. Verifying : dnf-data-4.0.9.2-5.el8.noarch 16/52
    335. Verifying : dnf-plugins-core-4.0.12-4.el8_2.noarch 17/52
    336. Verifying : dnf-plugins-core-4.0.2.2-3.el8.noarch 18/52
    337. Verifying : libdnf-0.39.1-6.el8_2.x86_64 19/52
    338. Verifying : libdnf-0.22.5-4.el8.x86_64 20/52
    339. Verifying : librepo-1.11.0-3.el8_2.x86_64 21/52
    340. Verifying : librepo-1.9.2-1.el8.x86_64 22/52
    341. Verifying : libsolv-0.7.7-1.el8.x86_64 23/52
    342. Verifying : libsolv-0.6.35-6.el8.x86_64 24/52
    343. Verifying : lvm2-8:2.03.08-3.el8.x86_64 25/52
    344. Verifying : lvm2-8:2.03.02-6.el8.x86_64 26/52
    345. Verifying : lvm2-libs-8:2.03.08-3.el8.x86_64 27/52
    346. Verifying : lvm2-libs-8:2.03.02-6.el8.x86_64 28/52
    347. Verifying : python3-dnf-4.2.17-7.el8_2.noarch 29/52
    348. Verifying : python3-dnf-4.0.9.2-5.el8.noarch 30/52
    349. Verifying : python3-dnf-plugins-core-4.0.12-4.el8_2.noarch 31/52
    350. Verifying : python3-dnf-plugins-core-4.0.2.2-3.el8.noarch 32/52
    351. Verifying : python3-hawkey-0.39.1-6.el8_2.x86_64 33/52
    352. Verifying : python3-hawkey-0.22.5-4.el8.x86_64 34/52
    353. Verifying : python3-libdnf-0.39.1-6.el8_2.x86_64 35/52
    354. Verifying : python3-libdnf-0.22.5-4.el8.x86_64 36/52
    355. Verifying : python3-librepo-1.11.0-3.el8_2.x86_64 37/52
    356. Verifying : python3-librepo-1.9.2-1.el8.x86_64 38/52
    357. Verifying : python3-rpm-4.14.2-37.el8.x86_64 39/52
    358. Verifying : python3-rpm-4.14.2-9.el8.x86_64 40/52
    359. Verifying : rpm-4.14.2-37.el8.x86_64 41/52
    360. Verifying : rpm-4.14.2-9.el8.x86_64 42/52
    361. Verifying : rpm-build-libs-4.14.2-37.el8.x86_64 43/52
    362. Verifying : rpm-build-libs-4.14.2-9.el8.x86_64 44/52
    363. Verifying : rpm-libs-4.14.2-37.el8.x86_64 45/52
    364. Verifying : rpm-libs-4.14.2-9.el8.x86_64 46/52
    365. Verifying : rpm-plugin-selinux-4.14.2-37.el8.x86_64 47/52
    366. Verifying : rpm-plugin-selinux-4.14.2-9.el8.x86_64 48/52
    367. Verifying : rpm-plugin-systemd-inhibit-4.14.2-37.el8.x86_64 49/52
    368. Verifying : rpm-plugin-systemd-inhibit-4.14.2-9.el8.x86_64 50/52
    369. Verifying : yum-4.2.17-7.el8_2.noarch 51/52
    370. Verifying : yum-4.0.9.2-5.el8.noarch 52/52
    371. Upgraded:
    372. device-mapper-8:1.02.169-3.el8.x86_64 device-mapper-event-8:1.02.169-3.el8.x86_64 device-mapper-event-libs-8:1.02.169-3.el8.x86_64
    373. device-mapper-libs-8:1.02.169-3.el8.x86_64 device-mapper-persistent-data-0.8.5-3.el8.x86_64 dnf-4.2.17-7.el8_2.noarch
    374. dnf-data-4.2.17-7.el8_2.noarch dnf-plugins-core-4.0.12-4.el8_2.noarch libdnf-0.39.1-6.el8_2.x86_64
    375. librepo-1.11.0-3.el8_2.x86_64 libsolv-0.7.7-1.el8.x86_64 lvm2-8:2.03.08-3.el8.x86_64
    376. lvm2-libs-8:2.03.08-3.el8.x86_64 python3-dnf-4.2.17-7.el8_2.noarch python3-dnf-plugins-core-4.0.12-4.el8_2.noarch
    377. python3-hawkey-0.39.1-6.el8_2.x86_64 python3-libdnf-0.39.1-6.el8_2.x86_64 python3-librepo-1.11.0-3.el8_2.x86_64
    378. python3-rpm-4.14.2-37.el8.x86_64 rpm-4.14.2-37.el8.x86_64 rpm-build-libs-4.14.2-37.el8.x86_64
    379. rpm-libs-4.14.2-37.el8.x86_64 rpm-plugin-selinux-4.14.2-37.el8.x86_64 rpm-plugin-systemd-inhibit-4.14.2-37.el8.x86_64
    380. yum-4.2.17-7.el8_2.noarch
    381. Installed:
    382. yum-utils-4.0.12-4.el8_2.noarch libzstd-1.4.2-2.el8.x86_64
    383. Complete!
    384. [root@10-0-9-52 yum.repos.d]# yum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
    385. Adding repo from: https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
    386. [root@10-0-9-52 yum.repos.d]# yum -y install docker-ce
    387. Docker CE Stable - x86_64 23 kB/s | 25 kB 00:01
    388. Error:
    389. Problem: package docker-ce-3:19.03.13-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
    390. - cannot install the best candidate for the job
    391. - package containerd.io-1.2.10-3.2.el7.x86_64 is filtered out by modular filtering
    392. - package containerd.io-1.2.13-3.1.el7.x86_64 is filtered out by modular filtering
    393. - package containerd.io-1.2.13-3.2.el7.x86_64 is filtered out by modular filtering
    394. - package containerd.io-1.2.2-3.3.el7.x86_64 is filtered out by modular filtering
    395. - package containerd.io-1.2.2-3.el7.x86_64 is filtered out by modular filtering
    396. - package containerd.io-1.2.4-3.1.el7.x86_64 is filtered out by modular filtering
    397. - package containerd.io-1.2.5-3.1.el7.x86_64 is filtered out by modular filtering
    398. - package containerd.io-1.2.6-3.3.el7.x86_64 is filtered out by modular filtering
    399. - package containerd.io-1.3.7-3.1.el7.x86_64 is filtered out by modular filtering
    400. (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
    401. [root@10-0-9-52 yum.repos.d]#
    402. [root@10-0-9-52 yum.repos.d]#
    403. [root@10-0-9-52 yum.repos.d]# wget https://download.docker.com/linux/centos/7/x86_64/edge/Packages/containerd.io-1.2.6-3.3.e
    404. --2020-10-09 22:41:28-- https://download.docker.com/linux/centos/7/x86_64/edge/Packages/containerd.io-1.2.6-3.3.e
    405. Resolving download.docker.com (download.docker.com)... 13.224.164.68, 13.224.164.41, 13.224.164.59, ...
    406. Connecting to download.docker.com (download.docker.com)|13.224.164.68|:443... connected.
    407. HTTP request sent, awaiting response... 404 Not Found
    408. 2020-10-09 22:41:28 ERROR 404: Not Found.
    409. [root@10-0-9-52 yum.repos.d]# wget https://download.docker.com/linux/centos/7/x86_64/edge/Packages/containerd.io-1.2.6-3.3.el7.x86_64.rpm
    410. --2020-10-09 22:41:36-- https://download.docker.com/linux/centos/7/x86_64/edge/Packages/containerd.io-1.2.6-3.3.el7.x86_64.rpm
    411. Resolving download.docker.com (download.docker.com)... 13.224.164.41, 13.224.164.59, 13.224.164.97, ...
    412. Connecting to download.docker.com (download.docker.com)|13.224.164.41|:443... connected.
    413. HTTP request sent, awaiting response... 200 OK
    414. Length: 27119348 (26M) [application/x-redhat-package-manager]
    415. Saving to: ‘containerd.io-1.2.6-3.3.el7.x86_64.rpm’
    416. containerd.io-1.2.6-3.3.el7.x86_64.r 100%[===================================================================>] 25.86M 10.4MB/s in 2.5s
    417. 2020-10-09 22:41:39 (10.4 MB/s) - ‘containerd.io-1.2.6-3.3.el7.x86_64.rpm’ saved [27119348/27119348]
    418. [root@10-0-9-52 yum.repos.d]# yum install containerd.io-1.2.6-3.3.el7.x86_64.rpm
    419. Last metadata expiration check: 0:01:00 ago on Fri 09 Oct 2020 10:40:52 PM HKT.
    420. Dependencies resolved.
    421. =================================================================================================================================================
    422. Package Architecture Version Repository Size
    423. =================================================================================================================================================
    424. Installing:
    425. containerd.io x86_64 1.2.6-3.3.el7 @commandline 26 M
    426. replacing runc.x86_64 1.0.0-55.rc5.dev.git2abd837.module_el8.0.0+58+91b614e7
    427. Transaction Summary
    428. =================================================================================================================================================
    429. Install 1 Package
    430. Total size: 26 M
    431. Is this ok [y/N]: y
    432. Downloading Packages:
    433. Running transaction check
    434. Transaction check succeeded.
    435. Running transaction test
    436. Transaction test succeeded.
    437. Running transaction
    438. Preparing : 1/1
    439. Installing : containerd.io-1.2.6-3.3.el7.x86_64 1/2
    440. Running scriptlet: containerd.io-1.2.6-3.3.el7.x86_64 1/2
    441. Obsoleting : runc-1.0.0-55.rc5.dev.git2abd837.module_el8.0.0+58+91b614e7.x86_64 2/2
    442. Running scriptlet: runc-1.0.0-55.rc5.dev.git2abd837.module_el8.0.0+58+91b614e7.x86_64 2/2
    443. Verifying : containerd.io-1.2.6-3.3.el7.x86_64 1/2
    444. Verifying : runc-1.0.0-55.rc5.dev.git2abd837.module_el8.0.0+58+91b614e7.x86_64 2/2
    445. Installed:
    446. containerd.io-1.2.6-3.3.el7.x86_64
    447. Complete!
    448. [root@10-0-9-52 yum.repos.d]# yum -y install docker-ce
    449. Last metadata expiration check: 0:01:15 ago on Fri 09 Oct 2020 10:40:52 PM HKT.
    450. Dependencies resolved.
    451. =================================================================================================================================================
    452. Package Architecture Version Repository Size
    453. =================================================================================================================================================
    454. Installing:
    455. docker-ce x86_64 3:19.03.13-3.el7 docker-ce-stable 24 M
    456. Installing dependencies:
    457. docker-ce-cli x86_64 1:19.03.13-3.el7 docker-ce-stable 38 M
    458. libcgroup x86_64 0.41-19.el8 base 70 k
    459. Transaction Summary
    460. =================================================================================================================================================
    461. Install 3 Packages
    462. Total download size: 63 M
    463. Installed size: 273 M
    464. Downloading Packages:
    465. (1/3): libcgroup-0.41-19.el8.x86_64.rpm 42 kB/s | 70 kB 00:01
    466. (2/3): docker-ce-cli-19.03.13-3.el7.x86_64.rpm 3.9 MB/s | 38 MB 00:09
    467. (3/3): docker-ce-19.03.13-3.el7.x86_64.rpm 2.1 MB/s | 24 MB 00:11
    468. -------------------------------------------------------------------------------------------------------------------------------------------------
    469. Total 5.4 MB/s | 63 MB 00:11
    470. warning: /var/cache/dnf/docker-ce-stable-3e5647bf4960c796/packages/docker-ce-19.03.13-3.el7.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 621e9f35: NOKEY
    471. Docker CE Stable - x86_64 747 B/s | 1.6 kB 00:02
    472. Importing GPG key 0x621E9F35:
    473. Userid : "Docker Release (CE rpm) <docker@docker.com>"
    474. Fingerprint: 060A 61C5 1B55 8A7F 742B 77AA C52F EB6B 621E 9F35
    475. From : https://mirrors.aliyun.com/docker-ce/linux/centos/gpg
    476. Key imported successfully
    477. Running transaction check
    478. Transaction check succeeded.
    479. Running transaction test
    480. Transaction test succeeded.
    481. Running transaction
    482. Preparing : 1/1
    483. Installing : docker-ce-cli-1:19.03.13-3.el7.x86_64 1/3
    484. Running scriptlet: docker-ce-cli-1:19.03.13-3.el7.x86_64 1/3
    485. Running scriptlet: libcgroup-0.41-19.el8.x86_64 2/3
    486. Installing : libcgroup-0.41-19.el8.x86_64 2/3
    487. Running scriptlet: libcgroup-0.41-19.el8.x86_64 2/3
    488. Installing : docker-ce-3:19.03.13-3.el7.x86_64 3/3
    489. Running scriptlet: docker-ce-3:19.03.13-3.el7.x86_64 3/3
    490. Verifying : libcgroup-0.41-19.el8.x86_64 1/3
    491. Verifying : docker-ce-3:19.03.13-3.el7.x86_64 2/3
    492. Verifying : docker-ce-cli-1:19.03.13-3.el7.x86_64 3/3
    493. Installed:
    494. docker-ce-3:19.03.13-3.el7.x86_64 docker-ce-cli-1:19.03.13-3.el7.x86_64 libcgroup-0.41-19.el8.x86_64
    495. Complete!
    496. [root@10-0-9-52 yum.repos.d]# docker info
    497. Client:
    498. Debug Mode: false
    499. Server:
    500. ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
    501. errors pretty printing info
    502. [root@10-0-9-52 yum.repos.d]# cat /mount/etc/docker/
    503. daemon.json key.json
    504. [root@10-0-9-52 yum.repos.d]# cat /mount/etc/docker/daemon.json
    505. {
    506. "registry-mirrors": ["https://fl791z1h.mirror.aliyuncs.com"]
    507. }
    508. [root@10-0-9-52 yum.repos.d]# cp /mount/etc/docker/daemon.json ^C
    509. [root@10-0-9-52 yum.repos.d]# mkdir -p /etc/docker/
    510. [root@10-0-9-52 yum.repos.d]# cp /mount/etc/docker/daemon.json /etc/docker/
    511. [root@10-0-9-52 yum.repos.d]# cat <<EOF > /etc/yum.repos.d/kubernetes.repo^C
    512. [root@10-0-9-52 yum.repos.d]# cp /mount/etc/yum /etc/docker/
    513. yum/ yum.conf yum.repos.d/
    514. [root@10-0-9-52 yum.repos.d]# cp /mount/etc/yum.repos.d/kubernetes.repo /etc/yum.repos.d/
    515. [root@10-0-9-52 yum.repos.d]# yum install kubectl kubelet kubeadm
    516. Kubernetes 410 B/s | 454 B 00:01
    517. Kubernetes 2.4 kB/s | 1.8 kB 00:00
    518. Importing GPG key 0xA7317B0F:
    519. Userid : "Google Cloud Packages Automatic Signing Key <gc-team@google.com>"
    520. Fingerprint: D0BC 747F D8CA F711 7500 D6FA 3746 C208 A731 7B0F
    521. From : https://mirrors.aliyun.com/kubernetes/yum/doc/yum-key.gpg
    522. Is this ok [y/N]: y
    523. Importing GPG key 0xBA07F4FB:
    524. Userid : "Google Cloud Packages Automatic Signing Key <gc-team@google.com>"
    525. Fingerprint: 54A6 47F9 048D 5688 D7DA 2ABE 6A03 0B21 BA07 F4FB
    526. From : https://mirrors.aliyun.com/kubernetes/yum/doc/yum-key.gpg
    527. Is this ok [y/N]: y
    528. Kubernetes 2.7 kB/s | 975 B 00:00
    529. Importing GPG key 0x3E1BA8D5:
    530. Userid : "Google Cloud Packages RPM Signing Key <gc-team@google.com>"
    531. Fingerprint: 3749 E1BA 95A8 6CE0 5454 6ED2 F09C 394C 3E1B A8D5
    532. From : https://mirrors.aliyun.com/kubernetes/yum/doc/rpm-package-key.gpg
    533. Is this ok [y/N]: y
    534. Kubernetes 155 kB/s | 104 kB 00:00
    535. Dependencies resolved.
    536. =================================================================================================================================================
    537. Package Architecture Version Repository Size
    538. =================================================================================================================================================
    539. Installing:
    540. kubeadm x86_64 1.19.2-0 kubernetes 8.3 M
    541. kubectl x86_64 1.19.2-0 kubernetes 9.0 M
    542. kubelet x86_64 1.19.2-0 kubernetes 19 M
    543. Installing dependencies:
    544. conntrack-tools x86_64 1.4.4-10.el8 base 204 k
    545. cri-tools x86_64 1.13.0-0 kubernetes 5.1 M
    546. kubernetes-cni x86_64 0.8.7-0 kubernetes 19 M
    547. libnetfilter_cthelper x86_64 1.0.0-15.el8 base 24 k
    548. libnetfilter_cttimeout x86_64 1.0.0-11.el8 base 24 k
    549. libnetfilter_queue x86_64 1.0.2-11.el8 base 30 k
    550. socat x86_64 1.7.3.3-2.el8 AppStream 302 k
    551. Transaction Summary
    552. =================================================================================================================================================
    553. Install 10 Packages
    554. Total download size: 61 M
    555. Installed size: 261 M
    556. Is this ok [y/N]: y
    557. Downloading Packages:
    558. (1/10): libnetfilter_cttimeout-1.0.0-11.el8.x86_64.rpm 70 kB/s | 24 kB 00:00
    559. (2/10): libnetfilter_cthelper-1.0.0-15.el8.x86_64.rpm 47 kB/s | 24 kB 00:00
    560. (3/10): conntrack-tools-1.4.4-10.el8.x86_64.rpm 337 kB/s | 204 kB 00:00
    561. (4/10): libnetfilter_queue-1.0.2-11.el8.x86_64.rpm 63 kB/s | 30 kB 00:00
    562. (5/10): socat-1.7.3.3-2.el8.x86_64.rpm 786 kB/s | 302 kB 00:00
    563. (6/10): d0ba40edfc0fdf3aeec3dd8e56c01ff0d3a511cc0012aabce55d9a83d9bf2b69-kubeadm-1.19.2-0.x86_64.rpm 16 MB/s | 8.3 MB 00:00
    564. (7/10): b1b077555664655ba01b2c68d13239eaf9db1025287d0d9ccaeb4a8850c7a9b7-kubectl-1.19.2-0.x86_64.rpm 4.0 MB/s | 9.0 MB 00:02
    565. (8/10): 14bfe6e75a9efc8eca3f638eb22c7e2ce759c67f95b43b16fae4ebabde1549f3-cri-tools-1.13.0-0.x86_64.rpm 1.2 MB/s | 5.1 MB 00:04
    566. (9/10): db7cb5cb0b3f6875f54d10f02e625573988e3e91fd4fc5eef0b1876bb18604ad-kubernetes-cni-0.8.7-0.x86_64.rpm 3.1 MB/s | 19 MB 00:06
    567. (10/10): d9d997cdbfd6562824eb7786abbc7f4c6a6825662d0f451793aa5ab8c4a85c96-kubelet-1.19.2-0.x86_64.rpm 2.3 MB/s | 19 MB 00:08
    568. -------------------------------------------------------------------------------------------------------------------------------------------------
    569. Total 6.3 MB/s | 61 MB 00:09
    570. warning: /var/cache/dnf/kubernetes-d03a9fe438e18cac/packages/14bfe6e75a9efc8eca3f638eb22c7e2ce759c67f95b43b16fae4ebabde1549f3-cri-tools-1.13.0-0.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 3e1ba8d5: NOKEY
    571. Kubernetes 1.8 kB/s | 1.8 kB 00:01
    572. Importing GPG key 0xA7317B0F:
    573. Userid : "Google Cloud Packages Automatic Signing Key <gc-team@google.com>"
    574. Fingerprint: D0BC 747F D8CA F711 7500 D6FA 3746 C208 A731 7B0F
    575. From : https://mirrors.aliyun.com/kubernetes/yum/doc/yum-key.gpg
    576. Is this ok [y/N]: y
    577. Key imported successfully
    578. Importing GPG key 0xBA07F4FB:
    579. Userid : "Google Cloud Packages Automatic Signing Key <gc-team@google.com>"
    580. Fingerprint: 54A6 47F9 048D 5688 D7DA 2ABE 6A03 0B21 BA07 F4FB
    581. From : https://mirrors.aliyun.com/kubernetes/yum/doc/yum-key.gpg
    582. Is this ok [y/N]: y
    583. Key imported successfully
    584. Kubernetes 32 kB/s | 975 B 00:00
    585. Importing GPG key 0x3E1BA8D5:
    586. Userid : "Google Cloud Packages RPM Signing Key <gc-team@google.com>"
    587. Fingerprint: 3749 E1BA 95A8 6CE0 5454 6ED2 F09C 394C 3E1B A8D5
    588. From : https://mirrors.aliyun.com/kubernetes/yum/doc/rpm-package-key.gpg
    589. Is this ok [y/N]:
    590. Import of key(s) didn't help, wrong key(s)?
    591. Public key for 14bfe6e75a9efc8eca3f638eb22c7e2ce759c67f95b43b16fae4ebabde1549f3-cri-tools-1.13.0-0.x86_64.rpm is not installed. Failing package is: cri-tools-1.13.0-0.x86_64
    592. GPG Keys are configured as: https://mirrors.aliyun.com/kubernetes/yum/doc/yum-key.gpg, https://mirrors.aliyun.com/kubernetes/yum/doc/rpm-package-key.gpg
    593. Public key for d0ba40edfc0fdf3aeec3dd8e56c01ff0d3a511cc0012aabce55d9a83d9bf2b69-kubeadm-1.19.2-0.x86_64.rpm is not installed. Failing package is: kubeadm-1.19.2-0.x86_64
    594. GPG Keys are configured as: https://mirrors.aliyun.com/kubernetes/yum/doc/yum-key.gpg, https://mirrors.aliyun.com/kubernetes/yum/doc/rpm-package-key.gpg
    595. Public key for b1b077555664655ba01b2c68d13239eaf9db1025287d0d9ccaeb4a8850c7a9b7-kubectl-1.19.2-0.x86_64.rpm is not installed. Failing package is: kubectl-1.19.2-0.x86_64
    596. GPG Keys are configured as: https://mirrors.aliyun.com/kubernetes/yum/doc/yum-key.gpg, https://mirrors.aliyun.com/kubernetes/yum/doc/rpm-package-key.gpg
    597. Public key for d9d997cdbfd6562824eb7786abbc7f4c6a6825662d0f451793aa5ab8c4a85c96-kubelet-1.19.2-0.x86_64.rpm is not installed. Failing package is: kubelet-1.19.2-0.x86_64
    598. GPG Keys are configured as: https://mirrors.aliyun.com/kubernetes/yum/doc/yum-key.gpg, https://mirrors.aliyun.com/kubernetes/yum/doc/rpm-package-key.gpg
    599. Public key for db7cb5cb0b3f6875f54d10f02e625573988e3e91fd4fc5eef0b1876bb18604ad-kubernetes-cni-0.8.7-0.x86_64.rpm is not installed. Failing package is: kubernetes-cni-0.8.7-0.x86_64
    600. GPG Keys are configured as: https://mirrors.aliyun.com/kubernetes/yum/doc/yum-key.gpg, https://mirrors.aliyun.com/kubernetes/yum/doc/rpm-package-key.gpg
    601. The downloaded packages were saved in cache until the next successful transaction.
    602. You can remove cached packages by executing 'yum clean packages'.
    603. Error: GPG check FAILED
    604. [root@10-0-9-52 yum.repos.d]# yum install kubectl kubelet kubeadm
    605. Last metadata expiration check: 0:00:21 ago on Fri 09 Oct 2020 10:44:17 PM HKT.
    606. Dependencies resolved.
    607. =================================================================================================================================================
    608. Package Architecture Version Repository Size
    609. =================================================================================================================================================
    610. Installing:
    611. kubeadm x86_64 1.19.2-0 kubernetes 8.3 M
    612. kubectl x86_64 1.19.2-0 kubernetes 9.0 M
    613. kubelet x86_64 1.19.2-0 kubernetes 19 M
    614. Installing dependencies:
    615. conntrack-tools x86_64 1.4.4-10.el8 base 204 k
    616. cri-tools x86_64 1.13.0-0 kubernetes 5.1 M
    617. kubernetes-cni x86_64 0.8.7-0 kubernetes 19 M
    618. libnetfilter_cthelper x86_64 1.0.0-15.el8 base 24 k
    619. libnetfilter_cttimeout x86_64 1.0.0-11.el8 base 24 k
    620. libnetfilter_queue x86_64 1.0.2-11.el8 base 30 k
    621. socat x86_64 1.7.3.3-2.el8 AppStream 302 k
    622. Transaction Summary
    623. =================================================================================================================================================
    624. Install 10 Packages
    625. Total size: 61 M
    626. Installed size: 261 M
    627. Is this ok [y/N]: y
    628. Downloading Packages:
    629. [SKIPPED] conntrack-tools-1.4.4-10.el8.x86_64.rpm: Already downloaded
    630. [SKIPPED] libnetfilter_cthelper-1.0.0-15.el8.x86_64.rpm: Already downloaded
    631. [SKIPPED] libnetfilter_cttimeout-1.0.0-11.el8.x86_64.rpm: Already downloaded
    632. [SKIPPED] libnetfilter_queue-1.0.2-11.el8.x86_64.rpm: Already downloaded
    633. [SKIPPED] socat-1.7.3.3-2.el8.x86_64.rpm: Already downloaded
    634. [SKIPPED] 14bfe6e75a9efc8eca3f638eb22c7e2ce759c67f95b43b16fae4ebabde1549f3-cri-tools-1.13.0-0.x86_64.rpm: Already downloaded
    635. [SKIPPED] d0ba40edfc0fdf3aeec3dd8e56c01ff0d3a511cc0012aabce55d9a83d9bf2b69-kubeadm-1.19.2-0.x86_64.rpm: Already downloaded
    636. [SKIPPED] b1b077555664655ba01b2c68d13239eaf9db1025287d0d9ccaeb4a8850c7a9b7-kubectl-1.19.2-0.x86_64.rpm: Already downloaded
    637. [SKIPPED] d9d997cdbfd6562824eb7786abbc7f4c6a6825662d0f451793aa5ab8c4a85c96-kubelet-1.19.2-0.x86_64.rpm: Already downloaded
    638. [SKIPPED] db7cb5cb0b3f6875f54d10f02e625573988e3e91fd4fc5eef0b1876bb18604ad-kubernetes-cni-0.8.7-0.x86_64.rpm: Already downloaded
    639. warning: /var/cache/dnf/kubernetes-d03a9fe438e18cac/packages/14bfe6e75a9efc8eca3f638eb22c7e2ce759c67f95b43b16fae4ebabde1549f3-cri-tools-1.13.0-0.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 3e1ba8d5: NOKEY
    640. Kubernetes 54 kB/s | 1.8 kB 00:00
    641. GPG key at https://mirrors.aliyun.com/kubernetes/yum/doc/yum-key.gpg (0xA7317B0F) is already installed
    642. GPG key at https://mirrors.aliyun.com/kubernetes/yum/doc/yum-key.gpg (0xBA07F4FB) is already installed
    643. Kubernetes 43 kB/s | 975 B 00:00
    644. Importing GPG key 0x3E1BA8D5:
    645. Userid : "Google Cloud Packages RPM Signing Key <gc-team@google.com>"
    646. Fingerprint: 3749 E1BA 95A8 6CE0 5454 6ED2 F09C 394C 3E1B A8D5
    647. From : https://mirrors.aliyun.com/kubernetes/yum/doc/rpm-package-key.gpg
    648. Is this ok [y/N]: y
    649. Key imported successfully
    650. Running transaction check
    651. Transaction check succeeded.
    652. Running transaction test
    653. Transaction test succeeded.
    654. Running transaction
    655. Preparing : 1/1
    656. Installing : kubectl-1.19.2-0.x86_64 1/10
    657. Installing : cri-tools-1.13.0-0.x86_64 2/10
    658. Installing : socat-1.7.3.3-2.el8.x86_64 3/10
    659. Installing : libnetfilter_queue-1.0.2-11.el8.x86_64 4/10
    660. Running scriptlet: libnetfilter_queue-1.0.2-11.el8.x86_64 4/10
    661. Installing : libnetfilter_cttimeout-1.0.0-11.el8.x86_64 5/10
    662. Running scriptlet: libnetfilter_cttimeout-1.0.0-11.el8.x86_64 5/10
    663. Installing : libnetfilter_cthelper-1.0.0-15.el8.x86_64 6/10
    664. Running scriptlet: libnetfilter_cthelper-1.0.0-15.el8.x86_64 6/10
    665. Installing : conntrack-tools-1.4.4-10.el8.x86_64 7/10
    666. Running scriptlet: conntrack-tools-1.4.4-10.el8.x86_64 7/10
    667. Installing : kubernetes-cni-0.8.7-0.x86_64 8/10
    668. Installing : kubelet-1.19.2-0.x86_64 9/10
    669. Installing : kubeadm-1.19.2-0.x86_64 10/10
    670. Running scriptlet: kubeadm-1.19.2-0.x86_64 10/10
    671. Verifying : conntrack-tools-1.4.4-10.el8.x86_64 1/10
    672. Verifying : libnetfilter_cthelper-1.0.0-15.el8.x86_64 2/10
    673. Verifying : libnetfilter_cttimeout-1.0.0-11.el8.x86_64 3/10
    674. Verifying : libnetfilter_queue-1.0.2-11.el8.x86_64 4/10
    675. Verifying : socat-1.7.3.3-2.el8.x86_64 5/10
    676. Verifying : cri-tools-1.13.0-0.x86_64 6/10
    677. Verifying : kubeadm-1.19.2-0.x86_64 7/10
    678. Verifying : kubectl-1.19.2-0.x86_64 8/10
    679. Verifying : kubelet-1.19.2-0.x86_64 9/10
    680. Verifying : kubernetes-cni-0.8.7-0.x86_64 10/10
    681. Installed:
    682. conntrack-tools-1.4.4-10.el8.x86_64 cri-tools-1.13.0-0.x86_64 kubeadm-1.19.2-0.x86_64
    683. kubectl-1.19.2-0.x86_64 kubelet-1.19.2-0.x86_64 kubernetes-cni-0.8.7-0.x86_64
    684. libnetfilter_cthelper-1.0.0-15.el8.x86_64 libnetfilter_cttimeout-1.0.0-11.el8.x86_64 libnetfilter_queue-1.0.2-11.el8.x86_64
    685. socat-1.7.3.3-2.el8.x86_64
    686. Complete!
    687. [root@10-0-9-52 yum.repos.d]#
    688. [root@10-0-9-52 yum.repos.d]# systemctl enable kubelet
    689. Created symlink /etc/systemd/system/multi-user.target.wants/kubelet.service → /usr/lib/systemd/system/kubelet.service.
    690. [root@10-0-9-52 yum.repos.d]# systemctl enable docker
    691. Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /usr/lib/systemd/system/docker.service.
    692. [root@10-0-9-52 yum.repos.d]# kubeadm init --kubernetes-version=1.18.6 \
    693. > > --apiserver-advertise-address=10.0.9.52 \
    694. > > --image-repository registry.aliyuncs.com/google_containers \
    695. > > --service-cidr=10.10.0.0/16 --pod-network-cidr=192.168.0.0/16
    696. -bash: --service-cidr=10.10.0.0/16: No such file or directory
    697. [root@10-0-9-52 yum.repos.d]# kubeadm init --kubernetes-version=1.18.6 --apiserver-advertise-address=10.0.9.52 --image-repository registry.aliyuncs.com/google_containers --service-cidr=10.10.0.0/16 --pod-network-cidr=192.168.0.0/16
    698. W1009 22:45:51.175457 46476 kubelet.go:200] cannot automatically set CgroupDriver when starting the Kubelet: cannot execute 'docker info -f {{.CgroupDriver}}': exit status 2
    699. W1009 22:45:51.184414 46476 configset.go:348] WARNING: kubeadm cannot validate component configs for API groups [kubelet.config.k8s.io kubeproxy.config.k8s.io]
    700. [init] Using Kubernetes version: v1.18.6
    701. [preflight] Running pre-flight checks
    702. [WARNING FileExisting-tc]: tc not found in system path
    703. [preflight] The system verification failed. Printing the output from the verification:
    704. KERNEL_VERSION: 4.18.0-147.5.1.el8_1.x86_64
    705. CONFIG_NAMESPACES: enabled
    706. CONFIG_NET_NS: enabled
    707. CONFIG_PID_NS: enabled
    708. CONFIG_IPC_NS: enabled
    709. CONFIG_UTS_NS: enabled
    710. CONFIG_CGROUPS: enabled
    711. CONFIG_CGROUP_CPUACCT: enabled
    712. CONFIG_CGROUP_DEVICE: enabled
    713. CONFIG_CGROUP_FREEZER: enabled
    714. CONFIG_CGROUP_SCHED: enabled
    715. CONFIG_CPUSETS: enabled
    716. CONFIG_MEMCG: enabled
    717. CONFIG_INET: enabled
    718. CONFIG_EXT4_FS: enabled (as module)
    719. CONFIG_PROC_FS: enabled
    720. CONFIG_NETFILTER_XT_TARGET_REDIRECT: enabled (as module)
    721. CONFIG_NETFILTER_XT_MATCH_COMMENT: enabled (as module)
    722. CONFIG_OVERLAY_FS: enabled (as module)
    723. CONFIG_AUFS_FS: not set - Required for aufs.
    724. CONFIG_BLK_DEV_DM: enabled (as module)
    725. OS: Linux
    726. CGROUPS_CPU: enabled
    727. CGROUPS_CPUACCT: enabled
    728. CGROUPS_CPUSET: enabled
    729. CGROUPS_DEVICES: enabled
    730. CGROUPS_FREEZER: enabled
    731. CGROUPS_MEMORY: enabled
    732. CGROUPS_HUGETLB: enabled
    733. CGROUPS_PIDS: enabled
    734. error execution phase preflight: [preflight] Some fatal errors occurred:
    735. [ERROR CRI]: container runtime is not running: output: Client:
    736. Debug Mode: false
    737. Server:
    738. ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
    739. errors pretty printing info
    740. , error: exit status 1
    741. [ERROR Service-Docker]: docker service is not active, please run 'systemctl start docker.service'
    742. [ERROR IsDockerSystemdCheck]: cannot execute 'docker info -f {{.CgroupDriver}}': exit status 2
    743. [ERROR FileContent--proc-sys-net-bridge-bridge-nf-call-iptables]: /proc/sys/net/bridge/bridge-nf-call-iptables does not exist
    744. [ERROR FileContent--proc-sys-net-ipv4-ip_forward]: /proc/sys/net/ipv4/ip_forward contents are not set to 1
    745. [ERROR SystemVerification]: error verifying Docker info: "Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"
    746. [ERROR KubeletVersion]: the kubelet version is higher than the control plane version. This is not a supported version skew and may lead to a malfunctional cluster. Kubelet version: "1.19.2" Control plane version: "1.18.6"
    747. [ERROR DirAvailable--var-lib-etcd]: /var/lib/etcd is not empty
    748. [preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
    749. To see the stack trace of this error execute with --v=5 or higher
    750. [root@10-0-9-52 yum.repos.d]# systemctl start docker
    751. [root@10-0-9-52 yum.repos.d]#
    752. [root@10-0-9-52 yum.repos.d]# kubeadm init --kubernetes-version=1.18.6 --apiserver-advertise-address=10.0.9.52 --image-repository registry.aliyuncs.com/google_containers --service-cidr=10.10.0.0/16 --pod-network-cidr=192.168.0.0/16
    753. W1009 22:46:07.053097 47249 configset.go:348] WARNING: kubeadm cannot validate component configs for API groups [kubelet.config.k8s.io kubeproxy.config.k8s.io]
    754. [init] Using Kubernetes version: v1.18.6
    755. [preflight] Running pre-flight checks
    756. [WARNING IsDockerSystemdCheck]: detected "cgroupfs" as the Docker cgroup driver. The recommended driver is "systemd". Please follow the guide at https://kubernetes.io/docs/setup/cri/
    757. [WARNING FileExisting-tc]: tc not found in system path
    758. error execution phase preflight: [preflight] Some fatal errors occurred:
    759. [ERROR KubeletVersion]: the kubelet version is higher than the control plane version. This is not a supported version skew and may lead to a malfunctional cluster. Kubelet version: "1.19.2" Control plane version: "1.18.6"
    760. [ERROR DirAvailable--var-lib-etcd]: /var/lib/etcd is not empty
    761. [preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
    762. To see the stack trace of this error execute with --v=5 or higher
    763. [root@10-0-9-52 yum.repos.d]# kubeadm init --kubernetes-version=1.19.2 --apiserver-advertise-address=10.0.9.52 --image-repository registry.aliyuncs.com/google_containers --service-cidr=10.10.0.0/16 --pod-network-cidr=192.168.0.0/16
    764. W1009 22:46:34.391314 47392 configset.go:348] WARNING: kubeadm cannot validate component configs for API groups [kubelet.config.k8s.io kubeproxy.config.k8s.io]
    765. [init] Using Kubernetes version: v1.19.2
    766. [preflight] Running pre-flight checks
    767. [WARNING IsDockerSystemdCheck]: detected "cgroupfs" as the Docker cgroup driver. The recommended driver is "systemd". Please follow the guide at https://kubernetes.io/docs/setup/cri/
    768. [WARNING FileExisting-tc]: tc not found in system path
    769. error execution phase preflight: [preflight] Some fatal errors occurred:
    770. [ERROR DirAvailable--var-lib-etcd]: /var/lib/etcd is not empty
    771. [preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
    772. To see the stack trace of this error execute with --v=5 or higher
    773. [root@10-0-9-52 yum.repos.d]#
    774. [root@10-0-9-52 yum.repos.d]#
    775. [root@10-0-9-52 yum.repos.d]# kubeadm init --kubernetes-version=1.19.2 --apiserver-advertise-address=10.0.9.52 --image-repository registry.aliyuncs.com/google_containers --service-cidr=10.10.0.0/16 --pod-network-cidr=192.168.0.0/16 --ignore-preflight-errors=DirAvailable--var-lib-etcd
    776. W1009 22:47:53.700013 47552 configset.go:348] WARNING: kubeadm cannot validate component configs for API groups [kubelet.config.k8s.io kubeproxy.config.k8s.io]
    777. [init] Using Kubernetes version: v1.19.2
    778. [preflight] Running pre-flight checks
    779. [WARNING IsDockerSystemdCheck]: detected "cgroupfs" as the Docker cgroup driver. The recommended driver is "systemd". Please follow the guide at https://kubernetes.io/docs/setup/cri/
    780. [WARNING FileExisting-tc]: tc not found in system path
    781. [WARNING DirAvailable--var-lib-etcd]: /var/lib/etcd is not empty
    782. [preflight] Pulling images required for setting up a Kubernetes cluster
    783. [preflight] This might take a minute or two, depending on the speed of your internet connection
    784. [preflight] You can also perform this action in beforehand using 'kubeadm config images pull'
    785. ^C
    786. [root@10-0-9-52 yum.repos.d]# kubeadm init --kubernetes-version=1.19.2 --apiserver-advertise-address=10.0.9.52 --image-repository registry.aliyuncs.com/google_containers --service-cidr=10.10.0.0/16 --pod-network-cidr=192.168.0.0/16 --ignore-preflight-errors=DirAvailable--var-lib-etcd
    787. W1009 22:48:43.561870 47856 configset.go:348] WARNING: kubeadm cannot validate component configs for API groups [kubelet.config.k8s.io kubeproxy.config.k8s.io]
    788. [init] Using Kubernetes version: v1.19.2
    789. [preflight] Running pre-flight checks
    790. [WARNING IsDockerSystemdCheck]: detected "cgroupfs" as the Docker cgroup driver. The recommended driver is "systemd". Please follow the guide at https://kubernetes.io/docs/setup/cri/
    791. [WARNING FileExisting-tc]: tc not found in system path
    792. [WARNING DirAvailable--var-lib-etcd]: /var/lib/etcd is not empty
    793. [preflight] Pulling images required for setting up a Kubernetes cluster
    794. [preflight] This might take a minute or two, depending on the speed of your internet connection
    795. [preflight] You can also perform this action in beforehand using 'kubeadm config images pull'
    796. [certs] Using certificateDir folder "/etc/kubernetes/pki"
    797. [certs] Generating "ca" certificate and key
    798. [certs] Generating "apiserver" certificate and key
    799. [certs] apiserver serving cert is signed for DNS names [10-0-9-52 kubernetes kubernetes.default kubernetes.default.svc kubernetes.default.svc.cluster.local] and IPs [10.10.0.1 10.0.9.52]
    800. [certs] Generating "apiserver-kubelet-client" certificate and key
    801. [certs] Generating "front-proxy-ca" certificate and key
    802. [certs] Generating "front-proxy-client" certificate and key
    803. [certs] Generating "etcd/ca" certificate and key
    804. [certs] Generating "etcd/server" certificate and key
    805. [certs] etcd/server serving cert is signed for DNS names [10-0-9-52 localhost] and IPs [10.0.9.52 127.0.0.1 ::1]
    806. [certs] Generating "etcd/peer" certificate and key
    807. [certs] etcd/peer serving cert is signed for DNS names [10-0-9-52 localhost] and IPs [10.0.9.52 127.0.0.1 ::1]
    808. [certs] Generating "etcd/healthcheck-client" certificate and key
    809. [certs] Generating "apiserver-etcd-client" certificate and key
    810. [certs] Generating "sa" key and public key
    811. [kubeconfig] Using kubeconfig folder "/etc/kubernetes"
    812. [kubeconfig] Writing "admin.conf" kubeconfig file
    813. [kubeconfig] Writing "kubelet.conf" kubeconfig file
    814. [kubeconfig] Writing "controller-manager.conf" kubeconfig file
    815. [kubeconfig] Writing "scheduler.conf" kubeconfig file
    816. [kubelet-start] Writing kubelet environment file with flags to file "/var/lib/kubelet/kubeadm-flags.env"
    817. [kubelet-start] Writing kubelet configuration to file "/var/lib/kubelet/config.yaml"
    818. [kubelet-start] Starting the kubelet
    819. [control-plane] Using manifest folder "/etc/kubernetes/manifests"
    820. [control-plane] Creating static Pod manifest for "kube-apiserver"
    821. [control-plane] Creating static Pod manifest for "kube-controller-manager"
    822. [control-plane] Creating static Pod manifest for "kube-scheduler"
    823. [etcd] Creating static Pod manifest for local etcd in "/etc/kubernetes/manifests"
    824. [wait-control-plane] Waiting for the kubelet to boot up the control plane as static Pods from directory "/etc/kubernetes/manifests". This can take up to 4m0s
    825. [kubelet-check] Initial timeout of 40s passed.
    826. [apiclient] All control plane components are healthy after 199.004508 seconds
    827. [upload-config] Storing the configuration used in ConfigMap "kubeadm-config" in the "kube-system" Namespace
    828. [kubelet] Creating a ConfigMap "kubelet-config-1.19" in namespace kube-system with the configuration for the kubelets in the cluster
    829. [upload-certs] Skipping phase. Please see --upload-certs
    830. [mark-control-plane] Marking the node 10-0-9-52 as control-plane by adding the label "node-role.kubernetes.io/master=''"
    831. [mark-control-plane] Marking the node 10-0-9-52 as control-plane by adding the taints [node-role.kubernetes.io/master:NoSchedule]
    832. [bootstrap-token] Using token: mfpux5.i4tf8rwol236meum
    833. [bootstrap-token] Configuring bootstrap tokens, cluster-info ConfigMap, RBAC Roles
    834. [bootstrap-token] configured RBAC rules to allow Node Bootstrap tokens to get nodes
    835. [bootstrap-token] configured RBAC rules to allow Node Bootstrap tokens to post CSRs in order for nodes to get long term certificate credentials
    836. [bootstrap-token] configured RBAC rules to allow the csrapprover controller automatically approve CSRs from a Node Bootstrap Token
    837. [bootstrap-token] configured RBAC rules to allow certificate rotation for all node client certificates in the cluster
    838. [bootstrap-token] Creating the "cluster-info" ConfigMap in the "kube-public" namespace
    839. [kubelet-finalize] Updating "/etc/kubernetes/kubelet.conf" to point to a rotatable kubelet client certificate and key
    840. [addons] Applied essential addon: CoreDNS
    841. [addons] Applied essential addon: kube-proxy
    842. Your Kubernetes control-plane has initialized successfully!
    843. To start using your cluster, you need to run the following as a regular user:
    844. mkdir -p $HOME/.kube
    845. sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
    846. sudo chown $(id -u):$(id -g) $HOME/.kube/config
    847. You should now deploy a pod network to the cluster.
    848. Run "kubectl apply -f [podnetwork].yaml" with one of the options listed at:
    849. https://kubernetes.io/docs/concepts/cluster-administration/addons/
    850. Then you can join any number of worker nodes by running the following on each as root:
    851. kubeadm join 10.0.9.52:6443 --token mfpux5.i4tf8rwol236meum \
    852. --discovery-token-ca-cert-hash sha256:4e464c499e924c279ba7a3215fb718e4b5c71af7974f7dd83aeb997c8812401e