ubuntu 20.04 sealos 私有化部署

root@ubuntu:~# curl --silent "https://api.github.com/repos/labring/sealos/releases" | jq -r '.[].tag_name'

Command 'jq' not found, but can be installed with:

snap install jq  # version 1.5+dfsg-1, or
apt  install jq  # version 1.6-1ubuntu0.20.04.1

See 'snap info jq' for additional versions.

root@ubuntu:~# apt install jq -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libjq1 libonig5
The following NEW packages will be installed:
  jq libjq1 libonig5
0 upgraded, 3 newly installed, 0 to remove and 47 not upgraded.
Need to get 313 kB of archives.
After this operation, 1,062 kB of additional disk space will be used.
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libonig5 amd64 6.9.4-1 [142 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 libjq1 amd64 1.6-1ubuntu0.20.04.1 [121 kB]
Get:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 jq amd64 1.6-1ubuntu0.20.04.1 [50.2 kB]
Fetched 313 kB in 1s (339 kB/s)
Selecting previously unselected package libonig5:amd64.
(Reading database ... 72315 files and directories currently installed.)
Preparing to unpack .../libonig5_6.9.4-1_amd64.deb ...
Unpacking libonig5:amd64 (6.9.4-1) ...
Selecting previously unselected package libjq1:amd64.
Preparing to unpack .../libjq1_1.6-1ubuntu0.20.04.1_amd64.deb ...
Unpacking libjq1:amd64 (1.6-1ubuntu0.20.04.1) ...
Selecting previously unselected package jq.
Preparing to unpack .../jq_1.6-1ubuntu0.20.04.1_amd64.deb ...
Unpacking jq (1.6-1ubuntu0.20.04.1) ...
Setting up libonig5:amd64 (6.9.4-1) ...
Setting up libjq1:amd64 (1.6-1ubuntu0.20.04.1) ...
Setting up jq (1.6-1ubuntu0.20.04.1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
root@ubuntu:~# apt install jq -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
jq is already the newest version (1.6-1ubuntu0.20.04.1).
0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
root@ubuntu:~# curl --silent "https://api.github.com/repos/labring/sealos/releases" | jq -r '.[].tag_name'
v4.3.4
v4.4.0-alpha3
v4.4.0-alpha1
v4.3.3
v4.3.2
v4.3.1
v4.3.1-rc2
v4.3.1-rc1
v4.3.0
v4.3.0-rc1
v4.2.3
v4.2.2
v5.0.0-alpha1
v4.2.1
v4.2.1-rc6
v4.2.1-rc5
v4.2.1-rc4
v4.2.1-rc3
v4.2.1-rc1
v4.2.0
v4.2.0-alpha3
v4.2.0-alpha2
v4.2.0-alpha1
v4.1.7
v4.1.6
v4.1.5
v4.1.5-rc3
v4.1.5-rc2
v4.1.5-rc1
v4.1.5-alpha2
root@ubuntu:~# echo "deb [trusted=yes] https://apt.fury.io/labring/ /" | sudo tee /etc/apt/sources.list.d/labring.list
deb [trusted=yes] https://apt.fury.io/labring/ /
root@ubuntu:~#
root@ubuntu:~# sudo apt update && sudo apt install sealos
Get:1 file:/cdrom focal InRelease
Ign:1 file:/cdrom focal InRelease
Get:2 file:/cdrom focal Release
Err:2 file:/cdrom focal Release
  File not found - /cdrom/dists/focal/Release (2: No such file or directory)
Hit:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal InRelease
Get:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main Translation-en [506 kB]
Get:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates InRelease [114 kB]
Get:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports InRelease [108 kB]
Get:7 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/restricted Translation-en [6,212 B]
Get:8 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe Translation-en [5,124 kB]
Get:10 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse Translation-en [104 kB]
Get:9 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRelease [114 kB]
Get:11 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main amd64 Packages [2,855 kB]
Ign:12 https://apt.fury.io/labring  InRelease
Get:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main Translation-en [469 kB]
Get:14 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main amd64 c-n-f Metadata [17.1 kB]
Get:15 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/restricted amd64 Packages [2,330 kB]
Ign:16 https://apt.fury.io/labring  Release
Get:17 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/restricted Translation-en [325 kB]
Get:18 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 Packages [1,117 kB]
Ign:19 https://apt.fury.io/labring  Packages
Get:20 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe Translation-en [267 kB]
Get:21 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 c-n-f Metadata [25.6 kB]
Get:22 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/multiverse amd64 Packages [25.8 kB]
Get:23 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/multiverse Translation-en [7,484 B]
Get:24 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/main Translation-en [16.3 kB]
Get:25 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/universe Translation-en [16.3 kB]
Get:26 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/main amd64 Packages [2,465 kB]
Ign:27 https://apt.fury.io/labring  Translation-en_US
Get:28 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/main Translation-en [386 kB]
Get:29 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/restricted Translation-en [309 kB]
Get:30 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/universe amd64 Packages [886 kB]
Ign:31 https://apt.fury.io/labring  Translation-en
Get:32 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/universe Translation-en [186 kB]
Get:33 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/universe amd64 c-n-f Metadata [19.1 kB]
Get:34 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/multiverse Translation-en [5,504 B]
Get:19 https://apt.fury.io/labring  Packages
Ign:27 https://apt.fury.io/labring  Translation-en_US
Ign:31 https://apt.fury.io/labring  Translation-en
Ign:27 https://apt.fury.io/labring  Translation-en_US
Ign:31 https://apt.fury.io/labring  Translation-en
Ign:27 https://apt.fury.io/labring  Translation-en_US
Ign:31 https://apt.fury.io/labring  Translation-en
Ign:27 https://apt.fury.io/labring  Translation-en_US
Ign:31 https://apt.fury.io/labring  Translation-en
Ign:27 https://apt.fury.io/labring  Translation-en_US
Ign:31 https://apt.fury.io/labring  Translation-en
Ign:27 https://apt.fury.io/labring  Translation-en_US
Ign:31 https://apt.fury.io/labring  Translation-en
Reading package lists... Done
E: The repository 'file:/cdrom focal Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@ubuntu:~# echo "deb [trusted=yes] https://apt.fury.io/labring/ /" | sudo tee /etc/apt/sources.list.d/labring.list
deb [trusted=yes] https://apt.fury.io/labring/ /
root@ubuntu:~# echo "deb [trusted=yes] https://apt.fury.io/labring/ /" | sudo tee /etc/apt/sources.list.d/labring.list
deb [trusted=yes] https://apt.fury.io/labring/ /
root@ubuntu:~# sudo apt update && sudo apt install sealos
Get:1 file:/cdrom focal InRelease
Ign:1 file:/cdrom focal InRelease
Get:2 file:/cdrom focal Release
Err:2 file:/cdrom focal Release
  File not found - /cdrom/dists/focal/Release (2: No such file or directory)
Hit:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal InRelease
Hit:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates InRelease
Hit:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports InRelease
Hit:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRelease
Ign:7 https://apt.fury.io/labring  InRelease
Ign:8 https://apt.fury.io/labring  Release
Ign:9 https://apt.fury.io/labring  Packages
Ign:10 https://apt.fury.io/labring  Translation-en_US
Ign:11 https://apt.fury.io/labring  Translation-en
Get:9 https://apt.fury.io/labring  Packages
Ign:10 https://apt.fury.io/labring  Translation-en_US
Ign:11 https://apt.fury.io/labring  Translation-en
Ign:10 https://apt.fury.io/labring  Translation-en_US
Ign:11 https://apt.fury.io/labring  Translation-en
Ign:10 https://apt.fury.io/labring  Translation-en_US
Ign:11 https://apt.fury.io/labring  Translation-en
Ign:10 https://apt.fury.io/labring  Translation-en_US
Ign:11 https://apt.fury.io/labring  Translation-en
Ign:10 https://apt.fury.io/labring  Translation-en_US
Ign:11 https://apt.fury.io/labring  Translation-en
Ign:10 https://apt.fury.io/labring  Translation-en_US
Ign:11 https://apt.fury.io/labring  Translation-en
Reading package lists... Done
E: The repository 'file:/cdrom focal Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@ubuntu:~#   cp /etc/apt/sources.list /etc/apt/sources.list.bak
root@ubuntu:~# vi /etc/apt/sources.list
root@ubuntu:~# sudo apt update && sudo apt install sealos
Get:1 http://mirrors.aliyun.com/ubuntu focal InRelease [265 kB]
Get:4 http://mirrors.aliyun.com/ubuntu focal-security InRelease [114 kB]
Hit:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal InRelease
Hit:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates InRelease
Get:6 http://mirrors.aliyun.com/ubuntu focal-updates InRelease [114 kB]
Hit:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports InRelease
Get:7 http://mirrors.aliyun.com/ubuntu focal-proposed InRelease [267 kB]
Get:8 http://mirrors.aliyun.com/ubuntu focal-backports InRelease [108 kB]
Get:9 http://mirrors.aliyun.com/ubuntu focal/restricted Sources [6,472 B]
Get:10 http://mirrors.aliyun.com/ubuntu focal/main Sources [847 kB]
Hit:11 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRelease
Ign:12 https://apt.fury.io/labring  InRelease
Get:13 http://mirrors.aliyun.com/ubuntu focal/multiverse Sources [174 kB]
Get:14 http://mirrors.aliyun.com/ubuntu focal/universe Sources [9,707 kB]
Ign:15 https://apt.fury.io/labring  Release
Ign:16 https://apt.fury.io/labring  Packages
Ign:17 https://apt.fury.io/labring  Translation-en_US
Ign:18 https://apt.fury.io/labring  Translation-en
Get:16 https://apt.fury.io/labring  Packages
Ign:17 https://apt.fury.io/labring  Translation-en_US
Ign:18 https://apt.fury.io/labring  Translation-en
Ign:17 https://apt.fury.io/labring  Translation-en_US
Get:19 http://mirrors.aliyun.com/ubuntu focal/main amd64 Packages [970 kB]
Ign:18 https://apt.fury.io/labring  Translation-en
Get:20 http://mirrors.aliyun.com/ubuntu focal/main Translation-en [506 kB]
Ign:17 https://apt.fury.io/labring  Translation-en_US
Get:21 http://mirrors.aliyun.com/ubuntu focal/main amd64 c-n-f Metadata [29.5 kB]
Get:22 http://mirrors.aliyun.com/ubuntu focal/restricted amd64 Packages [22.0 kB]
Ign:18 https://apt.fury.io/labring  Translation-en
Get:23 http://mirrors.aliyun.com/ubuntu focal/restricted Translation-en [6,212 B]
Ign:17 https://apt.fury.io/labring  Translation-en_US
Get:24 http://mirrors.aliyun.com/ubuntu focal/restricted amd64 c-n-f Metadata [392 B]
Get:25 http://mirrors.aliyun.com/ubuntu focal/universe amd64 Packages [8,628 kB]
Ign:18 https://apt.fury.io/labring  Translation-en
Ign:17 https://apt.fury.io/labring  Translation-en_US
Ign:18 https://apt.fury.io/labring  Translation-en
Ign:17 https://apt.fury.io/labring  Translation-en_US
Ign:18 https://apt.fury.io/labring  Translation-en
Get:26 http://mirrors.aliyun.com/ubuntu focal/universe Translation-en [5,124 kB]
Get:27 http://mirrors.aliyun.com/ubuntu focal/universe amd64 c-n-f Metadata [265 kB]
Get:28 http://mirrors.aliyun.com/ubuntu focal/multiverse amd64 Packages [144 kB]
Get:29 http://mirrors.aliyun.com/ubuntu focal/multiverse Translation-en [104 kB]
Get:30 http://mirrors.aliyun.com/ubuntu focal/multiverse amd64 c-n-f Metadata [9,136 B]
Get:31 http://mirrors.aliyun.com/ubuntu focal-security/main Sources [295 kB]
Get:32 http://mirrors.aliyun.com/ubuntu focal-security/multiverse Sources [13.8 kB]
Get:33 http://mirrors.aliyun.com/ubuntu focal-security/restricted Sources [54.1 kB]
Get:34 http://mirrors.aliyun.com/ubuntu focal-security/universe Sources [196 kB]
Get:35 http://mirrors.aliyun.com/ubuntu focal-security/main amd64 Packages [2,465 kB]
Get:36 http://mirrors.aliyun.com/ubuntu focal-security/main Translation-en [386 kB]
Get:37 http://mirrors.aliyun.com/ubuntu focal-security/main amd64 c-n-f Metadata [13.2 kB]
Get:38 http://mirrors.aliyun.com/ubuntu focal-security/restricted amd64 Packages [2,218 kB]
Get:39 http://mirrors.aliyun.com/ubuntu focal-security/restricted Translation-en [309 kB]
Get:40 http://mirrors.aliyun.com/ubuntu focal-security/restricted amd64 c-n-f Metadata [572 B]
Get:41 http://mirrors.aliyun.com/ubuntu focal-security/universe amd64 Packages [886 kB]
Get:42 http://mirrors.aliyun.com/ubuntu focal-security/universe Translation-en [186 kB]
Get:43 http://mirrors.aliyun.com/ubuntu focal-security/universe amd64 c-n-f Metadata [19.1 kB]
Get:44 http://mirrors.aliyun.com/ubuntu focal-security/multiverse amd64 Packages [23.6 kB]
Get:45 http://mirrors.aliyun.com/ubuntu focal-security/multiverse Translation-en [5,504 B]
Get:46 http://mirrors.aliyun.com/ubuntu focal-security/multiverse amd64 c-n-f Metadata [548 B]
Get:47 http://mirrors.aliyun.com/ubuntu focal-updates/universe Sources [348 kB]
Get:48 http://mirrors.aliyun.com/ubuntu focal-updates/main Sources [577 kB]
Get:49 http://mirrors.aliyun.com/ubuntu focal-updates/restricted Sources [54.2 kB]
Get:50 http://mirrors.aliyun.com/ubuntu focal-updates/multiverse Sources [24.3 kB]
Get:51 http://mirrors.aliyun.com/ubuntu focal-updates/main amd64 Packages [2,855 kB]
Get:52 http://mirrors.aliyun.com/ubuntu focal-updates/main Translation-en [469 kB]
Get:53 http://mirrors.aliyun.com/ubuntu focal-updates/main amd64 c-n-f Metadata [17.1 kB]
Get:54 http://mirrors.aliyun.com/ubuntu focal-updates/restricted amd64 Packages [2,330 kB]
Get:55 http://mirrors.aliyun.com/ubuntu focal-updates/restricted Translation-en [325 kB]
Get:56 http://mirrors.aliyun.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [572 B]
Get:57 http://mirrors.aliyun.com/ubuntu focal-updates/universe amd64 Packages [1,117 kB]
Get:58 http://mirrors.aliyun.com/ubuntu focal-updates/universe Translation-en [267 kB]
Get:59 http://mirrors.aliyun.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [25.6 kB]
Get:60 http://mirrors.aliyun.com/ubuntu focal-updates/multiverse amd64 Packages [25.8 kB]
Get:61 http://mirrors.aliyun.com/ubuntu focal-updates/multiverse Translation-en [7,484 B]
Get:62 http://mirrors.aliyun.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [620 B]
Get:63 http://mirrors.aliyun.com/ubuntu focal-proposed/universe Sources [15.0 kB]
Get:64 http://mirrors.aliyun.com/ubuntu focal-proposed/restricted Sources [24.2 kB]
Get:65 http://mirrors.aliyun.com/ubuntu focal-proposed/main Sources [56.9 kB]
Get:66 http://mirrors.aliyun.com/ubuntu focal-proposed/main amd64 Packages [258 kB]
Get:67 http://mirrors.aliyun.com/ubuntu focal-proposed/main Translation-en [52.6 kB]
Get:68 http://mirrors.aliyun.com/ubuntu focal-proposed/main amd64 c-n-f Metadata [1,400 B]
Get:69 http://mirrors.aliyun.com/ubuntu focal-proposed/restricted amd64 Packages [382 kB]
Get:70 http://mirrors.aliyun.com/ubuntu focal-proposed/restricted Translation-en [53.3 kB]
Get:71 http://mirrors.aliyun.com/ubuntu focal-proposed/restricted amd64 c-n-f Metadata [348 B]
Get:72 http://mirrors.aliyun.com/ubuntu focal-proposed/universe amd64 Packages [46.6 kB]
Get:73 http://mirrors.aliyun.com/ubuntu focal-proposed/universe Translation-en [23.0 kB]
Get:74 http://mirrors.aliyun.com/ubuntu focal-proposed/universe amd64 c-n-f Metadata [2,332 B]
Get:75 http://mirrors.aliyun.com/ubuntu focal-proposed/multiverse Translation-en [3,404 B]
Get:76 http://mirrors.aliyun.com/ubuntu focal-proposed/multiverse amd64 c-n-f Metadata [116 B]
Get:77 http://mirrors.aliyun.com/ubuntu focal-backports/universe Sources [10.5 kB]
Get:78 http://mirrors.aliyun.com/ubuntu focal-backports/main Sources [9,608 B]
Get:79 http://mirrors.aliyun.com/ubuntu focal-backports/main amd64 Packages [45.7 kB]
Get:80 http://mirrors.aliyun.com/ubuntu focal-backports/main Translation-en [16.3 kB]
Get:81 http://mirrors.aliyun.com/ubuntu focal-backports/main amd64 c-n-f Metadata [1,420 B]
Get:82 http://mirrors.aliyun.com/ubuntu focal-backports/restricted amd64 c-n-f Metadata [116 B]
Get:83 http://mirrors.aliyun.com/ubuntu focal-backports/universe amd64 Packages [25.0 kB]
Get:84 http://mirrors.aliyun.com/ubuntu focal-backports/universe Translation-en [16.3 kB]
Get:85 http://mirrors.aliyun.com/ubuntu focal-backports/universe amd64 c-n-f Metadata [880 B]
Get:86 http://mirrors.aliyun.com/ubuntu focal-backports/multiverse amd64 c-n-f Metadata [116 B]
Fetched 44.0 MB in 18s (2,466 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
70 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  sealos
0 upgraded, 1 newly installed, 0 to remove and 70 not upgraded.
Need to get 27.6 MB of archives.
After this operation, 80.8 MB of additional disk space will be used.
Get:1 https://apt.fury.io/labring  sealos 4.3.4 [27.6 MB]
Fetched 27.6 MB in 19s (1,481 kB/s)
Selecting previously unselected package sealos.
(Reading database ... 72332 files and directories currently installed.)
Preparing to unpack .../sealos_4.3.4_amd64.deb ...
Unpacking sealos (4.3.4) ...
Setting up sealos (4.3.4) ...
root@ubuntu:~# sealos gen labring/kubernetes:v1.25.6 \
>     labring/helm:v3.12.0 \
>     labring/calico:v3.24.1 \
>     labring/cert-manager:v1.8.0 \
>     labring/openebs:v3.4.0 \
>     --masters 192.168.1.252 > Clusterfile
root@ubuntu:~# sealos aplly -f Clusterfile
Error: unknown command "aplly" for "sealos"

Did you mean this?
        apply

Run 'sealos --help' for usage.
root@ubuntu:~# sealos apply -f Clusterfile
2023-10-03T06:17:42 info Start to create a new cluster: master [192.168.1.252], worker [], registry 192.168.1.252
2023-10-03T06:17:42 info Executing pipeline Check in CreateProcessor.
2023-10-03T06:17:42 info checker:hostname [192.168.1.252:22]
2023-10-03T06:17:42 info checker:timeSync [192.168.1.252:22]
2023-10-03T06:17:42 info Executing pipeline PreProcess in CreateProcessor.
Resolving "labring/kubernetes" using unqualified-search registries (/etc/containers/registries.conf)
Trying to pull docker.io/labring/kubernetes:v1.25.6...
Getting image source signatures
Copying blob 72da67af3149 done
Copying blob 691be8ceb55c done
Copying blob 9e9e0a305479 done
Copying blob 4dbb29200731 done
Copying config 704f1179e0 done
Writing manifest to image destination
Storing signatures
Resolving "labring/helm" using unqualified-search registries (/etc/containers/registries.conf)
Trying to pull docker.io/labring/helm:v3.12.0...
Getting image source signatures
Copying blob d36119170a66 done
Copying config ade7ed4dee done
Writing manifest to image destination
Storing signatures
Resolving "labring/calico" using unqualified-search registries (/etc/containers/registries.conf)
Trying to pull docker.io/labring/calico:v3.24.1...
Getting image source signatures
Copying blob 740f1fdd328f done
Copying config 6bbbb5354a done
Writing manifest to image destination
Storing signatures
Resolving "labring/cert-manager" using unqualified-search registries (/etc/containers/registries.conf)
Trying to pull docker.io/labring/cert-manager:v1.8.0...
Getting image source signatures
Copying blob 5b5b7bc4d42c done
Copying config 7876685d9e done
Writing manifest to image destination
Storing signatures
Resolving "labring/openebs" using unqualified-search registries (/etc/containers/registries.conf)
Trying to pull docker.io/labring/openebs:v3.4.0...
Getting image source signatures
Copying blob 93eddb655d90 done
Copying config 7b65545a75 done
Writing manifest to image destination
Storing signatures
2023-10-03T06:27:55 info Executing pipeline RunConfig in CreateProcessor.
2023-10-03T06:27:55 info Executing pipeline MountRootfs in CreateProcessor.
2023-10-03T06:28:06 info Executing pipeline MirrorRegistry in CreateProcessor.
2023-10-03T06:28:06 info trying default http mode to sync images to hosts [192.168.1.252:22]
2023-10-03T06:28:30 info Executing pipeline Bootstrap in CreateProcessor
 INFO [2023-10-03 06:28:30] >> Check port kubelet port 10249..10259, reserved port 5050..5054 inuse. Please wait...
 INFO [2023-10-03 06:28:31] >> check root,port,cri success
2023-10-03T06:28:31 info domain sealos.hub:192.168.1.252 append success
Created symlink /etc/systemd/system/multi-user.target.wants/registry.service → /etc/systemd/system/registry.service.
 INFO [2023-10-03 06:28:33] >> Health check registry!
 INFO [2023-10-03 06:28:33] >> registry is running
 INFO [2023-10-03 06:28:33] >> init registry success
Created symlink /etc/systemd/system/multi-user.target.wants/containerd.service → /etc/systemd/system/containerd.service.
 INFO [2023-10-03 06:28:41] >> Health check containerd!
 INFO [2023-10-03 06:28:41] >> containerd is running
 INFO [2023-10-03 06:28:41] >> init containerd success
Created symlink /etc/systemd/system/multi-user.target.wants/image-cri-shim.service → /etc/systemd/system/image-cri-shim.service.
 INFO [2023-10-03 06:28:43] >> Health check image-cri-shim!
 INFO [2023-10-03 06:28:43] >> image-cri-shim is running
 INFO [2023-10-03 06:28:43] >> init shim success
127.0.0.1 localhost
::1     ip6-localhost ip6-loopback
Firewall stopped and disabled on system startup
* Applying /etc/sysctl.d/10-console-messages.conf ...
kernel.printk = 4 4 1 7
* Applying /etc/sysctl.d/10-ipv6-privacy.conf ...
net.ipv6.conf.all.use_tempaddr = 2
net.ipv6.conf.default.use_tempaddr = 2
* Applying /etc/sysctl.d/10-kernel-hardening.conf ...
kernel.kptr_restrict = 1
* Applying /etc/sysctl.d/10-link-restrictions.conf ...
fs.protected_hardlinks = 1
fs.protected_symlinks = 1
* Applying /etc/sysctl.d/10-magic-sysrq.conf ...
kernel.sysrq = 176
* Applying /etc/sysctl.d/10-network-security.conf ...
net.ipv4.conf.default.rp_filter = 2
net.ipv4.conf.all.rp_filter = 2
* Applying /etc/sysctl.d/10-ptrace.conf ...
kernel.yama.ptrace_scope = 1
* Applying /etc/sysctl.d/10-zeropage.conf ...
vm.mmap_min_addr = 65536
* Applying /usr/lib/sysctl.d/50-default.conf ...
net.ipv4.conf.default.promote_secondaries = 1
sysctl: setting key "net.ipv4.conf.all.promote_secondaries": Invalid argument
net.ipv4.ping_group_range = 0 2147483647
net.core.default_qdisc = fq_codel
fs.protected_regular = 1
fs.protected_fifos = 1
* Applying /usr/lib/sysctl.d/50-pid-max.conf ...
kernel.pid_max = 4194304
* Applying /etc/sysctl.d/99-sysctl.conf ...
fs.file-max = 1048576 # sealos
net.bridge.bridge-nf-call-ip6tables = 1 # sealos
net.bridge.bridge-nf-call-iptables = 1 # sealos
net.core.somaxconn = 65535 # sealos
net.ipv4.conf.all.rp_filter = 0 # sealos
net.ipv4.ip_forward = 1 # sealos
net.ipv4.ip_local_port_range = 1024 65535 # sealos
net.ipv6.conf.all.forwarding = 1 # sealos
* Applying /usr/lib/sysctl.d/protect-links.conf ...
fs.protected_fifos = 1
fs.protected_hardlinks = 1
fs.protected_regular = 2
fs.protected_symlinks = 1
* Applying /etc/sysctl.conf ...
fs.file-max = 1048576 # sealos
net.bridge.bridge-nf-call-ip6tables = 1 # sealos
net.bridge.bridge-nf-call-iptables = 1 # sealos
net.core.somaxconn = 65535 # sealos
net.ipv4.conf.all.rp_filter = 0 # sealos
net.ipv4.ip_forward = 1 # sealos
net.ipv4.ip_local_port_range = 1024 65535 # sealos
net.ipv6.conf.all.forwarding = 1 # sealos
 INFO [2023-10-03 06:28:45] >> pull pause image sealos.hub:5000/pause:3.8
Image is up to date for sha256:4873874c08efc72e9729683a83ffbb7502ee729e9a5ac097723806ea7fa13517
Created symlink /etc/systemd/system/multi-user.target.wants/kubelet.service → /etc/systemd/system/kubelet.service.
 INFO [2023-10-03 06:28:47] >> init kubelet success
 INFO [2023-10-03 06:28:47] >> init rootfs success
2023-10-03T06:28:47 info Executing pipeline Init in CreateProcessor.
2023-10-03T06:28:47 info start to copy kubeadm config to master0
2023-10-03T06:28:48 info start to generate cert and kubeConfig...
2023-10-03T06:28:48 info start to generator cert and copy to masters...
2023-10-03T06:28:48 info apiserver altNames : {map[apiserver.cluster.local:apiserver.cluster.local kubernetes:kubernetes kubernetes.default:kubernetes.default kubernetes.default.svc:kubernetes.default.svc kubernetes.default.svc.cluster.local:kubernetes.default.svc.cluster.local localhost:localhost ubuntu:ubuntu] map[10.103.97.2:10.103.97.2 10.96.0.1:10.96.0.1 127.0.0.1:127.0.0.1 192.168.1.252:192.168.1.252]}
2023-10-03T06:28:48 info Etcd altnames : {map[localhost:localhost ubuntu:ubuntu] map[127.0.0.1:127.0.0.1 192.168.1.252:192.168.1.252 ::1:::1]}, commonName : ubuntu
2023-10-03T06:28:59 info start to copy etc pki files to masters
2023-10-03T06:28:59 info start to create kubeconfig...
2023-10-03T06:29:02 info start to copy kubeconfig files to masters
2023-10-03T06:29:02 info start to copy static files to masters
2023-10-03T06:29:02 info start to init master0...
2023-10-03T06:29:02 info domain apiserver.cluster.local:192.168.1.252 append success
W1003 06:29:02.988658    4824 initconfiguration.go:119] Usage of CRI endpoints without URL scheme is deprecated and can cause kubelet errors in the future. Automatically prepending scheme "unix" to the "criSocket" with value "/run/containerd/containerd.sock". Please update your configuration!
W1003 06:29:02.989310    4824 utils.go:69] The recommended value for "healthzBindAddress" in "KubeletConfiguration" is: 127.0.0.1; the provided value is: 0.0.0.0
[init] Using Kubernetes version: v1.25.6
[preflight] Running pre-flight checks
        [WARNING FileExisting-socat]: socat not found in system path
[preflight] Pulling images required for setting up a Kubernetes cluster
[preflight] This might take a minute or two, depending on the speed of your internet connection
[preflight] You can also perform this action in beforehand using 'kubeadm config images pull'
[certs] Using certificateDir folder "/etc/kubernetes/pki"
[certs] Using existing ca certificate authority
[certs] Using existing apiserver certificate and key on disk
[certs] Using existing apiserver-kubelet-client certificate and key on disk
[certs] Using existing front-proxy-ca certificate authority
[certs] Using existing front-proxy-client certificate and key on disk
[certs] Using existing etcd/ca certificate authority
[certs] Using existing etcd/server certificate and key on disk
[certs] Using existing etcd/peer certificate and key on disk
[certs] Using existing etcd/healthcheck-client certificate and key on disk
[certs] Using existing apiserver-etcd-client certificate and key on disk
[certs] Using the existing "sa" key
[kubeconfig] Using kubeconfig folder "/etc/kubernetes"
[kubeconfig] Using existing kubeconfig file: "/etc/kubernetes/admin.conf"
[kubeconfig] Using existing kubeconfig file: "/etc/kubernetes/kubelet.conf"
W1003 06:29:42.165254    4824 kubeconfig.go:249] a kubeconfig file "/etc/kubernetes/controller-manager.conf" exists already but has an unexpected API Server URL: expected: https://192.168.1.252:6443, got: https://apiserver.cluster.local:6443
[kubeconfig] Using existing kubeconfig file: "/etc/kubernetes/controller-manager.conf"
W1003 06:29:42.963102    4824 kubeconfig.go:249] a kubeconfig file "/etc/kubernetes/scheduler.conf" exists already but has an unexpected API Server URL: expected: https://192.168.1.252:6443, got: https://apiserver.cluster.local:6443
[kubeconfig] Using existing kubeconfig file: "/etc/kubernetes/scheduler.conf"
[kubelet-start] Writing kubelet environment file with flags to file "/var/lib/kubelet/kubeadm-flags.env"
[kubelet-start] Writing kubelet configuration to file "/var/lib/kubelet/config.yaml"
[kubelet-start] Starting the kubelet
[control-plane] Using manifest folder "/etc/kubernetes/manifests"
[control-plane] Creating static Pod manifest for "kube-apiserver"
[control-plane] Creating static Pod manifest for "kube-controller-manager"
[control-plane] Creating static Pod manifest for "kube-scheduler"
[etcd] Creating static Pod manifest for local etcd in "/etc/kubernetes/manifests"
[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
[apiclient] All control plane components are healthy after 22.006276 seconds
[upload-config] Storing the configuration used in ConfigMap "kubeadm-config" in the "kube-system" Namespace
[kubelet] Creating a ConfigMap "kubelet-config" in namespace kube-system with the configuration for the kubelets in the cluster
[upload-certs] Skipping phase. Please see --upload-certs
[mark-control-plane] Marking the node ubuntu as control-plane by adding the labels: [node-role.kubernetes.io/control-plane node.kubernetes.io/exclude-from-external-load-balancers]
[bootstrap-token] Configuring bootstrap tokens, cluster-info ConfigMap, RBAC Roles
[bootstrap-token] Configured RBAC rules to allow Node Bootstrap tokens to get nodes
[bootstrap-token] Configured RBAC rules to allow Node Bootstrap tokens to post CSRs in order for nodes to get long term certificate credentials
[bootstrap-token] Configured RBAC rules to allow the csrapprover controller automatically approve CSRs from a Node Bootstrap Token
[bootstrap-token] Configured RBAC rules to allow certificate rotation for all node client certificates in the cluster
[bootstrap-token] Creating the "cluster-info" ConfigMap in the "kube-public" namespace
[kubelet-finalize] Updating "/etc/kubernetes/kubelet.conf" to point to a rotatable kubelet client certificate and key
[addons] Applied essential addon: CoreDNS
[addons] Applied essential addon: kube-proxy

Your Kubernetes control-plane has initialized successfully!

To start using your cluster, you need to run the following as a regular user:

  mkdir -p $HOME/.kube
  sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
  sudo chown $(id -u):$(id -g) $HOME/.kube/config

Alternatively, if you are the root user, you can run:

  export KUBECONFIG=/etc/kubernetes/admin.conf

You should now deploy a pod network to the cluster.
Run "kubectl apply -f [podnetwork].yaml" with one of the options listed at:
  https://kubernetes.io/docs/concepts/cluster-administration/addons/

You can now join any number of control-plane nodes by copying certificate authorities
and service account keys on each node and then running the following as root:

  kubeadm join apiserver.cluster.local:6443 --token  \
        --discovery-token-ca-cert-hash sha256:b06ed3e63232f76c3407ba98abbda45c8aed348fe882f5c7c38069da8f5aa6df \
        --control-plane --certificate-key 

Then you can join any number of worker nodes by running the following on each as root:

kubeadm join apiserver.cluster.local:6443 --token  \
        --discovery-token-ca-cert-hash sha256:b06ed3e63232f76c3407ba98abbda45c8aed348fe882f5c7c38069da8f5aa6df
2023-10-03T06:30:09 info Executing pipeline Join in CreateProcessor.
2023-10-03T06:30:09 info Executing pipeline RunGuest in CreateProcessor.
Release "calico" does not exist. Installing it now.
NAME: calico
LAST DEPLOYED: Tue Oct  3 06:30:18 2023
NAMESPACE: tigera-operator
STATUS: deployed
REVISION: 1
TEST SUITE: None
namespace/cert-manager created
customresourcedefinition.apiextensions.k8s.io/certificaterequests.cert-manager.io created
customresourcedefinition.apiextensions.k8s.io/certificates.cert-manager.io created
customresourcedefinition.apiextensions.k8s.io/challenges.acme.cert-manager.io created
customresourcedefinition.apiextensions.k8s.io/clusterissuers.cert-manager.io created
customresourcedefinition.apiextensions.k8s.io/issuers.cert-manager.io created
customresourcedefinition.apiextensions.k8s.io/orders.acme.cert-manager.io created
serviceaccount/cert-manager-cainjector created
serviceaccount/cert-manager created
serviceaccount/cert-manager-webhook created
configmap/cert-manager-webhook created
clusterrole.rbac.authorization.k8s.io/cert-manager-cainjector created
clusterrole.rbac.authorization.k8s.io/cert-manager-controller-issuers created
clusterrole.rbac.authorization.k8s.io/cert-manager-controller-clusterissuers created
clusterrole.rbac.authorization.k8s.io/cert-manager-controller-certificates created
clusterrole.rbac.authorization.k8s.io/cert-manager-controller-orders created
clusterrole.rbac.authorization.k8s.io/cert-manager-controller-challenges created
clusterrole.rbac.authorization.k8s.io/cert-manager-controller-ingress-shim created
clusterrole.rbac.authorization.k8s.io/cert-manager-view created
clusterrole.rbac.authorization.k8s.io/cert-manager-edit created
clusterrole.rbac.authorization.k8s.io/cert-manager-controller-approve:cert-manager-io created
clusterrole.rbac.authorization.k8s.io/cert-manager-controller-certificatesigningrequests created
clusterrole.rbac.authorization.k8s.io/cert-manager-webhook:subjectaccessreviews created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-cainjector created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-issuers created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-clusterissuers created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-certificates created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-orders created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-challenges created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-ingress-shim created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-approve:cert-manager-io created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-certificatesigningrequests created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-webhook:subjectaccessreviews created
role.rbac.authorization.k8s.io/cert-manager-cainjector:leaderelection created
role.rbac.authorization.k8s.io/cert-manager:leaderelection created
role.rbac.authorization.k8s.io/cert-manager-webhook:dynamic-serving created
rolebinding.rbac.authorization.k8s.io/cert-manager-cainjector:leaderelection created
rolebinding.rbac.authorization.k8s.io/cert-manager:leaderelection created
rolebinding.rbac.authorization.k8s.io/cert-manager-webhook:dynamic-serving created
service/cert-manager created
service/cert-manager-webhook created
deployment.apps/cert-manager-cainjector created
deployment.apps/cert-manager created
deployment.apps/cert-manager-webhook created
mutatingwebhookconfiguration.admissionregistration.k8s.io/cert-manager-webhook created
validatingwebhookconfiguration.admissionregistration.k8s.io/cert-manager-webhook created
Release "openebs" does not exist. Installing it now.
NAME: openebs
LAST DEPLOYED: Tue Oct  3 06:30:39 2023
NAMESPACE: openebs
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Successfully installed OpenEBS.

Check the status by running: kubectl get pods -n openebs

The default values will install NDM and enable OpenEBS hostpath and device
storage engines along with their default StorageClasses. Use `kubectl get sc`
to see the list of installed OpenEBS StorageClasses.

**Note**: If you are upgrading from the older helm chart that was using cStor
and Jiva (non-csi) volumes, you will have to run the following command to include
the older provisioners:

helm upgrade openebs openebs/openebs \
        --namespace openebs \
        --set legacy.enabled=true \
        --reuse-values

For other engines, you will need to perform a few more additional steps to
enable the engine, configure the engines (e.g. creating pools) and create
StorageClasses.

For example, cStor can be enabled using commands like:

helm upgrade openebs openebs/openebs \
        --namespace openebs \
        --set cstor.enabled=true \
        --reuse-values

For more information,
- view the online documentation at https://openebs.io/docs or
- connect with an active community on Kubernetes slack #openebs channel.
2023-10-03T06:30:45 info succeeded in creating a new cluster, enjoy it!
2023-10-03T06:30:45 info
      ___           ___           ___           ___       ___           ___
     /\  \         /\  \         /\  \         /\__\     /\  \         /\  \
    /::\  \       /::\  \       /::\  \       /:/  /    /::\  \       /::\  \
   /:/\ \  \     /:/\:\  \     /:/\:\  \     /:/  /    /:/\:\  \     /:/\ \  \
  _\:\~\ \  \   /::\~\:\  \   /::\~\:\  \   /:/  /    /:/  \:\  \   _\:\~\ \  \
 /\ \:\ \ \__\ /:/\:\ \:\__\ /:/\:\ \:\__\ /:/__/    /:/__/ \:\__\ /\ \:\ \ \__\
 \:\ \:\ \/__/ \:\~\:\ \/__/ \/__\:\/:/  / \:\  \    \:\  \ /:/  / \:\ \:\ \/__/
  \:\ \:\__\    \:\ \:\__\        \::/  /   \:\  \    \:\  /:/  /   \:\ \:\__\
   \:\/:/  /     \:\ \/__/        /:/  /     \:\  \    \:\/:/  /     \:\/:/  /
    \::/  /       \:\__\         /:/  /       \:\__\    \::/  /       \::/  /
     \/__/         \/__/         \/__/         \/__/     \/__/         \/__/

                  Website: https://www.sealos.io/
                  Address: github.com/labring/sealos
                  Version: 4.3.4-047cb263

root@ubuntu:~# kubectl get pods -A

NAMESPACE         NAME                                           READY   STATUS              RESTARTS   AGE
calico-system     calico-kube-controllers-85666c5b94-ntsrg       0/1     ContainerCreating   0          42s
calico-system     calico-node-nkxlv                              0/1     PodInitializing     0          42s
calico-system     calico-typha-64db59cf7f-q56hc                  1/1     Running             0          43s
calico-system     csi-node-driver-4v2r6                          0/2     ContainerCreating   0          6s
cert-manager      cert-manager-655bf9748f-gw2nv                  0/1     ContainerCreating   0          53s
cert-manager      cert-manager-cainjector-7985fb445b-p6ww9       0/1     ContainerCreating   0          53s
cert-manager      cert-manager-webhook-6dc9656f89-t7qqt          0/1     ContainerCreating   0          53s
kube-system       coredns-565d847f94-7jm7b                       0/1     ContainerCreating   0          67s
kube-system       coredns-565d847f94-jtl5j                       0/1     ContainerCreating   0          67s
kube-system       etcd-ubuntu                                    1/1     Running             0          84s
kube-system       kube-apiserver-ubuntu                          1/1     Running             0          80s
kube-system       kube-controller-manager-ubuntu                 1/1     Running             0          73s
kube-system       kube-proxy-nxbpv                               1/1     Running             0          68s
kube-system       kube-scheduler-ubuntu                          1/1     Running             0          73s
openebs           openebs-localpv-provisioner-79f4c678cd-cb95w   0/1     ContainerCreating   0          43s
tigera-operator   tigera-operator-6675dc47f4-zjt7f               1/1     Running             0          63s
root@ubuntu:~#
root@ubuntu:~# kubectl get pods -A
NAMESPACE         NAME                                           READY   STATUS              RESTARTS   AGE
calico-system     calico-kube-controllers-85666c5b94-ntsrg       0/1     ContainerCreating   0          46s
calico-system     calico-node-nkxlv                              0/1     PodInitializing     0          46s
calico-system     calico-typha-64db59cf7f-q56hc                  1/1     Running             0          47s
calico-system     csi-node-driver-4v2r6                          0/2     ContainerCreating   0          10s
cert-manager      cert-manager-655bf9748f-gw2nv                  0/1     ContainerCreating   0          57s
cert-manager      cert-manager-cainjector-7985fb445b-p6ww9       0/1     ContainerCreating   0          57s
cert-manager      cert-manager-webhook-6dc9656f89-t7qqt          0/1     ContainerCreating   0          57s
kube-system       coredns-565d847f94-7jm7b                       0/1     ContainerCreating   0          71s
kube-system       coredns-565d847f94-jtl5j                       0/1     ContainerCreating   0          71s
kube-system       etcd-ubuntu                                    1/1     Running             0          88s
kube-system       kube-apiserver-ubuntu                          1/1     Running             0          84s
kube-system       kube-controller-manager-ubuntu                 1/1     Running             0          77s
kube-system       kube-proxy-nxbpv                               1/1     Running             0          72s
kube-system       kube-scheduler-ubuntu                          1/1     Running             0          77s
openebs           openebs-localpv-provisioner-79f4c678cd-cb95w   0/1     ContainerCreating   0          47s
tigera-operator   tigera-operator-6675dc47f4-zjt7f               1/1     Running             0          67s
root@ubuntu:~# kubectl get pods -A
NAMESPACE         NAME                                           READY   STATUS              RESTARTS   AGE
calico-system     calico-kube-controllers-85666c5b94-ntsrg       0/1     ContainerCreating   0          47s
calico-system     calico-node-nkxlv                              0/1     PodInitializing     0          47s
calico-system     calico-typha-64db59cf7f-q56hc                  1/1     Running             0          48s
calico-system     csi-node-driver-4v2r6                          0/2     ContainerCreating   0          11s
cert-manager      cert-manager-655bf9748f-gw2nv                  0/1     ContainerCreating   0          58s
cert-manager      cert-manager-cainjector-7985fb445b-p6ww9       0/1     ContainerCreating   0          58s
cert-manager      cert-manager-webhook-6dc9656f89-t7qqt          0/1     ContainerCreating   0          58s
kube-system       coredns-565d847f94-7jm7b                       0/1     ContainerCreating   0          72s
kube-system       coredns-565d847f94-jtl5j                       0/1     ContainerCreating   0          72s
kube-system       etcd-ubuntu                                    1/1     Running             0          89s
kube-system       kube-apiserver-ubuntu                          1/1     Running             0          85s
kube-system       kube-controller-manager-ubuntu                 1/1     Running             0          78s
kube-system       kube-proxy-nxbpv                               1/1     Running             0          73s
kube-system       kube-scheduler-ubuntu                          1/1     Running             0          78s
openebs           openebs-localpv-provisioner-79f4c678cd-cb95w   0/1     ContainerCreating   0          48s
tigera-operator   tigera-operator-6675dc47f4-zjt7f               1/1     Running             0          68s
root@ubuntu:~# kubectl get pods -A
NAMESPACE          NAME                                           READY   STATUS              RESTARTS   AGE
calico-apiserver   calico-apiserver-6b984c88fc-dbwmg              0/1     ContainerCreating   0          8s
calico-apiserver   calico-apiserver-6b984c88fc-pp4lg              0/1     ContainerCreating   0          8s
calico-system      calico-kube-controllers-85666c5b94-ntsrg       1/1     Running             0          100s
calico-system      calico-node-nkxlv                              1/1     Running             0          100s
calico-system      calico-typha-64db59cf7f-q56hc                  1/1     Running             0          101s
calico-system      csi-node-driver-4v2r6                          0/2     ContainerCreating   0          64s
cert-manager       cert-manager-655bf9748f-gw2nv                  1/1     Running             0          111s
cert-manager       cert-manager-cainjector-7985fb445b-p6ww9       0/1     ContainerCreating   0          111s
cert-manager       cert-manager-webhook-6dc9656f89-t7qqt          1/1     Running             0          111s
kube-system        coredns-565d847f94-7jm7b                       1/1     Running             0          2m5s
kube-system        coredns-565d847f94-jtl5j                       1/1     Running             0          2m5s
kube-system        etcd-ubuntu                                    1/1     Running             0          2m22s
kube-system        kube-apiserver-ubuntu                          1/1     Running             0          2m18s
kube-system        kube-controller-manager-ubuntu                 1/1     Running             0          2m11s
kube-system        kube-proxy-nxbpv                               1/1     Running             0          2m6s
kube-system        kube-scheduler-ubuntu                          1/1     Running             0          2m11s
openebs            openebs-localpv-provisioner-79f4c678cd-cb95w   1/1     Running             0          101s
tigera-operator    tigera-operator-6675dc47f4-zjt7f               1/1     Running             0          2m1s
root@ubuntu:~# kubectl get pods -A
NAMESPACE          NAME                                           READY   STATUS              RESTARTS   AGE
calico-apiserver   calico-apiserver-6b984c88fc-dbwmg              0/1     ContainerCreating   0          11s
calico-apiserver   calico-apiserver-6b984c88fc-pp4lg              0/1     ContainerCreating   0          11s
calico-system      calico-kube-controllers-85666c5b94-ntsrg       1/1     Running             0          103s
calico-system      calico-node-nkxlv                              1/1     Running             0          103s
calico-system      calico-typha-64db59cf7f-q56hc                  1/1     Running             0          104s
calico-system      csi-node-driver-4v2r6                          0/2     ContainerCreating   0          67s
cert-manager       cert-manager-655bf9748f-gw2nv                  1/1     Running             0          114s
cert-manager       cert-manager-cainjector-7985fb445b-p6ww9       0/1     ContainerCreating   0          114s
cert-manager       cert-manager-webhook-6dc9656f89-t7qqt          1/1     Running             0          114s
kube-system        coredns-565d847f94-7jm7b                       1/1     Running             0          2m8s
kube-system        coredns-565d847f94-jtl5j                       1/1     Running             0          2m8s
kube-system        etcd-ubuntu                                    1/1     Running             0          2m25s
kube-system        kube-apiserver-ubuntu                          1/1     Running             0          2m21s
kube-system        kube-controller-manager-ubuntu                 1/1     Running             0          2m14s
kube-system        kube-proxy-nxbpv                               1/1     Running             0          2m9s
kube-system        kube-scheduler-ubuntu                          1/1     Running             0          2m14s
openebs            openebs-localpv-provisioner-79f4c678cd-cb95w   1/1     Running             0          104s
tigera-operator    tigera-operator-6675dc47f4-zjt7f               1/1     Running             0          2m4s
root@ubuntu:~# kubectl get pods -A
NAMESPACE          NAME                                           READY   STATUS              RESTARTS   AGE
calico-apiserver   calico-apiserver-6b984c88fc-dbwmg              0/1     ContainerCreating   0          14s
calico-apiserver   calico-apiserver-6b984c88fc-pp4lg              0/1     ContainerCreating   0          14s
calico-system      calico-kube-controllers-85666c5b94-ntsrg       1/1     Running             0          106s
calico-system      calico-node-nkxlv                              1/1     Running             0          106s
calico-system      calico-typha-64db59cf7f-q56hc                  1/1     Running             0          107s
calico-system      csi-node-driver-4v2r6                          0/2     ContainerCreating   0          70s
cert-manager       cert-manager-655bf9748f-gw2nv                  1/1     Running             0          117s
cert-manager       cert-manager-cainjector-7985fb445b-p6ww9       1/1     Running             0          117s
cert-manager       cert-manager-webhook-6dc9656f89-t7qqt          1/1     Running             0          117s
kube-system        coredns-565d847f94-7jm7b                       1/1     Running             0          2m11s
kube-system        coredns-565d847f94-jtl5j                       1/1     Running             0          2m11s
kube-system        etcd-ubuntu                                    1/1     Running             0          2m28s
kube-system        kube-apiserver-ubuntu                          1/1     Running             0          2m24s
kube-system        kube-controller-manager-ubuntu                 1/1     Running             0          2m17s
kube-system        kube-proxy-nxbpv                               1/1     Running             0          2m12s
kube-system        kube-scheduler-ubuntu                          1/1     Running             0          2m17s
openebs            openebs-localpv-provisioner-79f4c678cd-cb95w   1/1     Running             0          107s
tigera-operator    tigera-operator-6675dc47f4-zjt7f               1/1     Running             0          2m7s
root@ubuntu:~# kubectl get pods -A
NAMESPACE          NAME                                           READY   STATUS    RESTARTS   AGE
calico-apiserver   calico-apiserver-6b984c88fc-dbwmg              1/1     Running   0          36s
calico-apiserver   calico-apiserver-6b984c88fc-pp4lg              1/1     Running   0          36s
calico-system      calico-kube-controllers-85666c5b94-ntsrg       1/1     Running   0          2m8s
calico-system      calico-node-nkxlv                              1/1     Running   0          2m8s
calico-system      calico-typha-64db59cf7f-q56hc                  1/1     Running   0          2m9s
calico-system      csi-node-driver-4v2r6                          2/2     Running   0          92s
cert-manager       cert-manager-655bf9748f-gw2nv                  1/1     Running   0          2m19s
cert-manager       cert-manager-cainjector-7985fb445b-p6ww9       1/1     Running   0          2m19s
cert-manager       cert-manager-webhook-6dc9656f89-t7qqt          1/1     Running   0          2m19s
kube-system        coredns-565d847f94-7jm7b                       1/1     Running   0          2m33s
kube-system        coredns-565d847f94-jtl5j                       1/1     Running   0          2m33s
kube-system        etcd-ubuntu                                    1/1     Running   0          2m50s
kube-system        kube-apiserver-ubuntu                          1/1     Running   0          2m46s
kube-system        kube-controller-manager-ubuntu                 1/1     Running   0          2m39s
kube-system        kube-proxy-nxbpv                               1/1     Running   0          2m34s
kube-system        kube-scheduler-ubuntu                          1/1     Running   0          2m39s
openebs            openebs-localpv-provisioner-79f4c678cd-cb95w   1/1     Running   0          2m9s
tigera-operator    tigera-operator-6675dc47f4-zjt7f               1/1     Running   0          2m29s
root@ubuntu:~# vim sealos.sh

#!/bin/bash
set -e

cat << EOF > ingress-nginx-config.yaml
apiVersion: apps.sealos.io/v1beta1
kind: Config
metadata:
  creationTimestamp: null
  name: ingress-nginx-config
spec:
  data: |
    controller:
      hostNetwork: true
      kind: DaemonSet
      service:
        type: NodePort
  match: docker.io/labring/ingress-nginx:v1.5.1
  path: charts/ingress-nginx/values.yaml
  strategy: merge
EOF

sealos run docker.io/labring/kubernetes-reflector:v7.0.151\
    docker.io/labring/ingress-nginx:v1.5.1\
    docker.io/labring/zot:v1.4.3\
    docker.io/labring/kubeblocks:v0.6.2\
    --env policy=anonymousPolicy\
    --config-file ingress-nginx-config.yaml

echo "patch ingress-nginx-controller tolerations to allow run on master node, if you don't want to run on master node, please ignore this step"
kubectl -n ingress-nginx patch ds ingress-nginx-controller -p '{"spec":{"template":{"spec":{"tolerations":[{"key":"node-role.kubernetes.io/control-plane","operator":"Exists","effect":"NoSchedule"}]}}}}'

echo "waitting for kubeblocks crd created, this may take a while"
while ! kubectl get clusterdefinitions.apps.kubeblocks.io redis >/dev/null 2>&1; do
  sleep 5
done

echo "start patch redis clusterdefinition"
kubectl patch clusterdefinitions.apps.kubeblocks.io redis --type='json' -p '[{"op": "add", "path": "/spec/componentDefs/0/podSpec/containers/1/resources/limits", "value": {"cpu":"100m", "memory":"100Mi"}}]'
echo "patch redis success"

echo "wait for all pod to be ready then install Sealos"
kubectl get po -A


root@ubuntu:~# sh sealos.sh
2023-10-03T06:33:28 info start to install app in this cluster
2023-10-03T06:33:28 info Executing SyncStatusAndCheck Pipeline in InstallProcessor
2023-10-03T06:33:28 info Executing ConfirmOverrideApps Pipeline in InstallProcessor
2023-10-03T06:33:28 info Executing PreProcess Pipeline in InstallProcessor
Trying to pull docker.io/labring/kubernetes-reflector:v7.0.151...
Getting image source signatures
Copying blob 648a03fe5ae7 done
Copying config a278f8b4ef done
Writing manifest to image destination
Storing signatures
Trying to pull docker.io/labring/ingress-nginx:v1.5.1...
Getting image source signatures
Copying blob dff04fa4bd18 done
Copying config 3ec323f926 done
Writing manifest to image destination
Storing signatures
Trying to pull docker.io/labring/zot:v1.4.3...
Getting image source signatures
Copying blob cd58327e96df done
Copying config 04d900a09c done
Writing manifest to image destination
Storing signatures
Trying to pull docker.io/labring/kubeblocks:v0.6.2...
Getting image source signatures
Copying blob 671fe1524ef2 done
Copying config c697e845b1 done
Writing manifest to image destination
Storing signatures
2023-10-03T08:01:52 info Executing pipeline MountRootfs in InstallProcessor.
2023-10-03T08:02:54 info Executing pipeline MirrorRegistry in InstallProcessor.
2023-10-03T08:02:54 info trying default http mode to sync images to hosts [192.168.1.2                                                                                                       52:22]
2023-10-03T08:05:40 info Executing UpgradeIfNeed Pipeline in InstallProcessor
Release "reflector" does not exist. Installing it now.
NAME: reflector
LAST DEPLOYED: Tue Oct  3 08:05:40 2023
NAMESPACE: reflector-system
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Reflector can now be used to perform automatic copy actions on secrets and configmaps.
Release "ingress-nginx" does not exist. Installing it now.
NAME: ingress-nginx
LAST DEPLOYED: Tue Oct  3 08:05:46 2023
NAMESPACE: ingress-nginx
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
The ingress-nginx controller has been installed.
Get the application URL by running these commands:
  export HTTP_NODE_PORT=$(kubectl --namespace ingress-nginx get services -o jsonpath="                                                                                                       {.spec.ports[0].nodePort}" ingress-nginx-controller)
  export HTTPS_NODE_PORT=$(kubectl --namespace ingress-nginx get services -o jsonpath=                                                                                                       "{.spec.ports[1].nodePort}" ingress-nginx-controller)
  export NODE_IP=$(kubectl --namespace ingress-nginx get nodes -o jsonpath="{.items[0]                                                                                                       .status.addresses[1].address}")

  echo "Visit http://$NODE_IP:$HTTP_NODE_PORT to access your application via HTTP."
  echo "Visit https://$NODE_IP:$HTTPS_NODE_PORT to access your application via HTTPS."

An example Ingress that makes use of the controller:
  apiVersion: networking.k8s.io/v1
  kind: Ingress
  metadata:
    name: example
    namespace: foo
  spec:
    ingressClassName: nginx
    rules:
      - host: www.example.com
        http:
          paths:
            - pathType: Prefix
              backend:
                service:
                  name: exampleService
                  port:
                    number: 80
              path: /
    # This section is only required if TLS is to be enabled for the Ingress
    tls:
      - hosts:
        - www.example.com
        secretName: example-tls

If TLS is enabled for the Ingress, a Secret containing the certificate and key must al                                                                                                       so be provided:

  apiVersion: v1
  kind: Secret
  metadata:
    name: example-tls
    namespace: foo
  data:
    tls.crt: 
    tls.key: 
  type: kubernetes.io/tls
Release "zot" does not exist. Installing it now.
NAME: zot
LAST DEPLOYED: Tue Oct  3 08:06:41 2023
NAMESPACE: zot
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Get the application URL by running these commands:
export ZOT_PORT=$(kubectl get --namespace zot -o jsonpath="{.spec.ports[0].port}" serv                                                                                                       ices zot)
export ZOT_IP=$(kubectl get --namespace zot -o jsonpath="{.spec.clusterIP}" services z                                                                                                       ot)
echo "https://$ZOT_IP:$ZOT_PORT"
You can now access your application using helm.

helm registry login $ZOT_IP:$ZOT_PORT --insecure -u user -p user
helm  push  zot-0.1.22.tgz  oci://$ZOT_IP:$ZOT_PORT --insecure-skip-tls-verify
helm  pull  oci://$ZOT_IP:$ZOT_PORT/zot --version 0.1.22 --insecure-skip-tls-verify=tr                                                                                                       ue

Using svc address: helm registry login zot.zot.svc.cluster.local:8443 --insecure -u us                                                                                                       er -p user

You can push your all helm chart for your zot registry.

sealos run labring/zot-upload:main -f
Release "kubeblocks" does not exist. Installing it now.
NAME: kubeblocks
LAST DEPLOYED: Tue Oct  3 08:07:15 2023
NAMESPACE: kb-system
STATUS: deployed
REVISION: 1
2023-10-03T08:07:50 info succeeded install app in this cluster
2023-10-03T08:07:50 info no nodes that need to be scaled
2023-10-03T08:07:50 info
      ___           ___           ___           ___       ___           ___
     /\  \         /\  \         /\  \         /\__\     /\  \         /\  \
    /::\  \       /::\  \       /::\  \       /:/  /    /::\  \       /::\  \
   /:/\ \  \     /:/\:\  \     /:/\:\  \     /:/  /    /:/\:\  \     /:/\ \  \
  _\:\~\ \  \   /::\~\:\  \   /::\~\:\  \   /:/  /    /:/  \:\  \   _\:\~\ \  \
 /\ \:\ \ \__\ /:/\:\ \:\__\ /:/\:\ \:\__\ /:/__/    /:/__/ \:\__\ /\ \:\ \ \__\
 \:\ \:\ \/__/ \:\~\:\ \/__/ \/__\:\/:/  / \:\  \    \:\  \ /:/  / \:\ \:\ \/__/
  \:\ \:\__\    \:\ \:\__\        \::/  /   \:\  \    \:\  /:/  /   \:\ \:\__\
   \:\/:/  /     \:\ \/__/        /:/  /     \:\  \    \:\/:/  /     \:\/:/  /
    \::/  /       \:\__\         /:/  /       \:\__\    \::/  /       \::/  /
     \/__/         \/__/         \/__/         \/__/     \/__/         \/__/

                  Website: https://www.sealos.io/
                  Address: github.com/labring/sealos
                  Version: 4.3.4-047cb263

patch ingress-nginx-controller tolerations to allow run on master node, if you don't w                                                                                                       ant to run on master node, please ignore this step
daemonset.apps/ingress-nginx-controller patched
waitting for kubeblocks crd created, this may take a while
start patch redis clusterdefinition
clusterdefinition.apps.kubeblocks.io/redis patched
patch redis success
wait for all pod to be ready then install Sealos
NAMESPACE          NAME                                           READY   STATUS                                                                                                             RESTARTS   AGE
calico-apiserver   calico-apiserver-6b984c88fc-dbwmg              1/1     Running                                                                                                            0          97m
calico-apiserver   calico-apiserver-6b984c88fc-pp4lg              1/1     Running                                                                                                            0          97m
calico-system      calico-kube-controllers-85666c5b94-ntsrg       1/1     Running                                                                                                            0          99m
calico-system      calico-node-nkxlv                              1/1     Running                                                                                                            0          99m
calico-system      calico-typha-64db59cf7f-q56hc                  1/1     Running                                                                                                            0          99m
calico-system      csi-node-driver-4v2r6                          2/2     Running                                                                                                            0          98m
cert-manager       cert-manager-655bf9748f-gw2nv                  1/1     Running                                                                                                            0          99m
cert-manager       cert-manager-cainjector-7985fb445b-p6ww9       1/1     Running                                                                                                            0          99m
cert-manager       cert-manager-webhook-6dc9656f89-t7qqt          1/1     Running                                                                                                            0          99m
ingress-nginx      ingress-nginx-controller-9nk6x                 1/1     Running                                                                                                            0          111s
kb-system          install-apecloud-mysql-addon-9xdsl             1/1     Running                                                                                                            0          65s
kb-system          install-kafka-addon-v7tsk                      0/1     Completed                                                                                                          0          66s
kb-system          install-mongodb-addon-m9jm8                    1/1     Running                                                                                                            0          66s
kb-system          install-postgresql-addon-cb6lb                 1/1     Running                                                                                                            0          66s
kb-system          install-pulsar-addon-cm9lc                     1/1     Running                                                                                                            0          66s
kb-system          install-redis-addon-c88fk                      0/1     Completed                                                                                                          0          66s
kb-system          kubeblocks-65797b5f7-cb52r                     1/1     Running                                                                                                            0          2m14s
kb-system          kubeblocks-dataprotection-66c6674bc9-dxlvw     1/1     Running                                                                                                            0          2m14s
kube-system        coredns-565d847f94-7jm7b                       1/1     Running                                                                                                            0          99m
kube-system        coredns-565d847f94-jtl5j                       1/1     Running                                                                                                            0          99m
kube-system        etcd-ubuntu                                    1/1     Running                                                                                                            0          99m
kube-system        kube-apiserver-ubuntu                          1/1     Running                                                                                                            0          99m
kube-system        kube-controller-manager-ubuntu                 1/1     Running                                                                                                            0          99m
kube-system        kube-proxy-nxbpv                               1/1     Running                                                                                                            0          99m
kube-system        kube-scheduler-ubuntu                          1/1     Running                                                                                                            0          99m
openebs            openebs-localpv-provisioner-79f4c678cd-cb95w   1/1     Running                                                                                                            0          99m
reflector-system   reflector-7979f4b985-82jns                     1/1     Running                                                                                                            0          4m13s
tigera-operator    tigera-operator-6675dc47f4-zjt7f               1/1     Running                                                                                                            0          99m
zot                zot-55dbc7598b-kzsnx                           1/1     Running                                                                                                            0          2m56s
root@ubuntu:~# kubectl get pods -A
NAMESPACE          NAME                                           READY   STATUS    RESTARTS   AGE
calico-apiserver   calico-apiserver-6b984c88fc-dbwmg              1/1     Running   0          4h14m
calico-apiserver   calico-apiserver-6b984c88fc-pp4lg              1/1     Running   0          4h14m
calico-system      calico-kube-controllers-85666c5b94-ntsrg       1/1     Running   0          4h15m
calico-system      calico-node-nkxlv                              1/1     Running   0          4h15m
calico-system      calico-typha-64db59cf7f-q56hc                  1/1     Running   0          4h15m
calico-system      csi-node-driver-4v2r6                          2/2     Running   0          4h15m
cert-manager       cert-manager-655bf9748f-gw2nv                  1/1     Running   0          4h15m
cert-manager       cert-manager-cainjector-7985fb445b-p6ww9       1/1     Running   0          4h15m
cert-manager       cert-manager-webhook-6dc9656f89-t7qqt          1/1     Running   0          4h15m
ingress-nginx      ingress-nginx-controller-9nk6x                 1/1     Running   0          158m
kb-system          kubeblocks-65797b5f7-cb52r                     1/1     Running   0          158m
kb-system          kubeblocks-dataprotection-66c6674bc9-dxlvw     1/1     Running   0          158m
kube-system        coredns-565d847f94-7jm7b                       1/1     Running   0          4h16m
kube-system        coredns-565d847f94-jtl5j                       1/1     Running   0          4h16m
kube-system        etcd-ubuntu                                    1/1     Running   0          4h16m
kube-system        kube-apiserver-ubuntu                          1/1     Running   0          4h16m
kube-system        kube-controller-manager-ubuntu                 1/1     Running   0          4h16m
kube-system        kube-proxy-nxbpv                               1/1     Running   0          4h16m
kube-system        kube-scheduler-ubuntu                          1/1     Running   0          4h16m
openebs            openebs-localpv-provisioner-79f4c678cd-cb95w   1/1     Running   0          4h15m
reflector-system   reflector-7979f4b985-82jns                     1/1     Running   0          160m
tigera-operator    tigera-operator-6675dc47f4-zjt7f               1/1     Running   0          4h16m
zot                zot-55dbc7598b-kzsnx                           1/1     Running   0          159m
root@ubuntu:~# sealos run docker.io/labring/sealos-cloud:latest\
>     --env cloudDomain="192.168.1.252.nip.io"
2023-10-03T10:47:55 info start to install app in this cluster
2023-10-03T10:47:55 info Executing SyncStatusAndCheck Pipeline in InstallProcessor
2023-10-03T10:47:55 info Executing ConfirmOverrideApps Pipeline in InstallProcessor
2023-10-03T10:47:55 info Executing PreProcess Pipeline in InstallProcessor
Trying to pull docker.io/labring/sealos-cloud:latest...
Getting image source signatures
Copying blob 2495c43a4f3b [=====>--------------------------------] 172.4MiB / 1021.8MiB
Copying blob 2495c43a4f3b done
Copying config ce64799e78 done
Writing manifest to image destination
Storing signatures
2023-10-03T10:55:31 info Executing pipeline MountRootfs in InstallProcessor.
2023-10-03T10:55:58 info Executing pipeline MirrorRegistry in InstallProcessor.
2023-10-03T10:55:58 info Executing UpgradeIfNeed Pipeline in InstallProcessor
+ cloudDomain=127.0.0.1.nip.io
+ cloudPort=
+ mongodbUri=
+ tlsCrtPlaceholder=''
+ tlsKeyPlaceholder=''
+ saltKey=
+ install
+ prepare
+ source etc/sealos/.env
++ cloudDomain=192.168.1.252.nip.io
++ cloudPort=
++ mongodbUri=
+ kubectl apply -f manifests/namespace.yaml
namespace/sealos-system created
namespace/sealos created
+ kubectl apply -f manifests/notifications_crd.yaml
customresourcedefinition.apiextensions.k8s.io/notifications.notification.sealos.io created
+ gen_mongodbUri
+ '[' -z '' ']'
+ echo 'no mongodb uri found, create mongodb and gen mongodb uri'
no mongodb uri found, create mongodb and gen mongodb uri
+ kubectl apply -f manifests/mongodb.yaml
cluster.apps.kubeblocks.io/sealos-mongodb created
serviceaccount/sealos-mongodb-sa created
role.rbac.authorization.k8s.io/sealos-mongodb-role created
rolebinding.rbac.authorization.k8s.io/sealos-mongodb-rolebinding created
++ kubectl get secret -n sealos sealos-mongodb-conn-credential
Error from server (NotFound): secrets "sealos-mongodb-conn-credential" not found
+ '[' -z '' ']'
+ echo 'waiting for mongodb secret generated'
waiting for mongodb secret generated
+ sleep 5
++ kubectl get secret -n sealos sealos-mongodb-conn-credential
+ '[' -z 'NAME                             TYPE     DATA   AGE
sealos-mongodb-conn-credential   Opaque   8      5s' ']'
+ chmod +x scripts/gen-mongodb-uri.sh
++ scripts/gen-mongodb-uri.sh
+ mongodbUri=mongodb://root:lw9hw8hl@sealos-mongodb-mongodb-0.sealos-mongodb-mongodb-headless.sealos.svc:27017
+ gen_saltKey
++ kubectl get secret desktop-frontend-secret -n sealos -o 'jsonpath={.data.password_salt}'
++ true
+ password_salt=
+ [[ -z '' ]]
++ base64 -w 0
++ head -c64
++ tr -dc a-z0-9
+ saltKey=ZnhrZGZ2eTh5MjNzaHV6cnZnNzExZjJlOG16ZG1xeGlyaXllM2dvbWJueDM0cWJrdnBkN25xc3VqNTBrNGFyZA==
+ mutate_desktop_config
++ echo -n mongodb://root:lw9hw8hl@sealos-mongodb-mongodb-0.sealos-mongodb-mongodb-headless.sealos.svc:27017
++ base64 -w 0
+ sed -i -e 's;;bW9uZ29kYjovL3Jvb3Q6bHc5aHc4aGxAc2VhbG9zLW1vbmdvZGItbW9uZ29kYi0wLnNlYWxvcy1tb25nb2RiLW1vbmdvZGItaGVhZGxlc3Muc2VhbG9zLnN2YzoyNzAxNw==;' etc/sealos/desktop-config.yaml
++ tr -cd a-z0-9
++ base64 -w 0
++ head -c64
+ sed -i -e 's;;N2RvNjVjZjk2ZTlzZTBnMGMxZTZnMmswMTRtZ3IzdGp1cmoxbjNqdGl4MjFpZXo0aTdnZHV5anlmejVsd2x4OQ==;' etc/sealos/desktop-config.yaml
+ sed -i -e 's;;ZnhrZGZ2eTh5MjNzaHV6cnZnNzExZjJlOG16ZG1xeGlyaXllM2dvbWJueDM0cWJrdnBkN25xc3VqNTBrNGFyZA==;' etc/sealos/desktop-config.yaml
+ create_tls_secret
+ grep -q '' manifests/tls-secret.yaml
+ echo 'mock tls secret'
mock tls secret
+ kubectl apply -f manifests/mock-cert.yaml
clusterissuer.cert-manager.io/selfsigned-issuer created
certificate.cert-manager.io/sealos-cloud created
+ echo 'mock tls cert has been created successfully.'
mock tls cert has been created successfully.
+ sealos_run_controller
+ sealos run tars/user.tar --env cloudDomain=192.168.1.252.nip.io --env apiserverPort=6443
Getting image source signatures
Copying blob 8f22c0779316 done
Copying config 652194af38 done
Writing manifest to image destination
Storing signatures
2023-10-03T10:56:27 info start to install app in this cluster
2023-10-03T10:56:27 info Executing SyncStatusAndCheck Pipeline in InstallProcessor
2023-10-03T10:56:27 info Executing ConfirmOverrideApps Pipeline in InstallProcessor
2023-10-03T10:56:27 info Executing PreProcess Pipeline in InstallProcessor
2023-10-03T10:56:27 info Executing pipeline MountRootfs in InstallProcessor.
2023-10-03T10:56:27 info Executing pipeline MirrorRegistry in InstallProcessor.
2023-10-03T10:56:27 info trying default http mode to sync images to hosts [192.168.1.252:22]
2023-10-03T10:56:33 info Executing UpgradeIfNeed Pipeline in InstallProcessor
namespace/user-system created
customresourcedefinition.apiextensions.k8s.io/deleterequests.user.sealos.io created
customresourcedefinition.apiextensions.k8s.io/operationrequests.user.sealos.io created
customresourcedefinition.apiextensions.k8s.io/users.user.sealos.io created
serviceaccount/user-controller-manager created
role.rbac.authorization.k8s.io/user-leader-election-role created
clusterrole.rbac.authorization.k8s.io/user-manager-role created
clusterrole.rbac.authorization.k8s.io/user-metrics-reader created
clusterrole.rbac.authorization.k8s.io/user-proxy-role created
rolebinding.rbac.authorization.k8s.io/user-leader-election-rolebinding created
clusterrolebinding.rbac.authorization.k8s.io/user-manager-rolebinding created
clusterrolebinding.rbac.authorization.k8s.io/user-proxy-rolebinding created
configmap/user-manager-config created
service/user-controller-manager-metrics-service created
service/user-webhook-service created
deployment.apps/user-controller-manager created
certificate.cert-manager.io/user-serving-cert created
issuer.cert-manager.io/user-selfsigned-issuer created
mutatingwebhookconfiguration.admissionregistration.k8s.io/user-mutating-webhook-configuration created
validatingwebhookconfiguration.admissionregistration.k8s.io/user-validating-webhook-configuration created
clusterrole.rbac.authorization.k8s.io/user-editor-role created
clusterrole.rbac.authorization.k8s.io/operationrequest-editor-role created
2023-10-03T10:56:40 info succeeded install app in this cluster
2023-10-03T10:56:40 info no nodes that need to be scaled
2023-10-03T10:56:40 info
      ___           ___           ___           ___       ___           ___
     /\  \         /\  \         /\  \         /\__\     /\  \         /\  \
    /::\  \       /::\  \       /::\  \       /:/  /    /::\  \       /::\  \
   /:/\ \  \     /:/\:\  \     /:/\:\  \     /:/  /    /:/\:\  \     /:/\ \  \
  _\:\~\ \  \   /::\~\:\  \   /::\~\:\  \   /:/  /    /:/  \:\  \   _\:\~\ \  \
 /\ \:\ \ \__\ /:/\:\ \:\__\ /:/\:\ \:\__\ /:/__/    /:/__/ \:\__\ /\ \:\ \ \__\
 \:\ \:\ \/__/ \:\~\:\ \/__/ \/__\:\/:/  / \:\  \    \:\  \ /:/  / \:\ \:\ \/__/
  \:\ \:\__\    \:\ \:\__\        \::/  /   \:\  \    \:\  /:/  /   \:\ \:\__\
   \:\/:/  /     \:\ \/__/        /:/  /     \:\  \    \:\/:/  /     \:\/:/  /
    \::/  /       \:\__\         /:/  /       \:\__\    \::/  /       \::/  /
     \/__/         \/__/         \/__/         \/__/     \/__/         \/__/

                  Website: https://www.sealos.io/
                  Address: github.com/labring/sealos
                  Version: 4.3.4-047cb263

