Sanket Sudake and GitHub
4ad6202af3
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
neha_gupta and GitHub
6672271882
Run canary config server separate from controller ( #2617 )
...
* add canary config server
* remove the canary config code from the controller
* remove port exposure for canary config
2022-11-15 13:08:42 +05:30
db47400576
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
ea80865efe
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
8c398a75bc
Propogate context for prometheus queries via canaryconfig ops ( #2527 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-08-31 12:03:00 +05:30
Sanket Sudake and GitHub
d4569eb7e6
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
Sanket Sudake and GitHub
359ba39993
Spell fixes across code ( #2288 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-12-28 18:40:07 +05:30
Sanket Sudake and GitHub
e480f81937
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
61e4e6deee
containers as functions ( #1681 )
...
PR adds a new executortype which supports running containers as functions. New CLI under functions is added to create container as functions.
Co-authored-by: Harsh Thakur <harshthakur9030@gmail.com >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-07-16 18:08:41 +05:30
Sanket Sudake and GitHub
5e4b8c4cc9
Shared informers ( #2092 )
...
* Use shared informers across executor for fission CRs
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Add informer for configmap and secrets
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Use shared informers in router
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Add shared informer for canary config
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Add sharedinformer for ready pod check
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Refer informer instead of store in resolver
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Run informers before executors
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Add missing canary config handler calls
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Enable websocket test
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Run dump collection always
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-07-05 20:28:26 +05:30
bd0232ac0b
Support for multiple HTTP verbs in routes/HTTPTrigger ( #2064 )
...
* Support for multiple HTTP verbs in routes/HTTPTrigger
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Update pkg/apis/core/v1/types.go
Co-authored-by: Harsh Thakur <harshthakur9030@gmail.com >
* Fix fallbackurl for ingress
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Co-authored-by: Harsh Thakur <harshthakur9030@gmail.com >
2021-06-14 14:48:27 +05:30
77ef6820f8
Enable prefix based routing ( #2047 )
...
* Enable prefix based routing
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Optimize checking condition
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Disable few tests
* disable router modification for now
* run code generator
* Collect fission dump in CI
* Enable all tests back
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Remove unwanted code
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Add prefix support at more places and couple of todo's
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Few more changes
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Improve function trim support
* Support for prefix based urls in fission function test
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* multi route for fission function test
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Improve validations in trigger creations
* Adjust leading / in url from fission
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Change suburl to subpath for function test
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-10 13:54:49 +05:30
a111dbd5a0
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
4a600f220c
Fixed typos across fission repo ( #1832 )
...
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
2020-10-16 17:25:11 +05:30
Ta-Ching Chen and GitHub
6379559c78
Follow kubernetes APIs directory structure ( #1497 )
2020-01-20 17:06:46 +08:00
Ta-Ching Chen and GitHub
301fe0b249
Codebase cleanup & optimization ( #1493 )
...
Remove old v1 types that are no longer used and move fetcher structs to fetcher directory.
2020-01-16 16:47:32 +08:00
Ta-Ching Chen and GitHub
308ba054a9
Use code-generator to generate clientset/informer/lister ( #1492 )
...
To reduce maintenance effort and avoid writing duplicate informer code,
use code-generator to generate clientset/informer/lister code.
2020-01-16 15:18:38 +08:00
Ta-Ching Chen and GitHub
4e10529cae
Update prometheus chart version from 7.1.0 to 9.3.0 ( #1389 )
2019-11-13 16:29:17 +08:00
Ta-Ching Chen and GitHub
3a1ad91658
Update staticcheck version and fix all warnings ( #1381 )
2019-11-05 18:09:12 +08:00
Ta-Ching Chen and GitHub
09df6c8e3e
Change log-level for better performance and less annoying logs ( #1231 )
...
This PR removes not so useful logs and changes most of Info level
log to Debug/Error level in hot path while preserving some of them
that is helpful for troubleshooting.
2019-07-19 12:38:36 +08:00
Ta-Ching Chen and GitHub
ed4f8a4458
Move packages to proejct/pkg to follow go project folder structure convention ( #1190 )
2019-05-31 16:28:55 +08:00