Commit Graph
31 Commits
Author SHA1 Message Date
zzjin 73a00935f3 Update controller, allow set different cpu/memory request rate. (#5195)
Signed-off-by: zzjin <tczzjin@gmail.com>
2024-11-08 10:37:54 +08:00
yy e6a2f8b3fa change devbox to stop if exceeded quota (#5182) 2024-10-31 16:53:45 +08:00
yy 5e84ccb90d feat: add jwt secret in devbox secret. (#5166) 2024-10-22 16:27:59 +08:00
zzjin 13068953ef Update devbox controller, add support init request ephemeral storage. (#5156)
* Update devbox controller, add support init request ephemeral storage.

Signed-off-by: zzjin <tczzjin@gmail.com>

* Fix controller reconcile ignore.

Signed-off-by: zzjin <tczzjin@gmail.com>

* Fix typo.

Signed-off-by: zzjin <tczzjin@gmail.com>

---------

Signed-off-by: zzjin <tczzjin@gmail.com>
2024-10-16 21:36:48 +08:00
yy 22d9a138f9 fix devbox phase generate. (#5120) 2024-09-28 15:15:23 +08:00
yy 8c0c345923 devobx ignore extra ports. (#5112) 2024-09-26 14:52:49 +08:00
yy 103c3ac27c add devbox runtime app port. (#5099)
* fix rbac

* add runtime app ports.
2024-09-24 16:04:44 +08:00
yy bcb8ab419c add LastTerminatedState and improve squash logic for devbox. (#5080)
* add LastTerminatedState for devbox.

Signed-off-by: yy <lingdie.yy@outlook.com>

* fix makefile.

Signed-off-by: yy <lingdie.yy@outlook.com>

* fix requeue.

* fix enqueue logic

* add state and rename last state

* add check pod container size

* add squash check.

---------

Signed-off-by: yy <lingdie.yy@outlook.com>
2024-09-19 16:22:14 +08:00
yy 1decf9a848 Fix devbox podPhase logic and license in deploy.yaml.tmpl (#5067)
* fix license.

Signed-off-by: yy <lingdie.yy@outlook.com>

* fix devbox version

* fix status.

---------

Signed-off-by: yy <lingdie.yy@outlook.com>
2024-09-12 14:28:57 +08:00
yy 7a19c64dba upgrade devbox runtime crd, rewrite devbox controller. (#5066)
* upgrade devbox runtime crd, rewrite devbox controller.

* fix comment.

* fix license

* remove duplicate get

* fix event massage

* add new commit history if pod is not in devbox commit historys.

* fix SEALOS_DEVBOX_NAME env

* add label to devbox controller predicate

* fix go version

* fix lint
2024-09-11 16:37:15 +08:00
抒情熊 b03274cf3f remove pod finalizer (#5060)
* remove pod finalizer

* remove pod finalizer

* remove pod finalizer
2024-09-10 15:34:20 +08:00
抒情熊 60c4065bb9 add service port (#5048)
* add service port

* fix bug

* fix bug
2024-09-06 15:39:13 +08:00
抒情熊 e4e57023de add random (#5050) 2024-09-06 12:15:09 +08:00
抒情熊 4a17349ac2 add devbox node and containerId (#5045)
* add devbox node and containerId

* add devbox node and containerId
2024-09-05 18:18:43 +08:00
抒情熊 0ed063560f add devbox phase and controller (#5042)
* fix ssh volume bug

* add devbox phase and controller

* add devbox phase and controller

* add devbox phase and controller

* add devbox phase and controller

* add devbox phase and controller

* add devbox phase and controller

* add devbox phase and controller

* add devbox phase and controller

* add devbox phase and controller

* add devbox phase and controller
2024-09-05 16:49:38 +08:00
yy 7d882d0504 add logs for CheckPodConsistency. (#5035)
* add log to debug.

Signed-off-by: yy <lingdie.yy@outlook.com>

* add log to debug.

Signed-off-by: yy <lingdie.yy@outlook.com>

* add log to debug.

Signed-off-by: yy <lingdie.yy@outlook.com>

---------

Signed-off-by: yy <lingdie.yy@outlook.com>
2024-09-04 13:21:49 +08:00
yy 980e796e93 add devbox default runtime ref namespace to devbox-system. (#5034)
* add devbox default runtime ref namespace to devbox-system.

Signed-off-by: yy <lingdie.yy@outlook.com>

* set default runtime image ref to self ns.

Signed-off-by: yy <lingdie.yy@outlook.com>

---------

Signed-off-by: yy <lingdie.yy@outlook.com>
2024-09-04 11:56:17 +08:00
yy 4e13ab5fd8 fix devbox get runtime. (#5030)
Signed-off-by: yy <lingdie.yy@outlook.com>
2024-09-03 17:19:51 +08:00
yy 306bbda519 add devbox controller rbac. (#5028) 2024-09-03 16:44:04 +08:00
yy 5d1d9ba83e change runtime and runtime class to namespace scope, improve devbox c… (#5024)
* change runtime and runtime class to namespace scope, improve devbox create logic, add container configs to runtime and devbox crd.

* fix lint.

* fix format.

* fix deploy yaml.
2024-09-02 18:02:07 +08:00
抒情熊 569bcfd270 add extraEnv toleration affinity,ephemeral-storage limit (#5023) 2024-09-02 15:22:47 +08:00
抒情熊 35c1c569d8 change label location (#5022) 2024-09-02 13:26:40 +08:00
yy 3d625499da add additionalPrinterColumns for devbox. (#5020)
* add additionalPrinterColumns for devbox.

* add ResourceVersionChangedPredicate for devbox pod change status to reconcile devbox.
2024-08-31 15:31:11 +08:00
yy e3c9b629b4 add default rbac rules for devbox runtime and runtime class. (#5012)
* add retry logic when get service, fix rbac.

* fix license.

* add RetryOnConflict when sync pod
2024-08-31 15:00:33 +08:00
yy d2eb60c857 update devbox to add delete resource. (#5017)
* update devbox to add delete resource.

* update devbox to add delete resource.
2024-08-30 18:01:17 +08:00
抒情熊 d58375ebd6 add devbox restart pod (#5010)
* add devbox restart pod
2024-08-30 11:39:54 +08:00
yy e52f5d3c51 add devbox pod hostname set to devbox name (#5015) 2024-08-30 10:47:44 +08:00
yy 7e77b7a879 add devbox controller rbac, enable in ci to build docker images (#5009)
* add devbox controller rbac, enable in ci to build docker images

* add devbox controller rbac, enable in ci to build docker images

* add devbox controller rbac, enable in ci to build docker images
2024-08-29 14:34:42 +08:00
抒情熊 5877ddb053 add generate public and private key (#5004)
* add generate public and private key

* add generate public and private key

* add generate public and private key

* add generate public and private key

* add generate public and private key

* add generate public and private key

* fix bug

* Changes

* Changes

* Changes

* Changes

* Changes
2024-08-29 12:37:50 +08:00
yy fd6733eaab set AutomountServiceAccountToken to false (#5001) 2024-08-27 18:20:41 +08:00
yy a3c9c55ae7 add devbox controller. (#4999)
* add devbox controller

* add devbox controller

* fix lint and delete useless ops controller

* fix lint and delete useless ops controller

* add license and fix fmt.
2024-08-27 15:09:30 +08:00