+ sealos run tars/terminal.tar --env cloudDomain=192.168.1.252.nip.io --env cloudPort= --env userNamespace=user-system --env wildcardCertSecretName=wildcard-cert --env wildcardCertSecretNamespace=sealos-system
Getting image source signatures
Copying blob 74d36a6d9ff8 done
Copying config 89996f45eb done
Writing manifest to image destination
Storing signatures
2023-10-03T10:56:49 info start to install app in this cluster
2023-10-03T10:56:49 info Executing SyncStatusAndCheck Pipeline in InstallProcessor
2023-10-03T10:56:49 info Executing ConfirmOverrideApps Pipeline in InstallProcessor
2023-10-03T10:56:49 info Executing PreProcess Pipeline in InstallProcessor
2023-10-03T10:56:49 info Executing pipeline MountRootfs in InstallProcessor.
2023-10-03T10:56:50 info Executing pipeline MirrorRegistry in InstallProcessor.
2023-10-03T10:56:50 info trying default http mode to sync images to hosts [192.168.1.252:22]
2023-10-03T10:56:54 info Executing UpgradeIfNeed Pipeline in InstallProcessor
namespace/terminal-system created
customresourcedefinition.apiextensions.k8s.io/terminals.terminal.sealos.io created
serviceaccount/terminal-controller-manager created
role.rbac.authorization.k8s.io/terminal-leader-election-role created
clusterrole.rbac.authorization.k8s.io/terminal-manager-role created
clusterrole.rbac.authorization.k8s.io/terminal-metrics-reader created
clusterrole.rbac.authorization.k8s.io/terminal-proxy-role created
rolebinding.rbac.authorization.k8s.io/terminal-leader-election-rolebinding created
clusterrolebinding.rbac.authorization.k8s.io/terminal-manager-rolebinding created
clusterrolebinding.rbac.authorization.k8s.io/terminal-proxy-rolebinding created
configmap/terminal-manager-config created
service/terminal-controller-manager-metrics-service created
deployment.apps/terminal-controller-manager created
2023-10-03T10:57:03 info succeeded install app in this cluster
2023-10-03T10:57:03 info no nodes that need to be scaled
2023-10-03T10:57:03 info
      ___           ___           ___           ___       ___           ___
     /\  \         /\  \         /\  \         /\__\     /\  \         /\  \
    /::\  \       /::\  \       /::\  \       /:/  /    /::\  \       /::\  \
   /:/\ \  \     /:/\:\  \     /:/\:\  \     /:/  /    /:/\:\  \     /:/\ \  \
  _\:\~\ \  \   /::\~\:\  \   /::\~\:\  \   /:/  /    /:/  \:\  \   _\:\~\ \  \
 /\ \:\ \ \__\ /:/\:\ \:\__\ /:/\:\ \:\__\ /:/__/    /:/__/ \:\__\ /\ \:\ \ \__\
 \:\ \:\ \/__/ \:\~\:\ \/__/ \/__\:\/:/  / \:\  \    \:\  \ /:/  / \:\ \:\ \/__/
  \:\ \:\__\    \:\ \:\__\        \::/  /   \:\  \    \:\  /:/  /   \:\ \:\__\
   \:\/:/  /     \:\ \/__/        /:/  /     \:\  \    \:\/:/  /     \:\/:/  /
    \::/  /       \:\__\         /:/  /       \:\__\    \::/  /       \::/  /
     \/__/         \/__/         \/__/         \/__/     \/__/         \/__/

                  Website: https://www.sealos.io/
                  Address: github.com/labring/sealos
                  Version: 4.3.4-047cb263

