neha_gupta and GitHub
6decb28aad
use controller-runtime signals ( #2589 )
2022-10-31 12:03:06 +05:30
Sanket Sudake and GitHub
45c81228b9
cleanup: Remove Opentracing support as no active users ( #2196 )
...
References:
[1] #2193
[2] https://fissionio.slack.com/archives/C3LUX6BBP/p1631706812069300
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-07-12 14:52:17 +05:30
Shubham Bansal and GitHub
70486d35ff
Upgrade alpine version from 3.15 to 3.16 ( #2480 )
2022-07-11 16:06:53 +05:30
Sanket Sudake and GitHub
3e8f31b156
Use common httpserver across fission ( #2409 )
...
* Defining httpserver package to capture httpserver shutdown and
introduces uniform running of http server across codebase.
* Add unit tests for httpserver
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2022-04-14 11:35:58 +05:30
Ankit Chawla and GitHub
8387ab3f00
Upgraded alpine version ( #2391 )
2022-03-17 17:18:58 +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
f86a1f2349
Update alpine base image to 3.14.3 and security fixes ( #2266 )
...
* Update alpine base image to 3.14.3
* Security: Update github.com/opencontainers/image-spec to v1.0.2
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-11-23 10:10:07 +05:30
Sanket Sudake and GitHub
c5ae216a4e
Capture os signals to gracefully shutdown fission components ( #2261 )
...
- Currently, fission components don't handle shutdown signals.
So we don't get any to do the required cleanup before the fission process
exits. Adding signal capture process with cancelling context so
that all dependent processes stop working when the process gets term
signal.
- Set log level to error in otel shutdown function
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-11-11 17:02:11 +05:30
Sanket Sudake and GitHub
2dd2d044ff
fix: Goreleaser for build and release ( #2189 )
...
* Add goreleaser for building binaries
* Update CONTRIBUTING.md
* Break release scripts for goreleaser
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-09-21 15:29:40 +05:30
Sanket Sudake and GitHub
43e8c5456a
fix: Use standard env variables for opentelemtry ( #2194 )
...
Opentelemetry defines standard variables which are supported by multiple observability platforms.
[1] https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/sdk-environment-variables.md
[2] https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md
By defining support for standard env vars, Fission open telemetry support can be leveraged with different
platforms such as NewRelic, SigNoz, DataDog etc.
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-09-16 17:48:26 +05:30
Sanket Sudake and GitHub
b260cdf0be
feature: Capture important events with span in fission and add trace id in logs ( #2180 )
...
* Capture important open telemetry events with span in fission
* Add context to missing HTTP calls
* Add Trace ID in logs
* capture trace id in the proxy handler function
* Always registry tracer to get traceID
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-09-15 16:41:59 +05:30
Sanket Sudake and GitHub
ea1eb88fcb
Add kubernetes objects aware logger with zap ( #2179 )
...
Using controller-runtime zap integration which is aware of Kubernetesobjects and logs only name+namespace of the object when complete runtime.Object compatible type is given to logger.
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-08-31 18:38:14 +05:30
Sanket Sudake and GitHub
eb171564c7
Update go version to 1.16 and kubernetes dev dependencies to 1.21 ( #2168 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-08-19 20:30:27 +05:30
462daa416e
Fission meets OpenTelemetry ( #2157 )
...
* add opentracing section and otelCollectorEndpoint
* initialize OTLP exporter
* pkg/controller: changes for context propagation
* pkg/executor: changes for context propagation
* pkg/fetcher: changes for context propagation
* pkg/router: changes for context propagation
* pkg/storagesvc: changes for context propagation
* set no default value for otel collector endpoint
* update readme and add notes to charts
* move common code to pkg/utils/otel
* adding fn and env as attributes
* don't use otelhttp transport for websocket
* URL ignore with common filter UrlsToIgnore
Note: The web socket example does not work when using OTEL HTTP. Here is an issue related to that on open-telemetry/opentelemetry-js-contrib.
Signed-off-by: Gaurav Gahlot <gauravgahlot0107@gmail.com >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-08-19 13:00:30 +05:30
Sanket Sudake and GitHub
93dbc2050c
Update alpine base image to 3.14 ( #2160 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-08-12 10:55:49 +05:30
Sanket Sudake and GitHub
aa3dd68494
Add go pprof support across fission components ( #2112 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-07-16 13:34:03 +05:30
Sanket Sudake and GitHub
089afb24a8
Fix race condition in fetcher readyness check ( #2101 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-07-06 10:56:06 +05:30
Sanket Sudake and GitHub
b796e579bf
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
Harsh Thakur and GitHub
3f0f2e8fe2
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
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
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
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
629b01bee7
Updates required for multi-architecture builds. ( #1891 )
...
Co-authored-by: Rahul Bhati <rjbhati009@gmail.com >
2021-02-03 23:03:04 +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
94c198a2b5
logs: change timestamp to ISO ( #1708 )
...
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
2020-09-11 08:04:29 +05:30
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
cd74708675
Pre-built docker go module dependency cache image ( #1318 )
2019-09-18 05:07:53 +08:00
Ta-Ching Chen and GitHub
2633a1cd0a
Bump Go version to 1.12 ( #1290 )
2019-08-28 13:47:40 +08:00
Ta-Ching Chen and GitHub
bbff0445de
Update go dependencies ( #1240 )
...
NOTES for update k8s dependencies
In go.mod
require (
k8s.io/api kubernetes-x.x.x
k8s.io/apiextensions-apiserver kubernetes-x.x.x
k8s.io/apimachinery kubernetes-x.x.x
// check here https://github.com/kubernetes/client-go#compatibility-matrix
k8s.io/client-go v12.0.0+incompatible
)
2019-08-23 16:17:12 +08:00
Ta-Ching Chen and GitHub
de9fc05c6d
Enable concurrent CI builds ( #1236 )
...
Currently, only one CI build can be started at the same time due to we only have only one testing cluster. This PR aims to enable multiple concurrent builds can be triggered to reduce the waiting time for CI builds. The major changes listed below:
1. Each build generate unique images for testing and debugging
2. Check whether the testing cluster is being used by another build.
3. Cache docker image & go mod after build finished
4. Improve dockerfiles for reusing docker build cache
2019-07-15 16:33:26 +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
eaddf8922e
Reuse go docker build cache ( #1218 )
2019-07-06 09:30:27 +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