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
soharab-ic and GitHub
26f964886e
Fix: Message queue trigger update ( #2991 )
...
* Handle mqt update
* Update scalemanager to support mqtkind update
* Short circuit evalution may fail metadata update
* Updated mqtmanager test
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-08-16 11:33:36 +05:30
soharab-ic and GitHub
0b9d4c6f5a
Use typed client from Keda instead of unstructured ( #2989 )
...
* Use typed client for Keda
* Downgraded apimachinery version to v0.30.0 because of compilation error
* Upgrade golanggci-lint version to v1.57.0
* Skip cache for golanggci-lint-action
* grpc.WithBlock is deprecated
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-08-14 16:52:31 +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
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
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
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
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
3ae1742953
Executor user informer factory in executors in place of informers ( #2666 )
...
* Use informerfactory across executor
* Run function informer for poolpodcontroller if istio enabled
* Use same namespace for secret as keda mqtriggers
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-12-11 20:41:12 +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
Sanket Sudake and GitHub
2a43213387
Use Clientset interface instead of type for Fission/kubernetes clients ( #2416 )
...
Using interface makes it easy to create a fake client and unit test
a specific portion of the code. We should be able to more write unit
test and increase coverage of code with this change.
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-04-21 16:49:52 +05:30
Ankit Chawla and GitHub
89aeddaf3a
Minor bug fixes ( #2298 )
2022-01-11 17:06:21 +05:30
Sanket Sudake and GitHub
59e876062f
Capture os signals to gracefully shutdown fission components ( #2261 )
...
- Currently, fission components don't handle shutdown signals.
So we don't get any to do the required cleanup before the fission process
exits. Adding signal capture process with cancelling context so
that all dependent processes stop working when the process gets term
signal.
- Set log level to error in otel shutdown function
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-11-11 17:02:11 +05:30
Sanket Sudake and GitHub
1b9d21b5e3
Change default informer resync period to 30 minutes ( #2167 )
...
Currently most of informers used in Fission are using resync
period of 30sec which is quite low and causes lot of disturbances
in overall system. Since informers already have watchers which would
be delivering events to the handlers. If any handlers require lower
sync period they should register handler with `AddEventHandlersWithResyncPeriod`
instead of we generaling informer.
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-08-20 09:03:09 +05:30
Sanket Sudake and GitHub
74c0142968
Replace controller with generated SharedIndexerInformers ( #2103 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-07-06 13:56:10 +05:30
Harsh Thakur and GitHub
6facdac464
Fix golang lint errors ( #2068 )
...
* Fix golang lint errors
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Typo for fields
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Multi error fix
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Multi error fix
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Add nolint to logtostderr errcheck
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
2021-06-15 15:03:42 +05:30
4e2632e100
Keda podspec ( #2021 )
...
* Add podspec to MQT
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Add preupgrade check
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Use zap logger
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-05-27 14:21:34 +05:30
1e0baf5f6c
Crds update ( #2033 )
...
* Add code generated using latest code-generator
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Update client-go and respective dependencies to v0.19.2
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Upgrading CRD version
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Minor changes
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Resolved client-go calls as per new generated code
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Function validations fix
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Fix environment and package validations
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Add basic validation to all CRDs
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Remove CRD installation related code
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Modify GHA for CRD installation
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Fix Package and HTTPTrigger validations
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Change Go version in CI to 1.15
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Style: kubebuilder marker change
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Fix test with deprecated fields
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Update kind node image to v1.16.15 in CI
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Update kind node image to v1.19.11 in CI
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Replace context Background with TODO for future implementation
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Optimize initial CRD check code
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Use Get call only to check CRDs
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Add kustomize for CRD apply
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-05-26 15:07:03 +05:30
d7ac0ee17a
feat: Add image pull policy when create KEDA connector deployments ( #1944 )
...
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
2021-05-20 01:22:25 +05:30
Rahul Bhati and GitHub
25acd7fd16
Feature request per pod ( #1946 )
...
This feature enables routing more than one request to a pod at the same time. This is the first draft of the work and might involve more optimizations later.
2021-03-31 12:35:30 +05:30
e4a0aa3480
Migrating to keda2.0 ( #1868 )
...
Co-authored-by: Rahul Bhati <rjbhati009@gmail.com >
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
2021-02-05 10:28:54 +05:30
Rahul Bhati and GitHub
f751546913
Removed code related to mqtrigger ( #1680 )
2020-08-06 20:59:08 +05:30
Rahul Bhati and GitHub
8e0571c7c9
Fission MQT integration with keda ( #1657 )
...
Fission MQT integration based on Keda with Kafka connector
2020-07-14 21:35:48 +05:30