Sanket Sudake and GitHub
f86fde81e6
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
Sanket Sudake and GitHub
d5077ee816
Updated Go dependencies and added cache in workflows ( #2099 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-07-04 12:38:27 +05:30
Sanket Sudake and GitHub
154fe0d447
Retrieve pod metrics only if metrics server is running and Go lint fixes ( #2094 )
...
* Retrieve pod metrics only if metrics server is running
Currently we query pod metrics every 30 sec which floods executor logs,
added check which confirms if metrics server is running then only we start
querying pod metrics for identifying CPU utilization.
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Fixed couple of typos and misspells with Go CI
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Remove unnecessary conversions with Go CI
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-28 10:06:32 +05:30
Sanket Sudake and GitHub
a493f0117d
Move informers,clientset and listers to generated package ( #2093 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-26 11:13:46 +05:30
Sanket Sudake and GitHub
cc0400bdd4
Move clientset,listers,informers to pkg/client from pkg/apis ( #2090 )
...
* Move clientset,listers,informers to pkg/client from pkg/apis
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Update golangci-lint version and timeout
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-24 12:07:14 +05:30
Sanket Sudake and GitHub
72c89268ec
Ignore errors from zap logger Sync ( #2086 )
...
Added golang CI lint
Reference issue: https://github.com/uber-go/zap/issues/880
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-21 11:58:48 +05:30
18935dcfdd
Lint fix ( #2074 )
...
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-18 13:41:23 +05:30
Sanket Sudake and GitHub
6fbd4878be
Generate and archive fission cli per OS and platform ( #2071 )
...
* Generate and archive fission cli per OS and platform
* Separate tagging from release script
2021-06-16 13:10:31 +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
377600d0a3
Add router cache back for performance comparision ( #2036 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
2021-06-14 18:30:23 +05:30
673ca25cf2
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
4038f0384b
Add a SharedIndexInformer for services and deployments to NewDeploy executor ( #2061 )
...
* Add a SharedIndexInformer for services and deployments to NewDeploy executor.
This brings the NewDeploy executor behaviour into sync with GenericPoolManager behaviour
by caching Kubernetes services and deployments used in per-request function validation.
* Create informers in executer by executor label
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Co-authored-by: James Sinclair <irgeek@btc.com.au >
2021-06-11 16:52:53 +05:30
aa45703a99
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
827b64d633
Add poolsize warning for environment create/update CLI ( #1837 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-08 11:53:38 +05:30
7bf82c7ea9
Move RBAC v1beta1 to v1 ( #2059 )
...
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-08 08:25:52 +05:30
3055a3ada0
Added body in the error topic header ( #1830 )
...
Signed-off-by: therahulbhati <rjbhati009@gmail.com >
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-07 22:28:11 +05:30
Sanket Sudake and GitHub
e6c13057ce
Change container name for runtime container to environment name in newdeploy ( #2044 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-02 16:23:53 +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
a9c56e5bb2
Add a warning if spec is applied on a dirty worktree ( #1966 )
...
* Add a warning if spec is applied on a dirty worktree
* Update go dependencies after rebase
* Use the console package for showing the warning
* Fix merge conflicts
* Handle errors and use better messages
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-05-24 21:36:14 +05:30
3880279e89
do not use deprecated functions/methods ( #2027 )
...
Signed-off-by: Gaurav Gahlot <gauravgahlot0107@gmail.com >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-05-21 13:53:28 +05:30
3bac1d2d9d
Fix log sort order when multiple series are returned ( #1956 )
...
Series are sorted internal by "order by", but the set of all series returned is not. Tried some ways to sort completely on database, found no way .. client side sort works at least
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
2021-05-20 07:55:36 +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
462b7d861d
Serve only one request and garbage collect ( #1978 )
...
Adding once only execution pattern to pool manager based functions. This is for use cases where you don't want to share the samne pod for another execution instance!
2021-05-19 22:48:49 +05:30
Harsh Thakur and GitHub
279b009882
Add metrics to Reaper ( #2019 )
...
* Add metrics to Reaper
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Change duration to seconds and fix labels
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
2021-05-18 17:30:21 +05:30
Sanket Sudake and GitHub
2a014e56b0
Add Google Analytics reporting in place of existing custom reporting ( #2015 )
...
Replacing the older analytics with a new Google Analytics based mechanism.
2021-05-12 12:24:27 +05:30
Harsh Thakur and GitHub
f72bfd8f3a
Websocket Support: Pod Reaper ( #1982 )
...
Websocket event support for cleaning up pods only after WS connection is terminated. The support for websocket is right now in the environment itself and router simply acts as a proxy for WS communication!
2021-04-27 21:06:22 +05:30
Harsh Thakur and GitHub
0d93c109fb
Maintain CRD folder to keep track of Schemas ( #1938 )
...
Adds CRD Yaml files needed for upgrade as the OpenAPISchema validation has been added.
2021-04-27 17:20:03 +05:30
Rahul Bhati and GitHub
1cd8f4d4f7
Increase default concurrency ( #1980 )
...
Increase the default concurrency to 500 from 5 set in the function. Usually, it is good to error on the higher side and if needed, users can always fine-tune it to their needs.
2021-04-06 14:52:14 +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
Ta-Ching Chen and GitHub
3e6dae9616
Fix wrong checksum was assigned ( #1968 )
2021-03-29 16:20:21 +05:30
James Sinclair and GitHub
1dce070245
Add a SharedIndexInformer for pods to router. ( #1951 )
...
Improving efficiency with cache
2021-03-22 16:50:24 +05:30
Rahul Bhati and GitHub
cc552d9777
Add function in payload instead of just metadata ( #1919 )
...
Passing information of function from router to executor is more efficient than calling the K8S API. This change does that instead of passing only metadata and then executor calling the K8S API again.
2021-03-10 14:52:23 +05:30
c7d448ca49
Add fields to pod spec ( #1932 )
...
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
2021-02-23 15:16:45 +05:30
6f9bad3d05
Spec validation option ( #1865 )
...
Co-authored-by: Rahul Bhati <rjbhati009@gmail.com >
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
2021-02-08 11:14:38 +05:30
f28799cc4c
Fix status code for rate limit ( #1924 )
...
Co-authored-by: Rahul Bhati <rjbhati009@gmail.com >
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
2021-02-05 16:52:43 +05:30
e2376c27b4
Envupdate crossupdate fix ( #1866 )
...
Co-authored-by: Rahul Bhati <rjbhati009@gmail.com >
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
2021-02-05 15:39:59 +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
045a365a1b
Exit with status code 1 on failed package builds ( #1926 )
...
Co-authored-by: Rahul Bhati <rjbhati009@gmail.com >
2021-02-04 21:57:38 +05:30
ef83d4314e
Put message to error topic when exceed max retries in kafka mqt ( #1885 )
...
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
Co-authored-by: Rahul Bhati <rjbhati009@gmail.com >
2021-02-02 23:20:40 +05:30
3b4ca09931
Improved readyPod queue implementation and bugfix ( #1890 )
...
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
2021-02-02 17:11:54 +05:30
Gaurav Gahlot and GitHub
695b0759e4
Fixed golangci-lint issues: /fission/pkg ( #1902 )
2021-01-19 23:29:20 +05:30
Tosone and GitHub
6dbdf4d88b
Remove unnecessary import package. ( #1897 )
2020-12-28 18:48:02 +05:30
Gaurav Gahlot and GitHub
e438df87fa
Fixed golangci-lint issues: /fission/pkg/executor ( #1842 )
2020-12-03 22:29:35 +05:30
Rahul Bhati and GitHub
bb9f4136f5
Readypod optimization in executor ( #1860 )
...
A ready pod which can be specialized was fetched for every function earlier, this has been changed to a queue and cache implementation in client-go to improve performance.
2020-11-19 15:23:02 +05:30
Gaurav Gahlot and GitHub
aaf9f18d93
Fixed golangci-lint issues: /fission/pkg/router ( #1831 )
2020-11-03 16:15:50 +05:30
7743583f4d
in-progress golint warning fixes ( #1799 )
...
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
2020-10-28 11:44:35 +05:30
fe5542845e
Fix golint warnings for publisher package ( #1822 )
...
Co-authored-by: Shajitha Mohammed <shajithamohammed28@gmail.com >
2020-10-27 21:19:28 +05:30
9d199c86c5
Fix env resources getting pruned due to CRD Validation ( #1833 )
...
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
2020-10-16 23:46:50 +05:30
fca0a60e5b
Fixed typos across fission repo ( #1832 )
...
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
2020-10-16 17:25:11 +05:30