+ sealos run tars/app.tar
Getting image source signatures
Copying blob 224c757f9a5d done
Copying config ac29929682 done
Writing manifest to image destination
Storing signatures
2023-10-03T10:57:12 info start to install app in this cluster
2023-10-03T10:57:12 info Executing SyncStatusAndCheck Pipeline in InstallProcessor
2023-10-03T10:57:12 info Executing ConfirmOverrideApps Pipeline in InstallProcessor
2023-10-03T10:57:12 info Executing PreProcess Pipeline in InstallProcessor
2023-10-03T10:57:12 info Executing pipeline MountRootfs in InstallProcessor.
2023-10-03T10:57:13 info Executing pipeline MirrorRegistry in InstallProcessor.
2023-10-03T10:57:13 info trying default http mode to sync images to hosts [192.168.1.252:22]
2023-10-03T10:57:15 info Executing UpgradeIfNeed Pipeline in InstallProcessor
namespace/app-system created
customresourcedefinition.apiextensions.k8s.io/apps.app.sealos.io created
serviceaccount/app-controller-manager created
role.rbac.authorization.k8s.io/app-leader-election-role created
clusterrole.rbac.authorization.k8s.io/app-manager-role created
clusterrole.rbac.authorization.k8s.io/app-metrics-reader created
clusterrole.rbac.authorization.k8s.io/app-proxy-role created
rolebinding.rbac.authorization.k8s.io/app-leader-election-rolebinding created
clusterrolebinding.rbac.authorization.k8s.io/app-manager-rolebinding created
clusterrolebinding.rbac.authorization.k8s.io/app-proxy-rolebinding created
service/app-controller-manager-metrics-service created
deployment.apps/app-controller-manager created
role.rbac.authorization.k8s.io/app-default-user created
rolebinding.rbac.authorization.k8s.io/app-default-user-rolebinding created
2023-10-03T10:57:23 info succeeded install app in this cluster
2023-10-03T10:57:23 info no nodes that need to be scaled
2023-10-03T10:57:23 info
      ___           ___           ___           ___       ___           ___
     /\  \         /\  \         /\  \         /\__\     /\  \         /\  \
    /::\  \       /::\  \       /::\  \       /:/  /    /::\  \       /::\  \
   /:/\ \  \     /:/\:\  \     /:/\:\  \     /:/  /    /:/\:\  \     /:/\ \  \
  _\:\~\ \  \   /::\~\:\  \   /::\~\:\  \   /:/  /    /:/  \:\  \   _\:\~\ \  \
 /\ \:\ \ \__\ /:/\:\ \:\__\ /:/\:\ \:\__\ /:/__/    /:/__/ \:\__\ /\ \:\ \ \__\
 \:\ \:\ \/__/ \:\~\:\ \/__/ \/__\:\/:/  / \:\  \    \:\  \ /:/  / \:\ \:\ \/__/
  \:\ \:\__\    \:\ \:\__\        \::/  /   \:\  \    \:\  /:/  /   \:\ \:\__\
   \:\/:/  /     \:\ \/__/        /:/  /     \:\  \    \:\/:/  /     \:\/:/  /
    \::/  /       \:\__\         /:/  /       \:\__\    \::/  /       \::/  /
     \/__/         \/__/         \/__/         \/__/     \/__/         \/__/

                  Website: https://www.sealos.io/
                  Address: github.com/labring/sealos
                  Version: 4.3.4-047cb263

