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
Sanket Sudake and GitHub
59c950eeda
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
f4bdf10ae3
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
eca47fb3d5
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
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
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
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
a69f7a9d7a
[WIP] (feat) Added Exponential BackOff for Retry in builder ( #1614 )
...
Co-authored-by: Rahul M Chheda <rahul.chheda@mayadata.io >
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
2020-06-29 12:01:29 +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
34ede16ef6
Not to exclude hidden file when creating archive ( #1458 )
...
Some of configs are hidden files like .babelrc, we should not ignore them.
2019-12-05 01:54:05 +08:00
Ta-Ching Chen and GitHub
e0b9ae7880
Ignore hidden file when creating archive file ( #1450 )
2019-12-01 09:58:16 +08:00
Ta-Ching Chen and GitHub
86021e4380
Add checksum and insecure flag for user to skip checksum generation ( #1430 )
2019-11-24 01:35:01 +08:00
Ta-Ching Chen and GitHub
d30dbbfaa2
Migrate from urfave/cli to cobra ( #1385 )
2019-11-08 21:22:00 +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
6e75503491
Allow using URL as archive source when creating functions ( #1360 )
...
In the case of large files, it takes a long time for the user to download
the source from the URL and upload it to StorgeSvc through CLI.
This PR allows a user to use URL as the function source when creating a function
and provides a new flag "--keeparchiveurl" to let the user to decided
whether the CLI should download the file first or store the file URL in the
archive directly. If "--keeparchiveurl" is true, then no checksum will be
generated, it's the user's responsibility to ensure the file won't be changed.
2019-10-28 22:37:13 +08:00
Ta-Ching Chen and GitHub
b94e410ef7
Refactor package CLI command ( #1345 )
2019-10-13 01:30:20 +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
df7d30755e
Fix roundtripper doesn't increase request timeout setting after each retry ( #1216 )
2019-07-19 00:46:57 +08:00
Ta-Ching Chen and GitHub
5ad8d837c8
Fix fetcher of newdeploy pod error out when starting up ( #1210 )
...
* Connect to k8s API server to ensure network connectivity
* Fix readiness probe path
2019-07-14 21:09:35 +08:00
Ta-Ching Chen and GitHub
e32cd61783
Allow to set log level through environment variable ( #1217 )
2019-07-07 04:39:42 +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