Commit Graph
51 Commits
Author SHA1 Message Date
cuisongliu 88c1746ba7 feature(main): add cert cmd for append certs (#2116)
* feature(main): add cert cmd for append certs

Signed-off-by: cuisongliu <cuisongliu@qq.com>

* feature(main): add cert cmd

Signed-off-by: cuisongliu <cuisongliu@qq.com>

Signed-off-by: cuisongliu <cuisongliu@qq.com>
2022-12-21 14:27:17 +08:00
fengxsong 2ca3820604 refactor buildah interface, arguments as flagsetters (#2281)
Signed-off-by: fengxsong <fengxsong@outlook.com>

Signed-off-by: fengxsong <fengxsong@outlook.com>
2022-12-19 16:28:48 +08:00
fengxsong 8538cd8fc4 fix: skip handling app type image while scaling cluster (#2273)
Signed-off-by: fengxsong <fengxsong@outlook.com>
2022-12-16 15:02:08 +08:00
cuisongliu 09313670ef feature(main): support sys env SEALOS_SYS_KUBE_VERSION,SEALOS_SYS_VERSION_MAJOR,SEALOS_SYS_VERSION_MINOR (#2240)
Signed-off-by: cuisongliu <cuisongliu@qq.com>
2022-12-11 16:43:35 +08:00
fengxsong b2c277d244 fix: #2232 force override when the prompted answer is yes (#2237)
Signed-off-by: fengxsong <fengxsong@outlook.com>

Signed-off-by: fengxsong <fengxsong@outlook.com>
2022-12-10 22:13:04 +08:00
fengxsong 0eb9962229 feat: run sealos without root privileges (#2163)
* refactor: migrate buildah's subcommands

Signed-off-by: fengxsong <fengxsong@outlook.com>

* feat: rootless mode(almost done)

Signed-off-by: fengxsong <fengxsong@outlook.com>

* fix: set default values for --platform

Signed-off-by: fengxsong <fengxsong@outlook.com>

* fix: meet ci requirements

Signed-off-by: fengxsong <fengxsong@outlook.com>

* ci: add build-deps

Signed-off-by: fengxsong <fengxsong@outlook.com>

* style: define constants

Signed-off-by: fengxsong <fengxsong@outlook.com>

* feat: provide function to register default appliers

Signed-off-by: fengxsong <fengxsong@outlook.com>

* style: fix short descriptions of all subcommands

Signed-off-by: fengxsong <fengxsong@outlook.com>

Signed-off-by: fengxsong <fengxsong@outlook.com>
2022-12-02 14:59:14 +08:00
fengxsong eff2fbfaa1 feat: support registries HA (#2096)
* feat: support multiple registries

Signed-off-by: fengxsong <fengxsong@outlook.com>

* ci: remove unused functions

Signed-off-by: fengxsong <fengxsong@outlook.com>

* docs: add proposal doc

Signed-off-by: fengxsong <fengxsong@outlook.com>

* fix: adjust helper functions

Signed-off-by: fengxsong <fengxsong@outlook.com>

* refactor: bootstrap module

Signed-off-by: fengxsong <fengxsong@outlook.com>

* refactor dep to applier

Signed-off-by: fengxsong <fengxsong@outlook.com>

* refactor: split registry mirroring from mountrootfs

Signed-off-by: fengxsong <fengxsong@outlook.com>

* fix: format code

Signed-off-by: fengxsong <fengxsong@outlook.com>

* docs: add limitations section in proposal doc

Signed-off-by: fengxsong <fengxsong@outlook.com>

Signed-off-by: fengxsong <fengxsong@outlook.com>
2022-11-23 12:33:52 +08:00
fengxsong b75e7b271d fix: remove prompt arg (#1999)
Signed-off-by: fengxsong <fengxsong@outlook.com>

Signed-off-by: fengxsong <fengxsong@outlook.com>
2022-11-01 16:51:48 +08:00
cuisongliu b7760ed039 feature(main): add detach for sealos run, never prompt (#1979)
Signed-off-by: cuisongliu <cuisongliu@qq.com>

Signed-off-by: cuisongliu <cuisongliu@qq.com>
2022-10-29 20:09:44 +08:00
cuisongliu 7bb9d0dbd2 feature(main): separate registry from master0 (#1970)
Signed-off-by: cuisongliu <cuisongliu@qq.com>

Signed-off-by: cuisongliu <cuisongliu@qq.com>
2022-10-27 20:37:35 +08:00
xuehaipeng 521f7db9e9 feature(main): separate registry from master0 (#1963)
* feature: separate registry from master0

Signed-off-by: xuehaipeng <hpxue13@hotmail.com>

* feature: separate registry from master0

Signed-off-by: xuehaipeng <hpxue13@hotmail.com>

* feature: separate registry from master0

Signed-off-by: xuehaipeng <hpxue13@hotmail.com>

Signed-off-by: xuehaipeng <hpxue13@hotmail.com>
2022-10-27 19:32:50 +08:00
YAOandyyf1986 97067cfe15 [fix]add pull policy (#1921)
* [fix]add pull policy

Signed-off-by: yyf1986 <191557539@qq.com>

* [fix]add pull policy

Signed-off-by: yyf1986 <191557539@qq.com>

* [fix]add pull policy

Signed-off-by: yyf1986 <191557539@qq.com>

Signed-off-by: yyf1986 <191557539@qq.com>
Co-authored-by: yyf1986 <191557539@qq.com>
2022-10-21 13:50:08 +08:00
fengxsong af773ada6a optimize the scale process (#1855)
* optimize the scale process

Signed-off-by: fengxsong <fengxsong@outlook.com>

* fix: sync node ipvs when any masters removed

Signed-off-by: fengxsong <fengxsong@outlook.com>

Signed-off-by: fengxsong <fengxsong@outlook.com>
2022-10-11 21:04:54 +08:00
cuisongliu 71f325f632 feature(main): add Platform for sealos pull/create (#1797)
Signed-off-by: cuisongliu <cuisongliu@qq.com>

Signed-off-by: cuisongliu <cuisongliu@qq.com>
2022-09-26 13:52:46 +08:00
fengxsong 3a81b1229c fix: unexpected config merge (#1574)
* fix: expected config merge

Signed-off-by: fengxsong <fengxsong@outlook.com>
2022-08-19 18:10:26 +08:00
zzjin 66d198bb52 manual fix fmt bug (#1505)
manual fix goimports
rebase typo

Signed-off-by: zzjin <tczzjin@gmail.com>
2022-08-10 00:36:23 +08:00
cuisongliu 6617549d29 docs(main): fix miss mount in add nodes (#1429)
Signed-off-by: cuisongliu <cuisongliu@qq.com>
2022-07-29 17:49:12 +08:00
cuisongliu 74155743a6 fix(main): sync is exists (#1361)
Signed-off-by: cuisongliu <cuisongliu@qq.com>
2022-07-20 21:56:19 +08:00
cuisongliu 91a24454e2 fix(main): rename AddonsImage to PatchImage (#1348)
Signed-off-by: cuisongliu <cuisongliu@qq.com>
2022-07-20 00:10:45 +08:00
cuisongliu 2bd17b8cec refactor(main): sealos run other server (#1292)
Signed-off-by: cuisongliu <cuisongliu@qq.com>
2022-07-12 16:00:33 +08:00
Mercurio 0b91bdeb5e ci: multiple improvements on CI workflow (#1270)
* ci: multiple improvements on CI workflow

Signed-off-by: Mercurio <signormercurio@gmail.com>

* attempt to fix lint actions error

Signed-off-by: Mercurio <signormercurio@gmail.com>

* delete fossa actions

Signed-off-by: Mercurio <signormercurio@gmail.com>

* attempt to solve lint error

Signed-off-by: Mercurio <signormercurio@gmail.com>

* format code

Signed-off-by: Mercurio <signormercurio@gmail.com>

* attempt to fix lint error

Signed-off-by: Mercurio <signormercurio@gmail.com>

* fix lint error

Signed-off-by: Mercurio <signormercurio@gmail.com>

* fix nolint syntax error

Signed-off-by: Mercurio <signormercurio@gmail.com>

* completely fix lint error

Signed-off-by: Mercurio <signormercurio@gmail.com>
2022-07-08 21:54:48 +08:00
cuisongliu aa29690df8 refactor(main): merge code from lvscare (#1249)
* refactor(main): merge code from image-cri-shim

refactor(main): merge code from lvscare

refactor(main): delete node using hostname

refactor(main): rename constants

* refactor(main): add main root

* refactor(main): add test workflows

* refactor(main): delete test workflows
2022-07-05 22:46:38 +08:00
zzjin 2ef083dfc3 Feat typo (#1170)
* Update cmd typos to match unified code format.
* 1. Update Dockerfile install typo
2. run&fix `make format` on all files
2022-06-24 22:44:12 +08:00
gitccl 3f115f0951 feat: support entrypoint in Dockerfile (#1151) 2022-06-24 10:36:33 +08:00
cuisongliu 6964078d01 feature(main): sealos run not save clusterfile when init failed (#1148)
* feature(main): sealos run not save clusterfile when init failed
2022-06-24 10:14:55 +08:00
Mercurio e3657ad4d3 ci: improve Makefile design (#1147) 2022-06-22 16:28:37 +08:00
Mercurio d24d09f16a refactor: change "contants" to "constants" (#1142) 2022-06-21 13:41:40 +08:00
cuisongliu f415083325 feature(main): reset cluster fixd masters and nodes (#1125)
* feature(main): reset cluster fixd masters and nodes
2022-06-15 18:52:13 +08:00
cuisongliu 485db0cc58 feature(main): fix check image type after image pull (#1066) 2022-05-27 19:27:12 +08:00
cuisongliu 39dfa4091e hotfix: port not default 22 (#1026) 2022-05-16 22:25:06 +08:00
cuisongliu d7ad1b170f feature(main): fix create check bug (#1010) 2022-05-14 21:33:20 +08:00
cuisongliu de5fbd8e61 feature(main): fix confirm bug (#1008) 2022-05-14 11:31:54 +08:00
cuisongliu 9eeb3af523 feature(main): fix scale check logic 2022-05-07 00:46:03 +08:00
cuisongliu 0d6b533668 feature(main): fix scale check logic 2022-05-06 23:22:57 +08:00
cuisongliu 8b642d0d40 feature(main): fix install config (#977)
* feature(main): fix install config

* feature(main): add apply feature

* feature(main): delete unused func

* feature(main): fix RunE
2022-05-06 12:52:17 +08:00
cuisongliu 8ffd9921be feature(main): fix images mount to status (#974) 2022-05-03 16:03:42 +08:00
cuisongliu 8b61e7907a feature(main): fix rename go mod (#973) 2022-05-01 09:36:23 +08:00
cuisongliu 71ab86a6ca feature(main): fix vendor for sealos (#970) 2022-04-30 13:34:39 +08:00
cuisongliu 15d1932f91 feature(main): fix add feature and delete node feature (#962)
* feature(main): fix add feature and delete node feature

* feature(main): fix add feature and delete node feature
2022-04-29 10:26:11 +08:00
cuisongliu c192e2ddbc feature(main): no change images (#956)
* feature(main): no change images

* feature(main): delete node for sealos delete cmd

* feature(main): auth for registry

* feature(main): add node lic

* feature(main): fix app install for add

* feature(main): fix push install feature

* feature(main): fix push install feature
2022-04-28 16:37:42 +08:00
cuisongliu b2b2aea237 feature(main): support auth build (#954)
* feature(main): sealos run repeat exec

* feature(main): support auth build

* feature(main): support auth build

* feature(main): support auth build
2022-04-27 01:14:00 +08:00
cuisongliu dd00fbf2a4 feature(main): sealos run repeat exec (#952)
* feature(main): sealos run repeat exec

* feature(main): sealos run repeat exec
2022-04-26 16:58:32 +08:00
cuisongliu 825469cbea feature(main): add patch package in run func (#949) 2022-04-25 01:45:58 +08:00
cuisongliu 17173feb8a feature(main): support skip error process (#940) 2022-04-20 01:30:11 +08:00
cuisongliu 77b86041a1 feature(main): add build cmd (#937)
* feature(main): add build cmd

* feature(main): add build cmd support custom ssh port

* feature(main): images build fix

* feature(main):  support build skip error images
2022-04-19 01:15:36 +08:00
cuisongliu ff495ad0ed refactor(master): add multi image and go func (#924)
* refactor(master): add multi image and go func

* refactor(master): add multi image and go func
2022-04-10 02:30:19 +08:00
cuisongliu 7a4596d56d refactor(master): add multi image module (#923)
* refactor(master): support more image for run cmd

* refactor(master): support more image for run cmd

* refactor(master): add calico and openebs

* refactor(master): add multi image module
2022-04-09 01:24:32 +08:00
cuisongliu c747d2dea7 refactor(master): add shim online for 0.0.7 version (#916)
* refactor(master): add auto-build

* refactor(master): add auto-build

* refactor(master): add shim online for 0.0.7 version

* refactor(master): add shim online for 0.0.7 version

* refactor(master): add shim online for 0.0.7 version
2022-04-07 15:34:22 +08:00
cuisongliu 66395ef574 refactor(master): join node and master logic (#912)
* refactor(master): buildah default etc config

* refactor(master): join node and master logic

* refactor(master): command append logic
2022-04-02 02:42:00 +08:00
cuisongliu 40f9941b79 refactor(master): add kubeadm runtime apis (#906)
* refactor(master): delete install package

* refactor(master): delete args and refactor binary image

* refactor(master): add kubeadm runtime apis

* refactor(master): add kubeadm runtime apis

* refactor(master): fix run logic

* refactor(master): fix lint
2022-03-31 09:58:07 +08:00