+ sealos run tars/monitoring.tar --env MONGO_URI=mongodb://root:lw9hw8hl@sealos-mongodb-mongodb-0.sealos-mongodb-mongodb-headless.sealos.svc:27017 --env DEFAULT_NAMESPACE=resources-system
Getting image source signatures
Copying blob 85ecc7337778 done
Copying config 8520f368a0 done
Writing manifest to image destination
Storing signatures
2023-10-03T10:57:32 info start to install app in this cluster
2023-10-03T10:57:32 info Executing SyncStatusAndCheck Pipeline in InstallProcessor
2023-10-03T10:57:32 info Executing ConfirmOverrideApps Pipeline in InstallProcessor
2023-10-03T10:57:32 info Executing PreProcess Pipeline in InstallProcessor
2023-10-03T10:57:32 info Executing pipeline MountRootfs in InstallProcessor.
2023-10-03T10:57:33 info Executing pipeline MirrorRegistry in InstallProcessor.
2023-10-03T10:57:33 info trying default http mode to sync images to hosts [192.168.1.252:22]
2023-10-03T10:57:38 info Executing UpgradeIfNeed Pipeline in InstallProcessor
namespace/resources-system created
serviceaccount/resources-controller-manager created
role.rbac.authorization.k8s.io/resources-leader-election-role created
clusterrole.rbac.authorization.k8s.io/resources-manager-role created
clusterrole.rbac.authorization.k8s.io/resources-metrics-reader created
clusterrole.rbac.authorization.k8s.io/resources-proxy-role created
rolebinding.rbac.authorization.k8s.io/resources-leader-election-rolebinding created
clusterrolebinding.rbac.authorization.k8s.io/resources-manager-rolebinding created
clusterrolebinding.rbac.authorization.k8s.io/resources-proxy-rolebinding created
configmap/resources-manager-config created
service/resources-controller-manager-metrics-service created
deployment.apps/resources-controller-manager created
secret/mongo-secret created
2023-10-03T10:57:48 info succeeded install app in this cluster
2023-10-03T10:57:48 info no nodes that need to be scaled
2023-10-03T10:57:48 info
      ___           ___           ___           ___       ___           ___
     /\  \         /\  \         /\  \         /\__\     /\  \         /\  \
    /::\  \       /::\  \       /::\  \       /:/  /    /::\  \       /::\  \
   /:/\ \  \     /:/\:\  \     /:/\:\  \     /:/  /    /:/\:\  \     /:/\ \  \
  _\:\~\ \  \   /::\~\:\  \   /::\~\:\  \   /:/  /    /:/  \:\  \   _\:\~\ \  \
 /\ \:\ \ \__\ /:/\:\ \:\__\ /:/\:\ \:\__\ /:/__/    /:/__/ \:\__\ /\ \:\ \ \__\
 \:\ \:\ \/__/ \:\~\:\ \/__/ \/__\:\/:/  / \:\  \    \:\  \ /:/  / \:\ \:\ \/__/
  \:\ \:\__\    \:\ \:\__\        \::/  /   \:\  \    \:\  /:/  /   \:\ \:\__\
   \:\/:/  /     \:\ \/__/        /:/  /     \:\  \    \:\/:/  /     \:\/:/  /
    \::/  /       \:\__\         /:/  /       \:\__\    \::/  /       \::/  /
     \/__/         \/__/         \/__/         \/__/     \/__/         \/__/

                  Website: https://www.sealos.io/
                  Address: github.com/labring/sealos
                  Version: 4.3.4-047cb263

