Ta-Ching Chen and GitHub
86b506c9b6
Add troubleshooting guide link ( #1292 )
2019-08-28 14:41:13 +08:00
Ta-Ching Chen and GitHub
e762471d78
Bump Go version to 1.12 ( #1290 )
2019-08-28 13:47:40 +08:00
Ta-Ching Chen and GitHub
c49377569e
Refactor environment CLI command ( #1265 )
2019-08-27 15:43:59 +08:00
Ta-Ching Chen and GitHub
560aa34ce2
Fix typo extraCoreComponmentPodConfig -> extraCoreComponentPodConfig ( #1287 )
2019-08-27 14:12:51 +08:00
Ta-Ching Chen and GitHub
ee18a88664
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
97b9350651
Improve CI integration test script ( #1285 )
2019-08-22 16:01:53 +08:00
Ta-Ching Chen and GitHub
b9997b2ece
Add swagger (OpenAPI 2.0) support ( #1245 )
...
* Add swagger (OpenAPI 2.0) support
* Gererate swagger_doc before building bundle image
2019-08-21 15:49:41 +08:00
Ta-Ching Chen and GitHub
8cafe1ebf3
Set full URL path to request header ( #1266 )
2019-08-20 16:44:21 +08:00
Ta-Ching Chen and GitHub
4dccfcc156
Fix go 1.9.2 & 1.11.4 shows "go mod not found" ( #1276 )
2019-08-20 10:12:48 +08:00
Ta-Ching Chen and GitHub
a6e75b4da6
Use fuzzy version for openJDK dependency ( #1269 )
2019-08-13 16:17:10 +08:00
Ta-Ching Chen and GitHub
7bbcaf2174
Allow to set deployment config uid during initialization ( #1249 )
2019-08-01 22:53:04 +08:00
Ta-Ching Chen and Vishal
ac21c037d6
Fix release script tagging wrong image name ( #1257 )
2019-07-30 14:51:25 +05:30
Ta-Ching Chen and GitHub
3b47daa8fc
Update tensorflow serving image name in env README ( #1256 )
2019-07-30 14:30:16 +08:00
Ta-Ching Chen and GitHub
74ad096158
Fix wrongly replace spec api version ( #1254 )
2019-07-29 13:49:05 +08:00
Ta-Ching Chen and GitHub
655a76447e
Fix CI unable to start test due to the same travis build ID ( #1246 )
2019-07-25 15:54:12 +08:00
Ta-Ching Chen and GitHub
efe1209550
Update flask version to resolve CVE alert ( #1243 )
2019-07-23 11:08:23 +08:00
Ta-Ching Chen and GitHub
1beaa9ec13
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
6e00733f68
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
971a314d63
Fix fetcher client doesn't handle error properly ( #1238 )
2019-07-15 21:01:32 +08:00
Ta-Ching Chen and GitHub
40e1689e49
Fix build failed due to script unable to find configmap ( #1237 )
2019-07-15 17:54:37 +08:00
Ta-Ching Chen and GitHub
fe8fa94c77
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
a9dd4bf81a
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
56beac6508
Make router keep-alive setting configurable ( #1225 )
2019-07-12 12:12:04 +08:00
Ta-Ching Chen and GitHub
b0b29da388
Replace localhost with 127.0.0.1 to prevent DNS resolving problem ( #1227 )
2019-07-12 09:16:10 +08:00
Ta-Ching Chen and GitHub
c1cb9603a5
Fix release script wrongly tags builder as env image ( #1226 )
2019-07-10 16:03:14 +08:00
Ta-Ching Chen and GitHub
58722f849a
Enable go module support for go environment ( #1152 )
2019-07-10 14:00:29 +08:00
Ta-Ching Chen and GitHub
9e7dd5aa27
Fix nil pointer when CLI unable to get server version ( #1223 )
2019-07-07 09:55:00 +08:00
Ta-Ching Chen and GitHub
9d13081803
Allow to set log level through environment variable ( #1217 )
2019-07-07 04:39:42 +08:00
Ta-Ching Chen and GitHub
78a774cfd9
Reuse go docker build cache ( #1218 )
2019-07-06 09:30:27 +08:00
Ta-Ching Chen and GitHub
9f51f9064d
Fix poolmanager specializes a function pod repeatedly if istio is enabled ( #1208 )
2019-07-03 11:26:35 +08:00
Ta-Ching Chen and GitHub
b229d6e1b0
Add experimental environment: tensorflow-serving ( #1212 )
2019-07-02 15:43:55 +08:00
Ta-Ching Chen and GitHub
2ba66afb9f
Fix Istio-proxy cannot collect HTTP-level information ( #1209 )
2019-07-02 00:08:29 +08:00
Ta-Ching Chen and GitHub
981bb21756
Reuse maven build cache in JVM environment build process ( #1207 )
2019-06-20 17:03:17 +08:00
Ta-Ching Chen and GitHub
a297a67385
Fix executor panic problem when specialization timeout ( #1211 )
2019-06-20 13:56:02 +08:00
Ta-Ching Chen and GitHub
e189ac4fc2
Fallback to get user home directory from env ( #1203 )
2019-06-05 12:56:30 +08:00
Ta-Ching Chen
4bc5d49792
Add ruby/dotnet20 environment builder to release script
2019-06-03 20:57:55 +08:00
Ta-Ching Chen
3860039f9a
Update v1.3.0 changelog
2019-06-03 20:15:49 +08:00
Ta-Ching Chen
cb8605cf60
Fission 1.3.0
2019-06-03 18:26:34 +08:00
Ta-Ching Chen and GitHub
4c4bb1bc2e
Check fission CLI & server git commit SHA before test ( #1200 )
...
Check fission CLI & server git commit SHA before test
to make sure we test against with the same commit.
2019-06-03 14:27:58 +08:00
Ta-Ching Chen and GitHub
a3fd606197
Update bug issue templates ( #1198 )
2019-06-03 08:24:07 +08:00
Ta-Ching Chen and GitHub
93d4f2c77a
Add static code analysis to CI test ( #1197 )
2019-06-02 14:29:38 +08:00
Ta-Ching Chen and GitHub
1562cba420
Add readiness/liveness probes to nat-streaming ( #1199 )
2019-06-02 13:41:24 +08:00
Ta-Ching Chen and GitHub
1d266537b0
Show warning message if spec alters poolsize while env version < 3 ( #1193 )
2019-05-31 17:49:56 +08:00
Ta-Ching Chen and GitHub
a0e9a39511
Move packages to proejct/pkg to follow go project folder structure convention ( #1190 )
2019-05-31 16:28:55 +08:00
Ta-Ching Chen and GitHub
56fa8fe766
Remove prometheus server connectivity test during controller initialization ( #1179 )
...
The prometheus server may not come up in a short time or when a cluster doesn’t have a storage class config. Because of this, the connectivity test will increase controller initialization time and so the controller will fail at readiness probe detection. Since we don’t want to delay the time that controller comes up also canary config manager prints error log when it failed at connecting to prometheus server, remove the connectivity test here.
2019-05-10 14:25:24 +08:00
Ta-Ching Chen and GitHub
8015ab9a1e
Change log level in executor for better log reading/troubleshooting ( #1163 )
2019-04-15 23:02:55 +08:00
Ta-Ching Chen and GitHub
94046eeffd
Fix TravisCI go environment version to avoid go bugs ( #1154 )
...
From go release history (https://golang.org/doc/devel/release.html#go1.11 )
and travis ci build history, looks like 1.11.7 and 1.11.8 contains unknown
bugs that breaks build. To avoid this, fix go version to 1.11.6 for now.
2019-04-09 16:38:40 +08:00
Ta-Ching Chen and GitHub
1662bafb50
Migrate from glide to official dependencies management tool: Go Module ( #1136 )
2019-04-04 22:33:26 +08:00
Ta-Ching Chen and GitHub
913888a29d
Fix misleading log when setup portforward ( #1134 )
2019-04-01 17:03:19 +08:00
Ta-Ching Chen and GitHub
cdcc6fb3ab
Add connection lost handler for NATS-streaming ( #1125 )
2019-03-19 21:13:49 +08:00
Ta-Ching Chen and GitHub
3a8b9ccd80
Bump base image version of Go environment to 1.11.4 ( #1026 )
2019-03-19 18:29:19 +08:00
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