Ta-Ching Chen and Vishal
49e0c3587b
Fix canary config manager creation error in controller ( #1105 )
...
Fixing failure of the controller startup when Prometheus is provided as env variable and it fails to parse correctly
2019-03-06 15:50:09 +05:30
Ta-Ching Chen and GitHub
8b0a201f69
Fix executor tries to create same name deployment ( #1082 )
...
The root cause of the issue was introduced by PR https://github.com/fission/fission/pull/1009/files .
To be short, even the CRD of environment was delete, it still takes time for executor (poolmgr) to destroy env pool. In our cases, the previous test creates an env and delete it when test finished, then the next one creates the same name env, but failed to create pool due to the deploy name conflict. So the executor selects the pod from the first created env pool. Then, executor starts to delete the env pool, and makes the pod state became Termination state. To fix this problem, a unique name of deployment will be returned after this PR to prevent the name conflict.
2019-01-30 22:14:14 +08:00
Ta-Ching Chen and GitHub
f24b016346
Fix goroutines change DialContext of http.DefaultTransport in router ( #1063 )
2019-01-26 04:48:10 +08:00
Ta-Ching Chen and GitHub
5ff875b1ac
Fix fluentd plugin version to prevent version incompatible problem ( #1076 )
2019-01-23 20:18:37 +08:00
Ta-Ching Chen and GitHub
5e1e8f85cd
Remove/Redirect out-of-date docs to fission doc site ( #1061 )
2019-01-17 16:29:15 +08:00
Ta-Ching Chen and GitHub
273c6c002f
Replace router svcAddrUpdateLocks with new throttler package for code readability&reusability ( #1047 )
...
Rename svcAddrUpdateLock to Throttler and move it to the top-level directory as a package for code import.
2019-01-16 12:37:46 +08:00
Ta-Ching Chen and GitHub
37846a5827
Fix requests are sent to unready function pod (newdeploy) ( #1005 )
...
* Refactor specialization process
* Separate readiness and liveness probe to different routes
For newdeploy, readiness probe should check whether a fetcher specializes env container successfully or not. In this commit, fetcher returns the actual state of current specialization status instead of returning 200ok directly.
2018-12-27 16:29:31 +08:00
Ta-Ching Chen and Vishal
04e6433d5d
Fix cli create archive with nonexistent file ( #1036 )
...
CLI should return an error if user specifies a file that does not exist
2018-12-27 11:06:39 +05:30
Ta-Ching Chen and GitHub
f9f5fe436a
Fix go env panic when failed at loading plugin ( #1031 )
...
Fix go env panic when failed at loading plugin to make it easier for troubleshooting.
2018-12-27 00:14:22 +08:00
Ta-Ching Chen and GitHub
f68572ce78
Refactor RoundTrip function for better code reading ( #991 )
2018-12-25 13:31:15 +08:00
Ta-Ching Chen and GitHub
ecd99177bb
Update dotnet and perl environment docs for rebuilding env images ( #1035 )
2018-12-23 17:48:09 +08:00
Ta-Ching Chen and GitHub
8e6f6ffda9
Use Header.Set() to override the existing header value ( #1032 )
...
Header.Add() appends string if there are same header key exists. Use Header.Set() to prevent this.
2018-12-20 17:23:26 +08:00
Ta-Ching Chen and GitHub
85f8dcc2b2
Fix builder shows "http: multiple response.WriteHeader calls" ( #1029 )
2018-12-20 01:29:15 +08:00
Ta-Ching Chen and GitHub
0a135173b4
Fix builder & newdeploy not using latest image during CI build ( #1033 )
2018-12-19 22:35:28 +08:00
Ta-Ching Chen
6f2d8f5372
Update charts version & changelog to v1.0-rc1
2018-12-13 17:45:50 +08:00
Ta-Ching Chen
045ab734c6
Fission v1.0-rc1
2018-12-13 15:45:32 +08:00
Ta-Ching Chen and GitHub
f0c0936b87
Validate command flag input by adding cli hook ( #1017 )
2018-12-10 23:48:33 +08:00
Ta-Ching Chen and Vishal
314e16a88e
Pre-create kubernetes resources for function with minScale=0 ( #976 )
...
Pre-create Kubernetes resources if functions has MinScale=0 and then scale when first function is called.
2018-12-03 15:52:07 +05:30
Ta-Ching Chen and GitHub
72faa927de
Use executor type as a delimiter to prevent deploy name conflict ( #1009 )
2018-11-30 13:04:44 +08:00
Ta-Ching Chen and GitHub
7cedf8d580
Fix issues when specifying resources/scales during updating/creation process ( #970 )
2018-11-29 20:46:48 +08:00
Ta-Ching Chen and GitHub
17cbc5baad
Upgrade environment dependencies for security alert ( #1006 )
2018-11-29 16:38:38 +08:00
Ta-Ching Chen and GitHub
c2bcbb06a9
Rename canary flag name from funcN/funcN-1 to newfunction/oldfunction ( #1003 )
2018-11-28 16:27:29 +08:00
Ta-Ching Chen and GitHub
c476f54a6c
Fix MQ trigger (NATS) wrongly sends error message to response topic ( #1002 )
2018-11-25 10:07:46 +08:00
Ta-Ching Chen and GitHub
4b5ab0ad93
Shorten executor kubernetes objects name ( #975 )
2018-11-24 20:41:38 +08:00
Ta-Ching Chen
4a8c200c37
Fix helm command not found issue when kubeconfig is not provided.
2018-11-20 17:24:37 +08:00
Ta-Ching Chen and Vishal
d9eee058ce
Newdeploy - change only in minscale should not restart deployment
2018-11-15 15:31:28 +05:30
Ta-Ching Chen and GitHub
4f3b7de04a
Fix release script failed to generate yaml for nonhelm installation ( #978 )
2018-11-14 15:02:43 +08:00
Ta-Ching Chen and GitHub
bfa8e6a45f
Show builder image when list all envs ( #971 )
2018-11-05 23:18:37 +08:00
Ta-Ching Chen and GitHub
9764eff05d
Fix CLI not shows package name when creating a function ( #966 )
2018-11-05 17:19:05 +08:00
Ta-Ching Chen and GitHub
b6ea85e353
Fix failed to pull influxdb image from dockerhub ( #957 )
...
* Fix failed to pull influxdb image from dockerhub
* Disable jvm test temporarily (issue 958)
2018-10-31 16:32:45 +08:00
Ta-Ching Chen and GitHub
29aabaabda
Optimize function latency when cache expired/invalid under high concurrency ( #856 )
...
* Optimize router response time by adding update lock
In 0.9.2, the router sends multiple GetServiceForFunction requests to executor
to get the service URL. However, the response time of executor will increase
under high-concurrency situation due to too many requests are waiting for
processing.
To solve the problem, an update lock was added to the router. All of goroutines belongs
to the same function need to grab the update lock before sending the request.
Only the first goroutine which gets the update lock is allowed to send request.
In this way, we reduce the burden of executor and lower the failure rate.
2018-10-27 23:35:00 +08:00
Ta-Ching Chen and GitHub
619b390af3
Support for full url (base on aalubin changes) ( #941 )
2018-10-21 04:04:07 +08:00
Ta-Ching Chen and GitHub
5aeba59b75
Bump flask version ( #942 )
2018-10-18 22:56:04 +08:00
Ta-Ching Chen and GitHub
d23b210f4e
Add X-Forwarded-Host to request header ( #890 )
2018-10-15 14:17:18 +08:00
Ta-Ching Chen and GitHub
e4213f6eb6
Fix flag not found problem when running canary demo scripts ( #914 )
2018-10-02 22:07:03 +08:00
Ta-Ching Chen and GitHub
6b49c194ca
Fission supportability: Add dump command to dump information for debugging ( #754 )
...
* Add v1 support tool proposal
* Fission supportability: Add dump command to dump information for debugging
2018-09-19 14:35:51 +08:00
Ta-Ching Chen and GitHub
a86c9431d3
Check CRD creation error instead of doing return directly ( #897 )
2018-09-18 16:30:56 +08:00
Ta-Ching Chen and GitHub
82d23b9bf8
Fix fetcher not close file descriptor correctly ( #889 )
...
* Fix fetcher not close file descriptor correctly
* Call Sync() before chmod
2018-09-11 14:15:56 +08:00
Ta-Ching Chen and GitHub
a4f58fbf10
Check pod container ready state ( #861 )
...
Ensure pod is ready by checking pod’s containers state and deletionTimestamp
2018-09-07 22:17:07 +08:00
Ta-Ching Chen and GitHub
21b0a1d852
Fix failed to find release-builder dockerfile & push specific tag ( #870 )
2018-08-26 23:02:07 +08:00
Ta-Ching Chen and GitHub
f8535be7da
V0.10.0 ( #868 )
2018-08-19 19:05:19 +08:00
Ta-Ching Chen and GitHub
2d01382a82
Add cleanup function to test scripts ( #863 )
2018-08-18 02:11:08 +08:00
Ta-Ching Chen and GitHub
d443f8b2ef
Scale deployment to zero when function is in idle state ( #775 )
2018-08-17 23:03:34 +08:00
Ta-Ching Chen and GitHub
dffb5cdf8b
Fix CLI failed to setup port-forward caused by #712 ( #867 )
2018-08-17 16:05:13 +08:00
Ta-Ching Chen and GitHub
9d7355cbaa
Fix newdeploy fail to update HPA, deployment of a function after function update ( #862 )
2018-08-15 19:56:30 +08:00
Ta-Ching Chen and GitHub
07ca5df8d0
Fix router not taps function services ( #860 )
2018-08-13 19:45:49 +08:00
Ta-Ching Chen and GitHub
e730376e3e
Add rebuild subcommand to pkg command ( #808 )
2018-08-12 04:13:25 +08:00
Ta-Ching Chen and GitHub
27b74a7cf2
Fix router panic when trying to update route ( #811 )
2018-08-05 01:06:47 +08:00
Ta-Ching Chen and GitHub
088e665d28
Fix spec failed to archive single directory ( #837 )
2018-08-03 21:26:19 +08:00
Ta-Ching Chen and GitHub
b5a906b2f4
Do resources validation when validate spec files ( #840 )
2018-08-03 13:00:29 +08:00
Ta-Ching Chen and GitHub
0e40cb5f4f
Fix newdeploy not updates deployment after function's entrypoint changed ( #838 )
2018-08-02 21:00:27 +08:00
Ta-Ching Chen and GitHub
1a1ac49ce0
Fix CLI failed to set up port-forwarding when multiple controller pods exist in the same namespace ( #712 )
...
* Fix CLI failed to set up port-forwarding when multiple controller pods exist in the same namespace
* Check pod healthy state before establishing the connection
2018-08-02 17:20:53 +08:00
Ta-Ching Chen and GitHub
9a7ffc2f5b
Add more meaningful error messages to executor when getServiceForFunction ( #752 )
2018-07-30 09:10:48 +08:00
Ta-Ching Chen and GitHub
425e447e5c
Add go environment vendor directory support ( #781 )
...
* Add go environment vendor directory support
* Use symbolink instead of copying files to gopath
* Add go vendor example package & test
2018-07-13 13:16:22 +08:00
Ta-Ching Chen and GitHub
2982efebb8
Delete namespace in background to reduce build time ( #791 )
...
* Delete namespace in background
* TPR is no longer exists
2018-07-12 11:00:19 +08:00
Ta-Ching Chen and GitHub
14db705891
Break & Stop the build immediately if a non-zero exit code was returned ( #790 )
2018-07-11 20:15:03 +08:00
Ta-Ching Chen and GitHub
9c885ef6f5
Fix spec command overrides existing archive's url of a package ( #764 )
2018-07-11 13:03:45 +08:00
Ta-Ching Chen and GitHub
462db2f00c
Fix “rm: missing operand” in release script ( #779 )
2018-07-06 14:15:20 +08:00
Ta-Ching Chen and GitHub
2504408803
Fix go env panic “plugin: not implemented” ( #784 )
2018-07-06 12:24:46 +08:00
Ta-Ching Chen and GitHub
61569d1c38
Change flag name to KeepArchive for backward compatibility ( #787 )
2018-07-06 03:13:07 +08:00
Ta-Ching Chen and smruthi2187
44be0f6859
Move build process from host to docker container during release process ( #682 )
2018-07-03 21:14:06 -07:00
Ta-Ching Chen and GitHub
c863616b38
Add release steps to render & upload fission installation YAML ( #745 )
2018-06-26 13:41:43 +08:00
Ta-Ching Chen and GitHub
c705ba355e
Fix executor not reaps idle function pods for functions with executortype newdeploy ( #744 )
2018-06-21 17:54:42 +08:00
Ta-Ching Chen and GitHub
58a5f1cb0b
Fix executor wrongly passes loop variable reference to function ( #751 )
2018-06-19 09:55:41 +08:00
Ta-Ching Chen and GitHub
0057270551
Add time trigger cron spec examination tool ( #680 )
2018-06-04 19:02:54 +08:00
Ta-Ching Chen and GitHub
7a7d15b50c
Update k8s dependencies to 1.10 ( #687 )
2018-06-01 15:43:19 +08:00
Ta-Ching Chen and GitHub
fedf6b6e5b
Check spec directory exists before reading spec files ( #709 )
...
* Check spec directory exists before reading spec files
* Fix spec example
2018-05-31 03:01:40 +08:00
Ta-Ching Chen and GitHub
9c91f00cb4
Replace Werkzeug with Bjoern as underlying WSGI server ( #672 )
2018-05-09 14:00:40 +08:00
Ta-Ching Chen and GitHub
0a648d1d75
Version -> 0.7.2 ( #670 )
2018-05-05 20:01:23 +08:00
Ta-Ching Chen and GitHub
6a3e326f36
Add benchmark script ( #666 )
2018-05-05 12:42:16 +08:00
Ta-Ching Chen and GitHub
0e3a270d27
Delete deployment with proper delete propagation policy ( #630 )
2018-05-01 23:25:50 +08:00
Ta-Ching Chen and GitHub
6a7381c575
Fix newdeploy backend failed to delete deployment due to incorrect resource version ( #657 )
2018-05-01 16:48:34 +08:00
Ta-Ching Chen and GitHub
7577339912
Change time precision for fluentd influxdb plugin to nano second ( #646 )
2018-04-26 20:57:55 +08:00
Ta-Ching Chen and GitHub
6375819195
Fix test cases occasional failure ( #647 )
2018-04-26 14:39:16 +08:00
Ta-Ching Chen and GitHub
2d359f879a
Fix SEGFAULT issue when buildmgr failed to update package ( #635 )
2018-04-21 23:17:33 +08:00
Ta-Ching Chen and GitHub
400e19a48f
Fix executor does not reap specialized function pod when env no longer exists ( #633 )
2018-04-19 07:39:37 +08:00
Ta-Ching Chen and GitHub
0194f53e12
Fix SEGFAULT issue when build manager failed to update package ( #626 )
2018-04-17 09:36:11 +08:00
Ta-Ching Chen and GitHub
cf53e17be5
Remove confusing default value description & add default value to cli flag ( #619 )
2018-04-16 17:27:10 +08:00
Ta-Ching Chen and GitHub
d01b309fc7
Add validate function to crd resource and do validate before creation/update ( #580 )
2018-04-08 00:56:13 +08:00
Ta-Ching Chen and GitHub
1dbf8f9243
Fix components crash before crds creation ( #602 )
...
* Wait for CRDs creation for 30 sec when component start
* Fix ensureCRD return nil while the error is not empty
2018-04-04 15:40:55 +08:00
Ta-Ching Chen and GitHub
9406720e8a
Add deprecated message to subcommand pods ( #592 )
2018-04-04 01:26:27 +08:00
Ta-Ching Chen and GitHub
2a06705320
Use a separate controller loop to watch functions change and create a service ( #544 )
2018-04-04 01:17:51 +08:00
Ta-Ching Chen and GitHub
6ab902e7a3
Add steps for how to set FISSION_ROUTER env variable & update docs ( #593 )
2018-03-31 01:10:40 +08:00
Ta-Ching Chen and Soam Vasani
03046170dc
Add post-upgrade-job to track fission upgrade ( #564 )
2018-03-26 12:28:35 -07:00
Ta-Ching Chen and GitHub
1447e6949d
Show fission deployment version with cli ( #538 )
...
Add version information to binary through go ldflags
2018-03-19 14:14:55 +08:00
Ta-Ching Chen and GitHub
048ab6149a
Fix executor failed to clean cache & kubeobjs after function deleted ( #534 )
2018-03-14 02:29:12 +08:00
Ta-Ching Chen and GitHub
039e003af6
Always retry for function pod specialization when istio feature is enabled. ( #536 )
2018-03-11 23:17:05 +08:00
Ta-Ching Chen and GitHub
afd7f7f436
Show warning when trying to create a route with non-existent function ( #539 )
2018-03-09 02:45:30 +08:00
Ta-Ching Chen and GitHub
b4300feabc
Fix executor tries to create a new deployment when a function is updated ( #524 )
...
Newdeploy manager now checks the existence of function service cache by function UID before trying to create a new deployment. And return the cached fsvc directly if the cache exists.
2018-03-08 02:52:36 +08:00
Ta-Ching Chen and GitHub
5e2f984136
Fix CLI not update function's secret/configmap correctly ( #512 )
...
This PR addressed some issues introduced in PR399. Also, now env builders and function pods can mount shared secret/configmap volumes correctly.
2018-02-28 05:28:05 +08:00
Ta-Ching Chen and GitHub
23942fdf7d
Istio integration ( #421 )
...
This the very first step for fission to integrate with Istio, which is an open platform to connect, manage, and secure microservices. With Istio, users are able to monitor functions usage and trace requests latency through dashboards. For more information, please visit http://fission.io/docs/
2018-02-28 04:09:32 +08:00
Ta-Ching Chen and GitHub
1428c64b4f
Fix post-install-job container failure due to curl command not found ( #514 )
2018-02-27 18:08:16 +08:00
Ta-Ching Chen and Soam Vasani
f695a81c46
Improve release script ( #494 )
...
* Add step for releasing environment builder image
* Strip $GOPATH from strack trace
2018-02-12 15:42:23 -08:00
Ta-Ching Chen and GitHub
46895b03c8
Update SHA256 HASH in CHANGELOG.md due to binaries update ( #493 )
...
Update SHA256 HASH in CHANGELOG.md due to binaries update due to build flags change.
(Strip GOPATH from stack trace)
2018-02-10 00:47:44 +08:00
Ta-Ching Chen and GitHub
a5cb1d3e3d
Add simple usage doc for accessing secret/configmap in function ( #484 )
2018-02-08 13:05:30 +08:00
Ta-Ching Chen and GitHub
582c9808b5
Add upgrade guide from 0.4.x to 0.5.0 ( #490 )
2018-02-08 13:05:04 +08:00
Ta-Ching Chen and GitHub
398c58365a
Version -> 0.5.0 ( #489 )
2018-02-08 03:39:02 +08:00
Ta-Ching Chen and GitHub
9deb4f53db
Fix binary environment build failure due to package not found ( #487 )
...
Subpackage k8s.io/client-go/pkg/api/v1 is no longer exist in HEAD.
(https://github.com/kubernetes-incubator/external-storage/issues/324 )
For now, just duplicate the FunctionLoadRequest struct like what go environment did.
2018-02-07 21:44:12 +08:00
Ta-Ching Chen and GitHub
3c513c7f61
Migrate project.json to dotnet.csproj & do build in dotnet container ( #488 )
2018-02-07 21:43:51 +08:00
Ta-Ching Chen and Soam Vasani
c56ed598cb
Fix potential nil pointer problem when both watchResources and waitForBuild are equal to false ( #485 )
2018-02-06 15:14:47 -08:00