+ sealos run tars/metering.tar --env MONGO_URI=mongodb://root:lw9hw8hl@sealos-mongodb-mongodb-0.sealos-mongodb-mongodb-headless.sealos.svc:27017 --env DEFAULT_NAMESPACE=resources-system
Getting image source signatures
Copying blob 241a43e3badb done
Copying config ebf29e696f done
Writing manifest to image destination
Storing signatures
2023-10-03T10:57:53 info start to install app in this cluster
2023-10-03T10:57:53 info Executing SyncStatusAndCheck Pipeline in InstallProcessor
2023-10-03T10:57:53 info Executing ConfirmOverrideApps Pipeline in InstallProcessor
2023-10-03T10:57:53 info Executing PreProcess Pipeline in InstallProcessor
2023-10-03T10:57:54 info Executing pipeline MountRootfs in InstallProcessor.
2023-10-03T10:57:54 info Executing pipeline MirrorRegistry in InstallProcessor.
2023-10-03T10:57:54 info trying default http mode to sync images to hosts [192.168.1.252:22]
2023-10-03T10:57:56 info Executing UpgradeIfNeed Pipeline in InstallProcessor
namespace/resources-system unchanged
deployment.apps/resources-metering-manager created
Error from server (AlreadyExists): error when creating "manifests/mongo-secret.yaml": secrets "mongo-secret" already exists
2023-10-03T10:58:01 info succeeded install app in this cluster
2023-10-03T10:58:01 info no nodes that need to be scaled
2023-10-03T10:58:01 info
      ___           ___           ___           ___       ___           ___
     /\  \         /\  \         /\  \         /\__\     /\  \         /\  \
    /::\  \       /::\  \       /::\  \       /:/  /    /::\  \       /::\  \
   /:/\ \  \     /:/\:\  \     /:/\:\  \     /:/  /    /:/\:\  \     /:/\ \  \
  _\:\~\ \  \   /::\~\:\  \   /::\~\:\  \   /:/  /    /:/  \:\  \   _\:\~\ \  \
 /\ \:\ \ \__\ /:/\:\ \:\__\ /:/\:\ \:\__\ /:/__/    /:/__/ \:\__\ /\ \:\ \ \__\
 \:\ \:\ \/__/ \:\~\:\ \/__/ \/__\:\/:/  / \:\  \    \:\  \ /:/  / \:\ \:\ \/__/
  \:\ \:\__\    \:\ \:\__\        \::/  /   \:\  \    \:\  /:/  /   \:\ \:\__\
   \:\/:/  /     \:\ \/__/        /:/  /     \:\  \    \:\/:/  /     \:\/:/  /
    \::/  /       \:\__\         /:/  /       \:\__\    \::/  /       \::/  /
     \/__/         \/__/         \/__/         \/__/     \/__/         \/__/

                  Website: https://www.sealos.io/
                  Address: github.com/labring/sealos
                  Version: 4.3.4-047cb263

