Naeel
90924cdec7
layer1: checkpoint namespace manager runtime series
2026-04-26 11:44:36 +03:00
Naeel
6e037a506d
layer1: add default watcher config helper
2026-04-26 11:03:39 +03:00
Naeel
d24605a8b8
layer1: fix managed watcher config wiring
2026-04-26 11:02:54 +03:00
Naeel
d2ff55f9e0
layer1: add managed watcher config
2026-04-26 11:02:09 +03:00
Naeel
b9236698f3
layer1: run managed namespace watchers
2026-04-26 11:01:05 +03:00
Naeel
67db8d71f1
layer1: fix watcher preparation imports
2026-04-26 10:54:51 +03:00
Naeel
2bbed95c2a
layer1: prepare managed namespace watchers
2026-04-26 10:54:24 +03:00
Naeel
a1517ba4b2
layer1: share managed namespace watcher startup
2026-04-26 10:51:31 +03:00
Naeel
49be1db3a0
layer1: share namespace watcher event handlers
2026-04-26 10:50:28 +03:00
Naeel
c3b161da83
layer1: share update removal policy
2026-04-26 10:49:26 +03:00
Naeel
0755319fac
layer1: formalize namespace removal strategy
2026-04-26 10:48:42 +03:00
Naeel
340b9cae84
layer1: centralize namespace watcher handlers
2026-04-26 10:47:12 +03:00
Naeel
4cd4bc9507
layer1: share namespace watcher lifecycle helpers
2026-04-26 10:45:03 +03:00
Naeel
0e08664ef6
layer1: share watcher namespace manager bootstrap
2026-04-26 10:41:14 +03:00
Naeel
d7497dcd34
layer1: remove old namespace watcher helpers
2026-04-26 10:40:36 +03:00
Naeel
447133d5b2
layer1: track namespace removals in manager
2026-04-26 10:39:59 +03:00
Naeel
804bc533db
layer1: bootstrap router namespace manager
2026-04-26 10:35:29 +03:00
Naeel
0135a93a30
layer1: hook router watcher to namespace manager
2026-04-26 10:34:04 +03:00
Naeel
346399d35f
layer1: align router watcher flow step 23
2026-04-26 10:29:43 +03:00
Naeel
33a08f00b3
layer1: fix router namespace subscriber syntax
2026-04-26 10:29:19 +03:00
Naeel
2971029c42
layer1: add router namespace subscriber step 22
2026-04-26 10:28:57 +03:00
Naeel
b3f99b2b6c
layer1: centralize managed namespace labels step 13
2026-04-26 10:04:18 +03:00
Naeel
87477d4529
layer1: guard router informer maps step 6
2026-04-26 09:37:09 +03:00
Naeel
161de70576
multi-tenant: EnsureNamespaceSA + ns_watcher SA provisioning (v8)
2026-04-26 07:41:46 +03:00
Sanket Sudake and GitHub
2b13af0a5e
Add staticcheck fixes ( #3221 )
...
* Add staticcheck fixes
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* update golangci-lint version
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2025-05-18 22:27:45 +05:30
Sanket Sudake and GitHub
caffed92f4
Remove github.com/pkg/errors with appropriate replacements ( #3172 )
...
* errors.Wrap* removal
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* remove errors.Errorf
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Remove remaining calls
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Few more errors
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Fix golint errors
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2025-02-20 08:58:37 +05:30
Sanket Sudake and GitHub
7119380716
Update Go version to 1.24 ( #3167 )
...
* Update Go version to 1.24
* Update golangci-lint version
* Add envtest to tool
* Add dashboard linter as a tool
* Uset t.Cleanup
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2025-02-14 18:52:08 +05:30
Sanket Sudake and GitHub
0c8573467b
Make common cache typed with generics ( #2896 )
...
Making typed common cache so that we don't use wrong types
across set/get methods and more higher-level methods can be
defined for cache.
Currently, we are not able to operate over all keys of the cache
due to generic types.
I also removed code comments around the cache.
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2024-01-04 10:46:32 +05:30
Sanket Sudake and GitHub
2e4825def0
Add function test CLI tests ( #2871 )
...
* Add function test CLI tests
* Add few more services to tests
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-11-13 14:34:56 +05:30
Vardhaman Surana and GitHub
3fabf64b3c
Add informers and internal go routines in manager ( #2870 )
...
* used manager's Add function in more places
* exit when ctx.Done is received in archivePruner go routines
* fix manager tests
* fix data race
* added more gpm function in manager and removed manager from a util function
* closed unused channel and stopped ticker after context is done
* added log statements
* used context.Done inside function instead of stopper channel
2023-11-10 12:42:21 +05:30
Vardhaman Surana and GitHub
2a40b4538c
added manger to keep track of go routines in the services ( #2869 )
...
- added manager to wait for all go routines to end before exit
- code refactor
- renamed Manafer to Interface and GoRoutineManager to GroupManager
- replaced some go routine calls with manager Add func
- added unit tests for manager
2023-11-07 15:30:48 +05:30
Sanket Sudake and GitHub
27132975c4
Add interfaces for executor/fetcher/storagesvc clients ( #2867 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-11-06 16:09:51 +05:30
Sanket Sudake and GitHub
267f7faf18
Add cause for all context timeouts ( #2862 )
2023-10-29 13:19:06 +05:30
Sanket Sudake and GitHub
2223081c80
Test for httptrigger and functions container/newdeploy ( #2861 )
...
* Test for httptrigger and functions
* Fixes with multierror
* review changes
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-10-27 15:05:20 +05:30
8a17d391c5
Envtest based integration tests for Fission ( #2858 )
...
* skeleton for envtest fission
* Refactor code and add CLI test
* hack
* Update server test
* remove skip-ci for lint tests
* Pass client go storagesvc
* Add clientGen interface across code
* Fix storagesvc test
* Fix cmd client
* add retry in server test
* Fix concurrenct access to pool deployment
* Remove old executor test
* get rid of ginkgo/gomega
* disable flaky test
* flaky test
* revert ci change
* handle err from ParseBool
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Co-authored-by: Pranoy Kundu <pranoy1998k@gmail.com >
2023-10-26 12:09:11 +05:30
Vardhaman Surana and GitHub
fc97b7609b
added client generator inteface ( #2854 )
...
* added client generator inteface
* start router service asynchronously
Signed-off-by: Vardhaman Surana <vardhaman.surana@infracloud.io >
2023-10-18 18:59:28 +05:30
Sanket Sudake and GitHub
703d757c29
Remove controller component from Fission ( #2850 )
...
* Remove controller component from Fission
* Cleanup at few more places
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-10-17 09:29:13 +05:30
56b49dcee8
Ability to retain specialised pods for poolmanager functions ( #2830 )
...
- added retainPods flag to take in the number of specialized pods to retain
- add retainPods in both the create function and update function command
- modify crd keys to be typed instead of string
- keep track of function generation in case of update function operation
- add delete handler function to make sure specialized pods are deleted in case function is deleted
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Signed-off-by: Pranoy Kundu <pranoy1998k@gmail.com >
Co-authored-by: Pranoy Kundu <pranoy1998k@gmail.com >
2023-09-27 13:33:19 +05:30
Sanket Sudake and GitHub
3bcda55aa8
Update kubernetes libs to latest ( #2834 )
...
- k8s.io/api v0.28.1
- k8s.io/apiextensions-apiserver v0.28.1
- k8s.io/apimachinery v0.28.1
- k8s.io/client-go v0.28.1
- k8s.io/metrics v0.28.1
- sigs.k8s.io/controller-runtime v0.16.1
- sigs.k8s.io/controller-tools v0.13.0
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-09-23 09:10:51 +05:30
Sanket Sudake and GitHub
a96b92f41f
Update Go version 1.20 ( #2740 )
...
* Update Go version 1.20
* Update golangci-lint version v1.51.1
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2023-03-12 08:45:43 +05:30
Sanket Sudake and GitHub
5fae765323
Use client generator to generate all k8s clients and add respective client-go metrics ( #2668 )
...
* Define client generator to generate all k8s clients
* Increase QPS and burst values
* Capture client-go metrics
* Support for controller runtime metrics
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-12-13 14:19:36 +05:30
Sanket Sudake and GitHub
31f4f8c57e
Remove otel handler per function handler in router ( #2664 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-12-11 22:32:24 +05:30
neha_gupta and GitHub
9eb7acf061
wait in testcase until server starts ( #2648 )
2022-11-30 17:31:19 +05:30
Alex Angelini and GitHub
82d066b73a
Add sync triggers debounce ( #2631 )
2022-11-22 14:30:51 +05:30
neha_gupta and GitHub
fa037166e1
Add Fission version API to router for CLI consumption ( #2612 )
...
* add version API to router
* return empty struct in case of error in getserverinfo
2022-11-11 12:58:40 +05:30
Shubham Bansal and GitHub
32bd874ab6
List fission resources in specific namespace instead of all namespace ( #2604 )
2022-11-08 10:25:09 +05:30
827baea974
Allow namespace configuration for different CRD resources in Fission ( #2539 )
...
* Allow multiple namespaces for builder manager
* Enable multiple namespaces for executor informers
* Added missing context
* helm chart support for multiple namespaces
* Directly consume map type from GetInformerForNamespaces fn
* Optimize function resolver by choosing namespace-specific informer
* helm chart support for multiple namespaces
* consider default namespace and move duplicate code to helm template
* Improve documentation for fission namespace values
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Co-authored-by: shubham bansal <shubhambansaliimtgn@gmail.com >
2022-10-19 15:48:47 +05:30
Sanket Sudake and GitHub
f2b790921b
Remove unwanted permissions from Fission components ( #2568 )
...
* Remove unwanted permissions from Fission components
* Remove unwanted permission from buildermgr
* Remove rbac permissions from controller
* Remove unwanted namespace permission
* Remove unwanted fission resource permissions
* Add deployment list permission for buildermgr
* add deployment create permission for buildermgr
* Update action version
* Add rolebinding permission for buildermanager
* Reduce permissions for fetcher and builder components
* Aded deployment delete permission to buildermgr
* Add logger to wait crds function
* Revert "Grant CustomResourcedefintion read permission to specific components (#2567 )"
This reverts commit 8fe62b755c .
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-10-13 15:04:49 +05:30
Sanket Sudake and GitHub
3fa0f4bde3
Ensuring passing context across fission ( #2555 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-09-26 16:05:45 +05:30
Sanket Sudake and GitHub
e87c84ee2c
Capture context from cobra CLI and pass forward ( #2551 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-09-22 13:54:05 +05:30