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
Sanket Sudake and GitHub
f5dc6ab994
Correct docker platforms and optimize make commands ( #2066 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-11 13:05:08 +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
Harsh Thakur and GitHub
f01de5c802
Add websocket test ( #2053 )
...
* Add websocket test
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Use trap for exit code
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Remove readme
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Format, go version fix
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Update image name
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Use spec dir
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Change directory before running file
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Use
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
2021-06-10 12:27:20 +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
5b1883802e
Added fission upgrade workflow ( #2050 )
...
* Adding upgrade workflow file
* Update upgrade_test.yaml
* Update push_pr.yaml
* Update upgrade_test.yaml
* adding kube A
* Update upgrade_test.yaml
* adding script for upgrade testing
* adding fission cli from soource
* changing order
* correcting typo
* adding fission fn
* restructirung upgrade test scripts
* restructirung upgrade test scripts
* adding fission cli build
* script arrangment
* script arrangment
* changing job name
* adding supporting scripts
* adding supporting scripts
* adding supporting scripts
* script re-ordered
* script re-ordered
* script modifcation
* moved scripts under /test
* separated function test blocks
* added a sleep
* reverting main workflow changes
* added stable version installation step
* added stable version installation step
* stable fn test
* adding latest version build
* adding latest version build
* adding new tests
* adding new tests
* adding new tests
* adding new tests
* adding new tests
* adding new tests
* adding new tests
* adding new tests
* adding new stable release
* adding new stable release
* disabling skaffold build and using docker build
* disabling skaffold build and using docker build
* disabling skaffold build and using docker build
* disabling skaffold build and using docker build
* fission upgrade using helm
* fission upgrade using helm
* fission upgrade using helm
* fission upgrade using helm
* fission upgrade using helm
* fission upgrade using helm
* fission upgrade using helm
* fission upgrade using helm
* adding helm upgrade with dependency update
* cleanup scripts
* added crd deletion step before helm upgrade
* added crd deletion step before helm upgrade
* added crd deletion step before helm upgrade
* adding run tests
* added test apache deployment
* change in repo name
* helm list added
* changed pullpolicy
* troubleshooting
* troubleshooting
* troubleshooting
* troubleshooting
* troubleshooting
* troubleshooting
* removed hardcoded enteries from helm charts
* fixing alignment
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* removed temp files [cleanup]
* removed timeout
* adding preupgradechecks image build
* adding fission object creation after upgrade
* removing fissin object creation after upgrading...
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* clean-up
* clean-up
* output formatting
* added a sleep to re-create resources
* added a sleep to re-create resources
* added a sleep to re-create resources
* excluded examples from upgrade work flow
* removed helm stable update step from workflow
* removed helm stable update step from workflow
* added pr corrections
* typo correction
* troubleshooting
* troubleshooting
* troubleshooting
* pr corrections
* pr corrections
* pr corrections
* removed sleep after helm upgrade
* fixing typo
* remvoed sleep after fn creation
* clean-up
* clean-up
* added workflow_dispatch
* added workflow_dispatch
* added workflow_dispatch
* added workflow_dispatch
Co-authored-by: Jithindevasia <jithindevasia@Infraclouds-MacBook-Pro.local >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-07 21:20:06 +05:30
bef677678b
make router resources configurable (needed for router HPA setup) ( #1857 )
...
Co-authored-by: Daniel Candrea <daniel.candrea@complyadvantage.com >
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-06 14:13:07 +05:30
Sanket Sudake and GitHub
61c59b514f
Collect fission dump if CI tests fails & enable manual trigger ( #2058 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-06 10:42:43 +05:30
8f998e799d
Feature/router core component pod config ( #1936 )
...
* Update router.yaml
* Update router.yaml
* Update README.md
* Update values.yaml
* Update values.yaml
* Update Chart.yaml
* Update Chart.yaml
* Update Chart.yaml
* Update Chart.yaml
* Update Chart.yaml
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-03 21:15:17 +05:30
Sanket Sudake and GitHub
c2f455ec1b
Capture timestamp whenever cleanup is triggered in tests ( #2054 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-03 14:31:40 +05:30
Sanket Sudake and GitHub
3a8af97eb9
Wait for small time to avoid timeout in specs tests ( #2052 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-03 10:57:10 +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
5f47a25711
Multiarch release ( #1929 )
...
* Adding release script for multiarch
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Comment on buildx
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Remove need of triggering buildx script explicitly in build
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-02 14:40:11 +05:30
Sanket Sudake and GitHub
4c9b67ead4
Add role required by fetcher pod to fetch events & pods in helm chart ( #2048 )
...
* Add role required by fetcher pod to fetch events & pods in helm chart
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Add prometheus repo in Github PR flow
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-02 11:42:41 +05:30
Harsh Thakur and GitHub
adef5e0e6a
Add targets for CRDs and CLI ( #2049 )
...
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
2021-06-01 14:58:10 +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
4ff204a0c4
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
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
4a1fc11b2d
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
42c22a7bbb
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
369537e515
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
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
Sanket Sudake and GitHub
524e7bcfd3
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
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
f523f8b2e3
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
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
ee4feb17c4
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
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
040763ebb2
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
dfd8d340a0
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
ca6bc12cfc
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
5b4bf5964e
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
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
Rahul Bhati and GitHub
fe0bd3ff67
Release 1.12.0 ( #1937 )
2021-02-11 22:22:37 +05:30
Rahul Bhati and GitHub
b5adc2bf93
Updated tags of connector images ( #1934 )
...
Signed-off-by: therahulbhati <rjbhati009@gmail.com >
2021-02-10 21:50:47 +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