+ sealos run tars/account.tar --env MONGO_URI=mongodb://root:lw9hw8hl@sealos-mongodb-mongodb-0.sealos-mongodb-mongodb-headless.sealos.svc:27017 --env cloudDomain=192.168.1.252.nip.io --env cloudPort= --env DEFAULT_NAMESPACE=account-system
Getting image source signatures
Copying blob c7e23dd6ba00 done
Copying config a721a27f79 done
Writing manifest to image destination
Storing signatures
2023-10-03T10:58:08 info start to install app in this cluster
2023-10-03T10:58:08 info Executing SyncStatusAndCheck Pipeline in InstallProcessor
2023-10-03T10:58:08 info Executing ConfirmOverrideApps Pipeline in InstallProcessor
2023-10-03T10:58:08 info Executing PreProcess Pipeline in InstallProcessor
2023-10-03T10:58:08 info Executing pipeline MountRootfs in InstallProcessor.
2023-10-03T10:58:08 info Executing pipeline MirrorRegistry in InstallProcessor.
2023-10-03T10:58:08 info trying default http mode to sync images to hosts [192.168.1.252:22]
2023-10-03T10:58:12 info Executing UpgradeIfNeed Pipeline in InstallProcessor
namespace/account-system created
secret/mongo-secret created
Warning: resource namespaces/account-system is missing the kubectl.kubernetes.io/last-applied-configuration annotation which is required by kubectl apply. kubectl apply should only be used on resources created declaratively by either kubectl create --save-config or kubectl apply. The missing annotation will be patched automatically.
namespace/account-system configured
customresourcedefinition.apiextensions.k8s.io/accountbalances.account.sealos.io created
customresourcedefinition.apiextensions.k8s.io/accounts.account.sealos.io created
customresourcedefinition.apiextensions.k8s.io/billingrecordqueries.account.sealos.io created
customresourcedefinition.apiextensions.k8s.io/debts.account.sealos.io created
customresourcedefinition.apiextensions.k8s.io/payments.account.sealos.io created
customresourcedefinition.apiextensions.k8s.io/pricequeries.account.sealos.io created
customresourcedefinition.apiextensions.k8s.io/transfers.account.sealos.io created
serviceaccount/account-controller-manager created
role.rbac.authorization.k8s.io/account-leader-election-role created
clusterrole.rbac.authorization.k8s.io/account-manager-role created
clusterrole.rbac.authorization.k8s.io/account-metrics-reader created
clusterrole.rbac.authorization.k8s.io/account-proxy-role created
rolebinding.rbac.authorization.k8s.io/account-leader-election-rolebinding created
clusterrolebinding.rbac.authorization.k8s.io/account-manager-rolebinding created
clusterrolebinding.rbac.authorization.k8s.io/account-proxy-rolebinding created
configmap/account-manager-config created
service/account-controller-manager-metrics-service created
service/account-webhook-service created
deployment.apps/account-controller-manager created
certificate.cert-manager.io/account-serving-cert created
issuer.cert-manager.io/account-selfsigned-issuer created
mutatingwebhookconfiguration.admissionregistration.k8s.io/account-mutating-webhook-configuration created
2023-10-03T10:58:26 info succeeded install app in this cluster
2023-10-03T10:58:26 info no nodes that need to be scaled
2023-10-03T10:58:26 info
      ___           ___           ___           ___       ___           ___
     /\  \         /\  \         /\  \         /\__\     /\  \         /\  \
    /::\  \       /::\  \       /::\  \       /:/  /    /::\  \       /::\  \
   /:/\ \  \     /:/\:\  \     /:/\:\  \     /:/  /    /:/\:\  \     /:/\ \  \
  _\:\~\ \  \   /::\~\:\  \   /::\~\:\  \   /:/  /    /:/  \:\  \   _\:\~\ \  \
 /\ \:\ \ \__\ /:/\:\ \:\__\ /:/\:\ \:\__\ /:/__/    /:/__/ \:\__\ /\ \:\ \ \__\
 \:\ \:\ \/__/ \:\~\:\ \/__/ \/__\:\/:/  / \:\  \    \:\  \ /:/  / \:\ \:\ \/__/
  \:\ \:\__\    \:\ \:\__\        \::/  /   \:\  \    \:\  /:/  /   \:\ \:\__\
   \:\/:/  /     \:\ \/__/        /:/  /     \:\  \    \:\/:/  /     \:\/:/  /
    \::/  /       \:\__\         /:/  /       \:\__\    \::/  /       \::/  /
     \/__/         \/__/         \/__/         \/__/     \/__/         \/__/

                  Website: https://www.sealos.io/
                  Address: github.com/labring/sealos
                  Version: 4.3.4-047cb263

