Gero Posmyk-Leinemann
99cc66b7cf
[ws-manager] Re-create workspace pods on rejection ( #20243 )
...
* [ws-manager] Re-create workspace pods (incl. test)
* [gpctl] Fix "workspaces list"
* [ws-daemon, ws-manager] Review comments, logging cleanups and ordering fix
* [dev/rejector] Add the tool we use to test PodRejection under "dev"
* [bridge] Log nested status shape (and properly scrubbing it)
2024-11-15 07:28:54 -05:00
iQQBot
66a1ba00d4
Get more insights on workspace image ( #20356 )
...
* 1
* 1
* 1
* add timeout ctx
* addressed feedback
2024-11-12 08:25:51 -05:00
Gero Posmyk-Leinemann
b75162c5bb
[ws-manager-mk2] Make WorkspaceRunningCondition.LastTransitionTime stable ( #19698 )
2024-05-03 20:53:43 +08:00
Manuel Alejandro de Brito Fontes
5992b0f614
Update go dependencies ( #19577 )
...
* Update go dependencies
* Update S3
* Caddy plugins cannot use 1.22
* Update controller runtime signatures
* Update webhook suite test
* Update IPFS signatures
* Update go modules
* Update ipfs-cluster to v1.0.8
* Fix node-labeler build
* Fix IPFS CID parsing
* Update ipfs-cluster version
* Update controller-runtime signature
* Update statefulset signature
* Disable controller-runtime metrics
* Add comments
2024-03-26 20:55:35 +01:00
Wouter Verlaek
c5ba13cdf2
[ws-daemon] Take backup once container has stopped ( #19411 )
2024-02-09 17:02:51 +02:00
Kyle Brennan
7e085ed5ad
[ws-manager-api] remove unused SSHKey field ( #19287 )
...
* [ws-manager-api] remove SSHKey field
It's no longer needed
* Ran kubebuilder `make generate`
* Ran kubebuilder's `make manifests`
* Update readme
* Cleanup
2024-01-03 17:00:41 +02:00
Pudong
6ecc991ff5
[experimental] add ssh certificate authorities as feature flags ( #19208 )
2023-12-07 22:59:14 +02:00
Pudong
10fe5b9699
[sshgateway] use ssh CA to auth ( #19147 )
...
* [sshgateway] use ssh CA to auth
* change name
* add error log
* fix
* mark volume optional
* [installer] validate ssh-ca secret
* Revert "[installer] validate ssh-ca secret"
This reverts commit ca6ede78a7b5a720fd315eca32eb277cb5063069.
We must support the scenario where the installer has the secret, but, it is not in the cluster yet.
---------
Co-authored-by: Kyle Brennan <kyle@gitpod.io>
2023-11-30 19:17:08 +02:00
Pudong
b983b6276f
[ws-manager] use workspace class description ( #19164 )
2023-11-29 14:11:06 +02:00
Manuel Alejandro de Brito Fontes
453bf6ea4a
Refactor configuration of workspace SSH key ( #19059 )
...
* Refactor configuration of workspace SSH key
* Update go modules
* Update CRD
* only add SSH Key to workspace CR (#19130 )
---------
Co-authored-by: Pudong <tianshi8650@gmail.com>
2023-11-24 15:55:01 +02:00
Wouter Verlaek
185c0428c2
[scrubber] Improve KeyValue performance ( #19052 )
...
* [scrubber] Improve KeyValue performance
* Update benchmark comment
* update go mod
* Add metaID to hashed fields
---------
Co-authored-by: Pudong Zheng <pudong@gitpod.io>
2023-11-10 16:17:48 +02:00
Christian Weichel
bb51f07988
Collect workspace classes from workspace cluster ( #19003 )
...
* Extend ws-manager API to support workspace class descriptions
fixes ENG-1065
* Extend DescribeCluster in ws-manager-mk2
to acurately report the available workspace classes
fixes ENG-1066
* Add workspace classes to cluster in DB
* Intergrate workspace cluster collection in ws-manager-bridge
* Feature flag off discovered workspace class usage
* Fix build
* Add unittest for getSupportedWorkspaceClasses
* Fix workspace class storage
* Adress review feedback
2023-11-10 13:13:48 +02:00
Christian Weichel
9331ac5507
Add storage metadata to workspace CR ( #19044 )
...
* Adding volume fields to workspace CRs
* Move workspace volume details to status
* Add VolumeAttachRequest condition
* Add throughput condition (#18982 )
---------
Co-authored-by: Alejandro de Brito Fontes <aledbf@gmail.com>
Co-authored-by: Thomas Schubart <24721048+Furisto@users.noreply.github.com>
2023-11-09 14:06:47 +02:00
Thomas Schubart
17f7b6c2a7
Add throughput condition ( #18982 )
2023-10-30 13:00:37 +02:00
Pudong
81ff3d16e4
[ws-manager-mk2] redact log ( #18906 )
...
* update to logrusr v4
* Add DeepCopyStruct to scrubber
* use DeepCopyStruct to scrub log
* mark wrokspace.stauts.url redact
2023-10-16 13:48:23 +03:00
Christian Weichel
f482e0a02d
Add subassembly service API ( #18834 )
...
* Add subassembly service API
* Make workspacekit image configurable
2023-09-28 14:55:07 +03:00
Manuel Alejandro de Brito Fontes
8ef82ff356
Update go modules to 1.21 ( #18805 )
2023-09-26 17:52:05 +03:00
Manuel Alejandro de Brito Fontes
258651f923
Filter subscriber reconciler events (v2) ( #18696 )
...
* Filter subscriber reconciler events (v2)
* Ignore LastActivity
2023-09-12 20:54:52 +02:00
Wouter Verlaek
2ac49194c6
Revert "Filter subscriber reconciler events ( #18660 )" ( #18694 )
...
This reverts commit 9470fb880093522021c1eaeecfb0373d087c39c3.
2023-09-11 11:28:09 +02:00
Manuel Alejandro de Brito Fontes
9470fb8800
Filter subscriber reconciler events ( #18660 )
...
* Filter subscriber reconciler events
* Notify changes in the port visibility
* Switch to reflect.DeepEquals
* Address feedback
2023-09-06 16:33:04 +02:00
Gero Posmyk-Leinemann
938f0ba841
[ws-manager-api] Remove deprecated fields ( #18641 )
2023-09-01 14:38:58 +02:00
Manuel Alejandro de Brito Fontes
687f337899
Enable leader election in ws-manager-mk2 (v3) ( #18539 )
...
* Enable leader election in ws-manager-mk2
* Update go modules
* Move workspace activity to CRD
* Remove workspace activity
* Cleanup
* Update ws-manager-mk2 CRD
* Cleanup
* Restore lastActivity logic
* TEST
* Disable observability
* Start the grpc server after leader election
* Bount the source of subscribers to an informer
* Cleanup
* Avoid deepCopy
* Remove goroutine to execute OnReconcile
* Refactor last activity to be consistent acrtoss the controllers
* Address feedback
2023-08-26 22:28:52 +02:00
Wouter Verlaek
bf3d548266
[ws-manager-mk2] Scrub status fields, add vscode launch.json ( #18595 )
...
* [ws-manager-mk2] Scrub status fields, add vscode launch.json
* Fix scrubber panic on unexported pointer
2023-08-25 13:00:51 +02:00
Manuel Alejandro de Brito Fontes
513ca768f6
Update buildkit to v0.12.1 ( #18505 )
...
* Update buildkit to v0.12.1
* Update DisplaySolveStatus signature
* Switch to github.com/containerd/typeurl/v2
2023-08-15 09:17:40 +02:00
Kyle Brennan
34b4602286
[ws-manager-mk2] remove experimental mode feature ( #18513 )
...
* [installer] remove experimental mode
* [ws-manager-mk2] remove experimental node selector
* [ws-manager-api] remove ExperimentalMode from configuration
* Add `ws-manager-api` to vscode workspace
* [preview] remove experimental & bump deps
Depends on https://github.com/gitpod-io/gitpod-packer-gcp-image/pull/246
* [preview] LocalStorageCapacityIsolation is GA, no needed as a gate in 1.27
2023-08-15 06:37:41 +02:00
Manuel Alejandro de Brito Fontes
de4bbbea1c
Add a new trust bundle for custom SSL certificates ( #18450 )
...
* Add a new trust bundle for custom SSL certificates
* Mount the customer certificate in the workspace
* Use the custom certificate in components
* Cleanup
* Set env variables and mount the crt in a different file
* rename custom ca cert file name
* Fix the filename in env vars
* Enable custom SSL certificate conditionally
---------
Co-authored-by: nandajavarma <nandaja.varma@gmail.com>
2023-08-08 16:46:34 +02:00
Manuel Alejandro de Brito Fontes
61f89f8436
Update go modules ( #18372 )
2023-07-28 16:20:30 +08:00
Manuel Alejandro de Brito Fontes
8c6d8e28f3
Update dependencies ( #18362 )
...
* Update k8s dependencies to v1.27.3
* Update opencontainers/runtime-spec to v1.1.0
* Update controller runtime to v0.15.0
* Update go modules
* Fix build
* Cleanup
* Fix ws-manager e2e tests
2023-07-27 23:34:29 +08:00
Manuel Alejandro de Brito Fontes
54c2040632
Update go modules to 1.20 ( #18360 )
2023-07-27 22:24:29 +08:00
Manuel Alejandro de Brito Fontes
57c605ddc4
Cleanup scrubber go module dependency ( #18149 )
2023-07-04 16:37:21 +08:00
Anton Kosyakov
f580e6bd00
fix SID-285: hook scrubber as logrus formatter ( #17781 )
2023-06-29 17:16:47 +08:00
Wouter Verlaek
cbc8b38a91
[ws-daemon] Add OWI to logs ( #18017 )
2023-06-22 21:44:12 +08:00
Thomas Schubart
20164cbb4a
[wsman-mk2] Simplify condition checking ( #17961 )
2023-06-17 22:59:07 +08:00
Thomas Schubart
4584f8fda9
[wsman-mk2] Change default class to g1-standard ( #17950 )
...
* [wsman-mk2] Change default class to g1-standard
* [preview] Update workspace classes
2023-06-15 20:23:05 +08:00
Thomas Schubart
c729eb8dd9
[ws-manager-mk2] Make workspace class limiting the default ( #17917 )
...
* [wsman-api] Remove class limiting feature flag
* [wsman-mk2] Remove class limiting feature flag
2023-06-15 17:15:05 +08:00
Thomas Schubart
2cab1406dd
[ws-manager-mk2] Remove persistent volume claim feature ( #17860 )
...
* [ws-daemon] Remove PVC
* [installer] Remove PVC
* [workspacekit] Remove PVC
* [content] Remove PVC
* [preview] Remove PVC
* [wsman-api] Remove PVC
* [ws-daemon-api] Remove PVC
* [workspacekit] Mount workspace directory
* [supervisor] Remove PVC
* [test] Remove PVC
* Fix build
2023-06-13 18:35:04 +08:00
Thomas Schubart
e4688a23a7
[ws-manager-mk2] Configure max workspace lifetime ( #17767 )
...
* [wsman-api] Add maximum lifetime to workspace request
* [wsman-api] Add maximum lifetime to workspace CRD
* [wsman] Set maximum lifetime during workspace start
* [wsman] Check custom max lifetime
* [wsman-api] Fix conflicting raw proto
* [wsman-mk2] Test custom max lifetime
2023-06-12 19:25:02 +08:00
Thomas Schubart
fe08421325
[ws-daemon] Remove full workspace backup ( #17803 )
2023-06-01 17:36:06 +08:00
Kyle Brennan
1a7c50a8b5
[ws-manager-mk2] support storage quotas ( #17606 )
...
* [ws-manager-mk2] add support for storage quotas
This way, on workspace create, `ws-daemon` can set XFS limits for `/workspace`
* [preview] set smaller /workspace limits
This way we don't have to spend more on preview environments.
* [ws-daemon] warn when xfs is missing
* Partial revert of "Revert "[ws-daemon] Restart IWS if ws-daemon is restarted (#17552 )" (#17645 )"
This reverts commit e082b7f48885199013df927d3c71c62935f74047.
It avoids reverts on notify.go and workspace_provider.go.
* [ws-daemon] log when handling running workspaces
* [test] add test for xfs quotas
2023-05-19 20:49:53 +08:00
Pudong
176393a0c8
Add support to forward https protocol port ( #17644 )
...
* add support to forward https protocol port
* Update components/ws-proxy/pkg/proxy/routes.go
Co-authored-by: Kyle Brennan <kyle@gitpod.io>
---------
Co-authored-by: Kyle Brennan <kyle@gitpod.io>
2023-05-19 15:22:53 +08:00
Wouter Verlaek
da50b8ceb6
[ws-manager-mk2] Cleanup and fail workspaces when node disappears ( #17599 )
...
* [ws-manager-mk2] Cleanup and fail workspaces when node disappears
* Cache nodes
* Fix test, and reconcile ws when node gets deleted
2023-05-15 22:53:00 +08:00
Wouter Verlaek
bfa7b301b7
[ws-manager-mk2] Fix headless task failures ( #17429 )
2023-04-28 19:26:36 +08:00
Manuel Alejandro de Brito Fontes
891cd5417d
Update k8s dependencies to v0.26.2 ( #17211 )
...
* Update k8s dependencies to v0.26.2
* Update controller-runtime to v0.14.6
* Update cloud storage
https://github.com/googleapis/google-cloud-go/issues/6857
* Update copy options
* Update wolfi image
* Remove controller-runtime replace directives
* Fix integration tests
2023-04-18 03:59:49 +08:00
Manuel Alejandro de Brito Fontes
27979c9395
Update go dependencies ( #17101 )
...
* Update go dependencies
Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>
* Update runc to v1.1.5
* Update docker cli to v23.0.2+incompatible
---------
Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>
2023-04-12 10:03:52 +02:00
Wouter Verlaek
06ec36b564
[ws-manager-mk2] Refactor metrics with EverReady condition ( #17114 )
...
* [ws-manager-mk2] Refactor metrics with EverReady condition
* Fix test, default failure message
* Add stop reason metric
2023-04-08 11:57:48 +02:00
Pudong
24c401ab78
[ws-manager-mk2] support custom closed timeout ( #16988 )
...
* [ws-manager-mk2] support custom closed timeout
* Default to the RegularWorkspace timeout
* remove code
---------
Co-authored-by: Wouter Verlaek <wouter@gitpod.io>
2023-03-31 20:05:40 +02:00
Thomas Schubart
697d81ecbf
[ws-manager-mk2] Introduce experimental mode ( #17048 )
...
* [installer] Add experimental mode for mk2
* [wsman-mk2] Use ExperimentalMode flag
2023-03-28 17:56:26 +02:00
Wouter Verlaek
c14a25cfdf
[ws-manager-mk2] Report content init/dispose failures ( #17015 )
2023-03-27 17:22:25 +02:00
Thomas Schubart
c64c4f3530
[ws-manager-mk2] Rely on controller concurrency mechanism for content init and backup ( #16823 )
...
* [wsman-mk2] Replace in memory state handling
* [ws-daemon] Operate on latest workspace CR
* [ws-daemon] Review comments
2023-03-23 16:31:17 +01:00
Wouter Verlaek
57840fc6ed
[ws-manager-mk2] Refactor maintenance mode to end at a timestamp ( #16925 )
...
* [ws-manager-mk2] Maintenance until
* Fix configmap
* Always show field
* Remove todo
2023-03-22 16:39:14 +01:00