8ddc21538e
updated charts to v2 and updated prometheus chart url, version ( #1923 )
...
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-05-27 12:31:25 +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
32c2732661
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
f0d3f2bcf3
OnlyOnce preupgrade check ( #2037 )
...
* OnlyOnce preupgrade check
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Update preupgradechecks.go
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-05-24 14:32:11 +05:30
Sanket Sudake and GitHub
d2bbe57faa
Change examples references to examples repostiory ( #2038 )
...
Since we recently migrated all fission examples to fission/examples repository, we need to change
respective references.
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-05-24 13:25:32 +05:30
Sanket Sudake and GitHub
fccfe615a0
Cleanup and remove hardcoding from delete-crds script ( #2035 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-05-23 13:23:30 +05:30
2fb79e1355
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
Sanket Sudake and GitHub
6de5461720
Use latest 1.14 go version in CI ( #2032 )
...
We are facing issue in CI for multiple PRs due to mlock. It depends on kernel version or ulimit. Trying to switch to latest go version from 1.14 and see if it helps!
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-05-20 11:49:30 +05:30
0f1cfeb4a0
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
7d78004b4b
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
1ff8711fcb
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
c37b85b133
Add preupgrade check for RPP ( #2014 )
...
* Add preupgrade check for RPP
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Change from panic to error, and better logging
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Minor changes
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Modify function to return CRD
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Remove redundant error logging
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
2021-05-18 18:53:32 +05:30
Harsh Thakur and GitHub
968658bc73
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
0a32d2b666
Handle SIGTERM signal in mqtrigger subscriber ( #2029 )
...
In test_mqtrigger.sh and test_mqtrigger_error.sh tests, we timeout program
if not received right output. Ensuring we capture timeout signal and do program
cleanup accordingly. Also printing due to which signal program failed.
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-05-18 16:26:44 +05:30
Sanket Sudake and GitHub
5c55a8cc15
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
806ce4b5b0
fix: hack/Dockerfile to reduce vulnerabilities ( #2016 )
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN10-OPENSSL-567125
- https://snyk.io/vuln/SNYK-DEBIAN10-PERL-570792
- https://snyk.io/vuln/SNYK-DEBIAN10-PERL-570797
- https://snyk.io/vuln/SNYK-DEBIAN10-PERL-570802
- https://snyk.io/vuln/SNYK-DEBIAN10-SUBVERSION-1071814
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-05-10 18:19:37 +05:30
Sanket Sudake and GitHub
61a2edd172
Change alpine base image from 3.10 to 3.13 ( #2017 )
...
Alpine 3.10 has reached end-of-support. Using alpine 3.13 instead.
Reference: https://alpinelinux.org/releases/
2021-05-10 12:50:36 +05:30
Vishal and GitHub
1c17467c39
Restoring one example as it is used in many places including Helm charts ( #2011 )
...
Some tests were pointing to examples directory which has been moved out. Also kept one node.js examples as it is widely used in Helm charts etc.
2021-05-09 23:36:39 +05:30
Vishal and GitHub
2f2a3cfe8a
Moving out Environments to own repo ( #1810 )
...
Moved out environments and examples out of main Fission repo to their own repo. This is to allow changes to environment releases to be independent of main Fission releases.
2021-05-01 15:42:35 +05:30
Harsh Thakur and GitHub
1613affa33
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
baed6abc9c
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
ca8b950c9f
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
eb737d0f3e
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
598d4dcbb6
Fix wrong checksum was assigned ( #1968 )
2021-03-29 16:20:21 +05:30
James Sinclair and GitHub
5fefd925c9
Add a SharedIndexInformer for pods to router. ( #1951 )
...
Improving efficiency with cache
2021-03-22 16:50:24 +05:30
Rahul Bhati and GitHub
ad5289f2ef
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
853e4a7c04
Add fields to pod spec ( #1932 )
...
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
2021-02-23 15:16:45 +05:30
Rahul Bhati and GitHub
d9bb900a8a
Release 1.12.0 ( #1937 )
2021-02-11 22:22:37 +05:30
Rahul Bhati and GitHub
e6c1df63e6
Updated tags of connector images ( #1934 )
...
Signed-off-by: therahulbhati <rjbhati009@gmail.com >
2021-02-10 21:50:47 +05:30
b968d9f980
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
b6edc1f712
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
33d7bf2726
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
452b1e332d
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
04ce54938a
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
Rahul Bhati and GitHub
5a71a744d3
Updated role and permission for fission-crd cluster role ( #1867 )
2021-02-04 18:07:43 +05:30
629b01bee7
Updates required for multi-architecture builds. ( #1891 )
...
Co-authored-by: Rahul Bhati <rjbhati009@gmail.com >
2021-02-03 23:03:04 +05:30
f1ce32e9d3
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
2b896c3978
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
341d74a3a7
Fixing issue of pulling docker image twice in CI ( #1903 )
...
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
2021-02-02 12:25:03 +05:30
Rahul Bhati and GitHub
20c8e07515
Updated go plugin version for Github Action CI/CD ( #1922 )
2021-01-29 10:28:22 +05:30
Gaurav Gahlot and GitHub
6758a04dbd
Fixed golangci-lint issues: /fission/pkg ( #1902 )
2021-01-19 23:29:20 +05:30
Tosone and GitHub
5155dc72ad
Remove unnecessary import package. ( #1897 )
2020-12-28 18:48:02 +05:30
Rahul Bhati and GitHub
ece755ceec
Replace build status badge to use GH Actions status ( #1887 )
2020-12-21 22:51:27 +05:30
86b33dbfaf
Github Actions Workflows ( #1876 )
...
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
Co-authored-by: sahil-lakhwani <sahilakhwani@gmail.com >
Co-authored-by: agiwalpooja20
Co-authored-by: abhisheks-infracloud
2020-12-17 19:00:44 +05:30
Gaurav Gahlot and GitHub
bf78b456ac
Fixed golangci-lint issues: /fission/pkg/executor ( #1842 )
2020-12-03 22:29:35 +05:30
Rahul Bhati and GitHub
57cee2c45a
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
8a40071a20
Fixed golangci-lint issues: /fission/pkg/router ( #1831 )
2020-11-03 16:15:50 +05:30
96ae029b4d
Update nats streaming image name in values.yaml and deployments yaml ( #1839 )
...
Co-authored-by: GT <gtalekar@infracloud.io >
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
2020-10-28 23:37:47 +05:30
dd13067242
in-progress golint warning fixes ( #1799 )
...
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
2020-10-28 11:44:35 +05:30
1a42727043
Fix golint warnings for publisher package ( #1822 )
...
Co-authored-by: Shajitha Mohammed <shajithamohammed28@gmail.com >
2020-10-27 21:19:28 +05:30