+ sealos run tars/licenseissuer.tar --env canConnectToExternalNetwork=true --env enableMonitor=true --env MongoURI=mongodb://root:lw9hw8hl@sealos-mongodb-mongodb-0.sealos-mongodb-mongodb-headless.sealos.svc:27017 --env PasswordSalt=ZnhrZGZ2eTh5MjNzaHV6cnZnNzExZjJlOG16ZG1xeGlyaXllM2dvbWJueDM0cWJrdnBkN25xc3VqNTBrNGFyZA==
Getting image source signatures
Copying blob 33908565bcf7 done
Copying config b186cc9eb8 done
Writing manifest to image destination
Storing signatures
2023-10-03T10:58:40 info start to install app in this cluster
2023-10-03T10:58:40 info Executing SyncStatusAndCheck Pipeline in InstallProcessor
2023-10-03T10:58:40 info Executing ConfirmOverrideApps Pipeline in InstallProcessor
2023-10-03T10:58:40 info Executing PreProcess Pipeline in InstallProcessor
2023-10-03T10:58:40 info Executing pipeline MountRootfs in InstallProcessor.
2023-10-03T10:58:41 info Executing pipeline MirrorRegistry in InstallProcessor.
2023-10-03T10:58:41 info trying default http mode to sync images to hosts [192.168.1.252:22]
2023-10-03T10:58:49 info Executing UpgradeIfNeed Pipeline in InstallProcessor
Namespace sealos-system already exists. Skipping creation.
namespace/sealos-system configured
customresourcedefinition.apiextensions.k8s.io/launchers.infostream.sealos.io created
customresourcedefinition.apiextensions.k8s.io/licenses.infostream.sealos.io created
serviceaccount/licenseissuer-controller-manager created
role.rbac.authorization.k8s.io/licenseissuer-leader-election-role created
clusterrole.rbac.authorization.k8s.io/licenseissuer-manager-role created
clusterrole.rbac.authorization.k8s.io/licenseissuer-metrics-reader created
clusterrole.rbac.authorization.k8s.io/licenseissuer-proxy-role created
rolebinding.rbac.authorization.k8s.io/licenseissuer-leader-election-rolebinding created
clusterrolebinding.rbac.authorization.k8s.io/licenseissuer-manager-rolebinding created
clusterrolebinding.rbac.authorization.k8s.io/licenseissuer-proxy-rolebinding created
service/licenseissuer-controller-manager-metrics-service created
deployment.apps/licenseissuer-controller-manager created
secret/licenseissuer-env created
configmap/url-config created
configmap/license-history created
2023-10-03T10:58:59 info succeeded install app in this cluster
2023-10-03T10:58:59 info no nodes that need to be scaled
2023-10-03T10:58:59 info
      ___           ___           ___           ___       ___           ___
     /\  \         /\  \         /\  \         /\__\     /\  \         /\  \
    /::\  \       /::\  \       /::\  \       /:/  /    /::\  \       /::\  \
   /:/\ \  \     /:/\:\  \     /:/\:\  \     /:/  /    /:/\:\  \     /:/\ \  \
  _\:\~\ \  \   /::\~\:\  \   /::\~\:\  \   /:/  /    /:/  \:\  \   _\:\~\ \  \
 /\ \:\ \ \__\ /:/\:\ \:\__\ /:/\:\ \:\__\ /:/__/    /:/__/ \:\__\ /\ \:\ \ \__\
 \:\ \:\ \/__/ \:\~\:\ \/__/ \/__\:\/:/  / \:\  \    \:\  \ /:/  / \:\ \:\ \/__/
  \:\ \:\__\    \:\ \:\__\        \::/  /   \:\  \    \:\  /:/  /   \:\ \:\__\
   \:\/:/  /     \:\ \/__/        /:/  /     \:\  \    \:\/:/  /     \:\/:/  /
    \::/  /       \:\__\         /:/  /       \:\__\    \::/  /       \::/  /
     \/__/         \/__/         \/__/         \/__/     \/__/         \/__/

                  Website: https://www.sealos.io/
                  Address: github.com/labring/sealos
                  Version: 4.3.4-047cb263

+ sealos_run_frontend
+ echo 'run desktop frontend'
run desktop frontend
+ sealos run tars/frontend-desktop.tar --env cloudDomain=192.168.1.252.nip.io --env cloudPort= --env certSecretName=wildcard-cert --env passwordEnabled=true --config-file etc/sealos/desktop-config.yaml
Getting image source signatures
Copying blob 6d1dbf31b689 done
Copying config 851794d848 done
Writing manifest to image destination
Storing signatures
2023-10-03T10:59:11 info start to install app in this cluster
2023-10-03T10:59:11 info Executing SyncStatusAndCheck Pipeline in InstallProcessor
2023-10-03T10:59:11 info Executing ConfirmOverrideApps Pipeline in InstallProcessor
2023-10-03T10:59:11 info Executing PreProcess Pipeline in InstallProcessor
2023-10-03T10:59:11 info Executing pipeline MountRootfs in InstallProcessor.
2023-10-03T10:59:12 info Executing pipeline MirrorRegistry in InstallProcessor.
2023-10-03T10:59:12 info trying default http mode to sync images to hosts [192.168.1.252:22]
2023-10-03T10:59:21 info Executing UpgradeIfNeed Pipeline in InstallProcessor
+ kubectl apply -f manifests/deploy.yaml -f manifests/rbac.yaml -f manifests/ingress.yaml
serviceaccount/desktop-frontend created
service/desktop-frontend created
configmap/desktop-frontend-config created
deployment.apps/desktop-frontend created
clusterrole.rbac.authorization.k8s.io/auth-system-manager-role created
clusterrolebinding.rbac.authorization.k8s.io/desktop-user-editor-role-binding created
clusterrolebinding.rbac.authorization.k8s.io/desktop-operationrequest-editor-role-binding created
ingress.networking.k8s.io/sealos-desktop created
++ kubectl get secret desktop-frontend-secret -n sealos --ignore-not-found=true
+ secret_exists=
+ [[ -n '' ]]
+ echo 'create desktop secret'
create desktop secret
+ kubectl apply -f manifests/secret.yaml
secret/desktop-frontend-secret created
2023-10-03T10:59:35 info succeeded install app in this cluster
2023-10-03T10:59:35 info no nodes that need to be scaled
2023-10-03T10:59:35 info
      ___           ___           ___           ___       ___           ___
     /\  \         /\  \         /\  \         /\__\     /\  \         /\  \
    /::\  \       /::\  \       /::\  \       /:/  /    /::\  \       /::\  \
   /:/\ \  \     /:/\:\  \     /:/\:\  \     /:/  /    /:/\:\  \     /:/\ \  \
  _\:\~\ \  \   /::\~\:\  \   /::\~\:\  \   /:/  /    /:/  \:\  \   _\:\~\ \  \
 /\ \:\ \ \__\ /:/\:\ \:\__\ /:/\:\ \:\__\ /:/__/    /:/__/ \:\__\ /\ \:\ \ \__\
 \:\ \:\ \/__/ \:\~\:\ \/__/ \/__\:\/:/  / \:\  \    \:\  \ /:/  / \:\ \:\ \/__/
  \:\ \:\__\    \:\ \:\__\        \::/  /   \:\  \    \:\  /:/  /   \:\ \:\__\
   \:\/:/  /     \:\ \/__/        /:/  /     \:\  \    \:\/:/  /     \:\/:/  /
    \::/  /       \:\__\         /:/  /       \:\__\    \::/  /       \::/  /
     \/__/         \/__/         \/__/         \/__/     \/__/         \/__/

                  Website: https://www.sealos.io/
                  Address: github.com/labring/sealos
                  Version: 4.3.4-047cb263

+ echo 'run applaunchpad frontend'
run applaunchpad frontend
+ sealos run tars/frontend-applaunchpad.tar --env cloudDomain=192.168.1.252.nip.io --env cloudPort= --env certSecretName=wildcard-cert
Getting image source signatures
Copying blob 902b9b76f1f0 done
Copying config 739270586b done
Writing manifest to image destination
Storing signatures
2023-10-03T10:59:58 info start to install app in this cluster
2023-10-03T10:59:58 info Executing SyncStatusAndCheck Pipeline in InstallProcessor
2023-10-03T10:59:58 info Executing ConfirmOverrideApps Pipeline in InstallProcessor
2023-10-03T10:59:58 info Executing PreProcess Pipeline in InstallProcessor
2023-10-03T10:59:58 info Executing pipeline MountRootfs in InstallProcessor.
2023-10-03T11:00:00 info Executing pipeline MirrorRegistry in InstallProcessor.
2023-10-03T11:00:00 info trying default http mode to sync images to hosts [192.168.1.252:22]
2023-10-03T11:00:13 info Executing UpgradeIfNeed Pipeline in InstallProcessor
app.app.sealos.io/applaunchpad created
namespace/applaunchpad-frontend created
configmap/applaunchpad-frontend-config created
deployment.apps/applaunchpad-frontend created
service/applaunchpad-frontend created
ingress.networking.k8s.io/applaunchpad-frontend created
2023-10-03T11:00:17 info succeeded install app in this cluster
2023-10-03T11:00:17 info no nodes that need to be scaled
2023-10-03T11:00:17 info
      ___           ___           ___           ___       ___           ___
     /\  \         /\  \         /\  \         /\__\     /\  \         /\  \
    /::\  \       /::\  \       /::\  \       /:/  /    /::\  \       /::\  \
   /:/\ \  \     /:/\:\  \     /:/\:\  \     /:/  /    /:/\:\  \     /:/\ \  \
  _\:\~\ \  \   /::\~\:\  \   /::\~\:\  \   /:/  /    /:/  \:\  \   _\:\~\ \  \
 /\ \:\ \ \__\ /:/\:\ \:\__\ /:/\:\ \:\__\ /:/__/    /:/__/ \:\__\ /\ \:\ \ \__\
 \:\ \:\ \/__/ \:\~\:\ \/__/ \/__\:\/:/  / \:\  \    \:\  \ /:/  / \:\ \:\ \/__/
  \:\ \:\__\    \:\ \:\__\        \::/  /   \:\  \    \:\  /:/  /   \:\ \:\__\
   \:\/:/  /     \:\ \/__/        /:/  /     \:\  \    \:\/:/  /     \:\/:/  /
    \::/  /       \:\__\         /:/  /       \:\__\    \::/  /       \::/  /
     \/__/         \/__/         \/__/         \/__/     \/__/         \/__/

                  Website: https://www.sealos.io/
                  Address: github.com/labring/sealos
                  Version: 4.3.4-047cb263

+ echo 'run terminal frontend'
run terminal frontend
+ sealos run tars/frontend-terminal.tar --env cloudDomain=192.168.1.252.nip.io --env cloudPort= --env certSecretName=wildcard-cert
Getting image source signatures
Copying blob bbc0c99b5fd1 done
Copying config e3d45f1ee1 done
Writing manifest to image destination
Storing signatures
2023-10-03T11:01:17 info start to install app in this cluster
2023-10-03T11:01:17 info Executing SyncStatusAndCheck Pipeline in InstallProcessor
2023-10-03T11:01:17 info Executing ConfirmOverrideApps Pipeline in InstallProcessor
2023-10-03T11:01:17 info Executing PreProcess Pipeline in InstallProcessor
2023-10-03T11:01:17 info Executing pipeline MountRootfs in InstallProcessor.
2023-10-03T11:01:21 info Executing pipeline MirrorRegistry in InstallProcessor.
2023-10-03T11:01:21 info trying default http mode to sync images to hosts [192.168.1.252:22]
2023-10-03T11:01:43 info Executing UpgradeIfNeed Pipeline in InstallProcessor
app.app.sealos.io/terminal created
namespace/terminal-frontend created
configmap/terminal-frontend-config created
deployment.apps/terminal-frontend created
service/terminal-frontend created
ingress.networking.k8s.io/sealos-terminal created
2023-10-03T11:01:47 info succeeded install app in this cluster
2023-10-03T11:01:47 info no nodes that need to be scaled
2023-10-03T11:01:47 info
      ___           ___           ___           ___       ___           ___
     /\  \         /\  \         /\  \         /\__\     /\  \         /\  \
    /::\  \       /::\  \       /::\  \       /:/  /    /::\  \       /::\  \
   /:/\ \  \     /:/\:\  \     /:/\:\  \     /:/  /    /:/\:\  \     /:/\ \  \
  _\:\~\ \  \   /::\~\:\  \   /::\~\:\  \   /:/  /    /:/  \:\  \   _\:\~\ \  \
 /\ \:\ \ \__\ /:/\:\ \:\__\ /:/\:\ \:\__\ /:/__/    /:/__/ \:\__\ /\ \:\ \ \__\
 \:\ \:\ \/__/ \:\~\:\ \/__/ \/__\:\/:/  / \:\  \    \:\  \ /:/  / \:\ \:\ \/__/
  \:\ \:\__\    \:\ \:\__\        \::/  /   \:\  \    \:\  /:/  /   \:\ \:\__\
   \:\/:/  /     \:\ \/__/        /:/  /     \:\  \    \:\/:/  /     \:\/:/  /
    \::/  /       \:\__\         /:/  /       \:\__\    \::/  /       \::/  /
     \/__/         \/__/         \/__/         \/__/     \/__/         \/__/

                  Website: https://www.sealos.io/
                  Address: github.com/labring/sealos
                  Version: 4.3.4-047cb263

+ echo 'run dbprovider frontend'
run dbprovider frontend
+ sealos run tars/frontend-dbprovider.tar --env cloudDomain=192.168.1.252.nip.io --env cloudPort= --env certSecretName=wildcard-cert
Getting image source signatures
Copying blob 80a3bda0ca39 done
Copying config 10f39b5259 done
Writing manifest to image destination
Storing signatures
2023-10-03T11:01:59 info start to install app in this cluster
2023-10-03T11:01:59 info Executing SyncStatusAndCheck Pipeline in InstallProcessor
2023-10-03T11:01:59 info Executing ConfirmOverrideApps Pipeline in InstallProcessor
2023-10-03T11:01:59 info Executing PreProcess Pipeline in InstallProcessor
2023-10-03T11:01:59 info Executing pipeline MountRootfs in InstallProcessor.
2023-10-03T11:02:00 info Executing pipeline MirrorRegistry in InstallProcessor.
2023-10-03T11:02:00 info trying default http mode to sync images to hosts [192.168.1.252:22]
2023-10-03T11:02:03 info Executing UpgradeIfNeed Pipeline in InstallProcessor
app.app.sealos.io/dbprovider created
namespace/dbprovider-frontend created
configmap/dbprovider-frontend-config created
deployment.apps/dbprovider-frontend created
service/dbprovider-frontend created
ingress.networking.k8s.io/dbprovider-frontend created
serviceaccount/cluster-version-reader created
clusterrole.rbac.authorization.k8s.io/cluster-version-reader created
clusterrolebinding.rbac.authorization.k8s.io/cluster-version-reader-rolebinding created
2023-10-03T11:02:09 info succeeded install app in this cluster
2023-10-03T11:02:09 info no nodes that need to be scaled
2023-10-03T11:02:09 info
      ___           ___           ___           ___       ___           ___
     /\  \         /\  \         /\  \         /\__\     /\  \         /\  \
    /::\  \       /::\  \       /::\  \       /:/  /    /::\  \       /::\  \
   /:/\ \  \     /:/\:\  \     /:/\:\  \     /:/  /    /:/\:\  \     /:/\ \  \
  _\:\~\ \  \   /::\~\:\  \   /::\~\:\  \   /:/  /    /:/  \:\  \   _\:\~\ \  \
 /\ \:\ \ \__\ /:/\:\ \:\__\ /:/\:\ \:\__\ /:/__/    /:/__/ \:\__\ /\ \:\ \ \__\
 \:\ \:\ \/__/ \:\~\:\ \/__/ \/__\:\/:/  / \:\  \    \:\  \ /:/  / \:\ \:\ \/__/
  \:\ \:\__\    \:\ \:\__\        \::/  /   \:\  \    \:\  /:/  /   \:\ \:\__\
   \:\/:/  /     \:\ \/__/        /:/  /     \:\  \    \:\/:/  /     \:\/:/  /
    \::/  /       \:\__\         /:/  /       \:\__\    \::/  /       \::/  /
     \/__/         \/__/         \/__/         \/__/     \/__/         \/__/

                  Website: https://www.sealos.io/
                  Address: github.com/labring/sealos
                  Version: 4.3.4-047cb263

+ echo 'run cost center frontend'
run cost center frontend
+ sealos run tars/frontend-costcenter.tar --env cloudDomain=192.168.1.252.nip.io --env cloudPort= --env certSecretName=wildcard-cert --env transferEnabled=true --env rechargeEnabled=false
Getting image source signatures
Copying blob cd27d2ff6d0e done
Copying config 38177d09ee done
Writing manifest to image destination
Storing signatures
2023-10-03T11:02:23 info start to install app in this cluster
2023-10-03T11:02:23 info Executing SyncStatusAndCheck Pipeline in InstallProcessor
2023-10-03T11:02:23 info Executing ConfirmOverrideApps Pipeline in InstallProcessor
2023-10-03T11:02:23 info Executing PreProcess Pipeline in InstallProcessor
2023-10-03T11:02:23 info Executing pipeline MountRootfs in InstallProcessor.
2023-10-03T11:02:24 info Executing pipeline MirrorRegistry in InstallProcessor.
2023-10-03T11:02:24 info trying default http mode to sync images to hosts [192.168.1.252:22]
2023-10-03T11:02:27 info Executing UpgradeIfNeed Pipeline in InstallProcessor
app.app.sealos.io/costcenter created
namespace/costcenter-frontend created
configmap/costcenter-frontend-config created
deployment.apps/costcenter-frontend created
service/costcenter-frontend created
ingress.networking.k8s.io/sealos-costcenter created
2023-10-03T11:02:30 info succeeded install app in this cluster
2023-10-03T11:02:30 info no nodes that need to be scaled
2023-10-03T11:02:30 info
      ___           ___           ___           ___       ___           ___
     /\  \         /\  \         /\  \         /\__\     /\  \         /\  \
    /::\  \       /::\  \       /::\  \       /:/  /    /::\  \       /::\  \
   /:/\ \  \     /:/\:\  \     /:/\:\  \     /:/  /    /:/\:\  \     /:/\ \  \
  _\:\~\ \  \   /::\~\:\  \   /::\~\:\  \   /:/  /    /:/  \:\  \   _\:\~\ \  \
 /\ \:\ \ \__\ /:/\:\ \:\__\ /:/\:\ \:\__\ /:/__/    /:/__/ \:\__\ /\ \:\ \ \__\
 \:\ \:\ \/__/ \:\~\:\ \/__/ \/__\:\/:/  / \:\  \    \:\  \ /:/  / \:\ \:\ \/__/
  \:\ \:\__\    \:\ \:\__\        \::/  /   \:\  \    \:\  /:/  /   \:\ \:\__\
   \:\/:/  /     \:\ \/__/        /:/  /     \:\  \    \:\/:/  /     \:\/:/  /
    \::/  /       \:\__\         /:/  /       \:\__\    \::/  /       \::/  /
     \/__/         \/__/         \/__/         \/__/     \/__/         \/__/

                  Website: https://www.sealos.io/
                  Address: github.com/labring/sealos
                  Version: 4.3.4-047cb263

+ echo 'run template frontend'
run template frontend
+ sealos run tars/frontend-template.tar --env cloudDomain=192.168.1.252.nip.io --env cloudPort= --env certSecretName=wildcard-cert
Getting image source signatures
Copying blob a7f08ca4f76d done
Copying config 060f7683be done
Writing manifest to image destination
Storing signatures
2023-10-03T11:02:42 info start to install app in this cluster
2023-10-03T11:02:42 info Executing SyncStatusAndCheck Pipeline in InstallProcessor
2023-10-03T11:02:42 info Executing ConfirmOverrideApps Pipeline in InstallProcessor
2023-10-03T11:02:42 info Executing PreProcess Pipeline in InstallProcessor
2023-10-03T11:02:42 info Executing pipeline MountRootfs in InstallProcessor.
2023-10-03T11:02:43 info Executing pipeline MirrorRegistry in InstallProcessor.
2023-10-03T11:02:43 info trying default http mode to sync images to hosts [192.168.1.252:22]
2023-10-03T11:02:47 info Executing UpgradeIfNeed Pipeline in InstallProcessor
app.app.sealos.io/template created
namespace/template-frontend created
configmap/template-frontend-config created
deployment.apps/template-frontend created
service/template-frontend created
ingress.networking.k8s.io/template-frontend created
2023-10-03T11:02:51 info succeeded install app in this cluster
2023-10-03T11:02:51 info no nodes that need to be scaled
2023-10-03T11:02:51 info
      ___           ___           ___           ___       ___           ___
     /\  \         /\  \         /\  \         /\__\     /\  \         /\  \
    /::\  \       /::\  \       /::\  \       /:/  /    /::\  \       /::\  \
   /:/\ \  \     /:/\:\  \     /:/\:\  \     /:/  /    /:/\:\  \     /:/\ \  \
  _\:\~\ \  \   /::\~\:\  \   /::\~\:\  \   /:/  /    /:/  \:\  \   _\:\~\ \  \
 /\ \:\ \ \__\ /:/\:\ \:\__\ /:/\:\ \:\__\ /:/__/    /:/__/ \:\__\ /\ \:\ \ \__\
 \:\ \:\ \/__/ \:\~\:\ \/__/ \/__\:\/:/  / \:\  \    \:\  \ /:/  / \:\ \:\ \/__/
  \:\ \:\__\    \:\ \:\__\        \::/  /   \:\  \    \:\  /:/  /   \:\ \:\__\
   \:\/:/  /     \:\ \/__/        /:/  /     \:\  \    \:\/:/  /     \:\/:/  /
    \::/  /       \:\__\         /:/  /       \:\__\    \::/  /       \::/  /
     \/__/         \/__/         \/__/         \/__/     \/__/         \/__/

                  Website: https://www.sealos.io/
                  Address: github.com/labring/sealos
                  Version: 4.3.4-047cb263

+ sealos_authorize
+ set +x
start to authorize sealos
create admin-user
user.user.sealos.io/admin created
waiting for admin-user generated, this may take a few minutes
license issue for admin-user
license.infostream.sealos.io/license created
2023-10-03T11:03:00 info succeeded install app in this cluster
2023-10-03T11:03:00 info no nodes that need to be scaled
2023-10-03T11:03:00 info
      ___           ___           ___           ___       ___           ___
     /\  \         /\  \         /\  \         /\__\     /\  \         /\  \
    /::\  \       /::\  \       /::\  \       /:/  /    /::\  \       /::\  \
   /:/\ \  \     /:/\:\  \     /:/\:\  \     /:/  /    /:/\:\  \     /:/\ \  \
  _\:\~\ \  \   /::\~\:\  \   /::\~\:\  \   /:/  /    /:/  \:\  \   _\:\~\ \  \
 /\ \:\ \ \__\ /:/\:\ \:\__\ /:/\:\ \:\__\ /:/__/    /:/__/ \:\__\ /\ \:\ \ \__\
 \:\ \:\ \/__/ \:\~\:\ \/__/ \/__\:\/:/  / \:\  \    \:\  \ /:/  / \:\ \:\ \/__/
  \:\ \:\__\    \:\ \:\__\        \::/  /   \:\  \    \:\  /:/  /   \:\ \:\__\
   \:\/:/  /     \:\ \/__/        /:/  /     \:\  \    \:\/:/  /     \:\/:/  /
    \::/  /       \:\__\         /:/  /       \:\__\    \::/  /       \::/  /
     \/__/         \/__/         \/__/         \/__/     \/__/         \/__/

                  Website: https://www.sealos.io/
                  Address: github.com/labring/sealos
                  Version: 4.3.4-047cb263

root@ubuntu:~#
root@ubuntu:~# date
Tue 03 Oct 2023 11:25:02 AM UTC
root@ubuntu:~# timedatectl set-timezone Asia/Shanghai
root@ubuntu:~# date
Tue 03 Oct 2023 07:25:23 PM CST
root@ubuntu:~# date -R
Tue, 03 Oct 2023 19:25:26 +0800
root@ubuntu:~# free -h
              total        used        free      shared  buff/cache   available
Mem:          3.8Gi       2.4Gi       195Mi        31Mi       1.2Gi       1.1Gi
Swap:            0B          0B          0B
root@ubuntu:~# date
Tue 03 Oct 2023 07:33:18 PM CST
root@ubuntu:~# reboot

你可能感兴趣的:(ubuntu,linux,运维)