Soam Vasani
e1067ab4e5
update guestbook example css
2017-04-25 12:09:19 -07:00
Soam Vasani
d2b7dc36ab
Update fission.yaml to 3/28 image
2017-04-24 08:25:38 -07:00
Soam Vasani
01b399187e
Work around 'too old resource version'
2017-03-28 12:42:59 +02:00
Soam Vasani
b4dd7a83df
Better error checking in watch restarts
2017-03-28 12:06:07 +02:00
Soam Vasani
137d8f7285
Track resourceVersion from event objects
2017-03-28 10:01:11 +02:00
Soam Vasani
c9f63e8173
Pass last resource version to restart watch
2017-03-28 10:01:11 +02:00
Soam Vasani
a71756762b
Restart watches when they stop unexpectedly
2017-03-28 10:01:11 +02:00
Soam Vasani and GitHub
a6eb4c6d31
Go build helper script ( #163 )
...
Create a docker container and a script to call it, to help people build go plugins for use with fission.
2017-03-27 23:26:59 -07:00
Soam Vasani
a390c1baa8
Bugfixes in nodejs environment server and examples
2017-03-19 19:36:00 -07:00
Soam Vasani
aa77d8686f
Drop Go 1.7, use Go 1.8
2017-03-16 09:18:49 -07:00
Soam Vasani and GitHub
ca3bf8e83e
Symlink user function's node_modules to server's node_modules ( #133 )
...
Fixes #132
2017-02-23 10:19:42 -08:00
Soam Vasani
92cd5334ec
Add a default handler for the / route
...
Before this change, if the user doesn't define a route for /, the
router happily 404s at that path. This breaks GKE Ingress, which uses
that request as a health check. So this change adds a handler for
"GET /", unless the user already has one.
Also, log the delay for slow requests.
2017-02-20 23:57:40 -08:00
Soam Vasani
3b75a86773
Instructions in the README were leading to a malformed file
...
Switch to using a curl command to download sample code, instead of
dealing with nested quotes and stuff.
Addresses #128 .
2017-02-17 15:34:02 -08:00
Soam Vasani and GitHub
8cf382c2b3
Handle errors in filestore init ( #127 )
...
Fixes issue #108
2017-02-17 15:21:36 -08:00
Soam Vasani
eae5150bff
Initial test script
...
Test script that sets up fission on a cluster, runs tests and
uninstalls it.
Yet to come:
1. The actual tests
2. Builds (for fission-bundle, client, and envs)
3. Automation with github pull requests
2017-02-16 12:55:38 -08:00
Soam Vasani
d4dc166039
Use Helm's built-in support for namespaces
...
Remove our non-standard namespace variable and use .Release.Namespace
to put fission deployments and services into.
(We still need the functionNamespace parameter, to customize what
namespace fission puts functions into.)
2017-02-16 12:01:26 -08:00
Soam Vasani
41baa7b6bf
Add fission and fission-function namespaces to template variables
...
Also, update readme.
2017-02-16 11:08:47 -08:00
Soam Vasani
6e4115cb5d
Update use cases, talk a bit about implementation
2017-02-15 11:21:51 -08:00
Soam Vasani and GitHub
858fe9f62b
Merge pull request #117 from tobias/gitignore-updates
...
Update gitignore to include dev artifacts
2017-02-10 14:10:50 -08:00
Soam Vasani and GitHub
3420a614bb
Merge pull request #114 from fission/issue-113
...
Don't wait for ready pod in MakeGenericPool
2017-02-09 16:27:17 -08:00
Soam Vasani
d4d917ad04
Don't wait for ready pod in MakeGenericPool
...
Addresses issue #113 . poolmgr.MakeGenericPool does not need to wait
for a ready pod. Kubernetes already retries image fetching, so
there's no need to repeat the task in fission. And if it's a
non-retriable error (like the image URL being wrong), then the
deployment will stay broken, and the user can fix the environment with
'fission env update' (or 'fission env delete' followed by 'fission env
create').
2017-02-09 15:27:57 -08:00
Soam Vasani
d0ad377d72
Add README to NodeJS env
2017-02-08 16:43:19 -08:00
Soam Vasani and GitHub
4046c811b1
Merge pull request #109 from tobias/build-sh-as-sh
...
Make build an actual sh script
2017-02-06 18:02:25 -08:00
Soam Vasani and GitHub
8127a1f57f
Merge pull request #110 from tobias/readme-updates
...
Minor improvements to build instructions in README
2017-02-06 18:01:23 -08:00
Soam Vasani and GitHub
0d4d2e32a8
Merge pull request #106 from kaustubhvp/fix-func-validations
...
Fixing validations of fn actions
2017-02-06 09:12:43 -08:00
Soam Vasani and GitHub
436057e15b
Merge pull request #105 from ktrance/master
...
Http request support
2017-02-06 09:12:00 -08:00
Soam Vasani and GitHub
7b58ef389d
kubewatcher example: send watch updates to slack ( #96 )
...
This example sends change events from a watch to a Slack webhook.
2017-01-31 12:23:45 -08:00
Soam Vasani and GitHub
9db35b6ff2
Merge pull request #94 from andrewstuart/bugfix/https
...
bugfix (cli) Update the URL check to work with https
2017-01-31 11:37:08 -08:00
Soam Vasani
1b04f042cd
Note limitations of dynamic loading in pods
2017-01-26 22:18:38 -08:00
Soam Vasani and GitHub
7485dca7d8
Merge pull request #84 from ktrance/master
...
Added support for running C# code in a dotnet core environment
2017-01-26 11:39:21 -08:00
Soam Vasani and GitHub
20baa2ee9d
Wait for Pod IP while waiting for pod ready ( #89 )
...
Addresses issue #88 .
2017-01-25 15:32:34 -08:00
Soam Vasani
2fc9fd9603
Update YAML to point at alpha20170124 fission-bundle image
2017-01-24 11:27:01 -08:00
Soam Vasani and GitHub
0465ccd352
Merge pull request #87 from AlekSi/patch-1
...
Make go vet happy
2017-01-24 08:40:55 -08:00
Soam Vasani
cb08118164
Update README, create separate install instructions
2017-01-23 23:55:23 -08:00
Soam Vasani
043ae0c2b1
Add a contributing.md
2017-01-23 22:36:15 -08:00
Soam Vasani
bba71d65a2
Fix incorrect log printf
2017-01-23 19:49:13 -08:00
Soam Vasani and GitHub
f3e1f8b88c
Merge pull request #86 from fission/travis-failure
...
Ignore glide cache in gofmt check
2017-01-23 19:43:47 -08:00
Soam Vasani
da15e5cdb7
Ignore glide cache in gofmt check
2017-01-23 19:29:45 -08:00
Soam Vasani
90e7f0212a
Programming model doc update
2017-01-23 19:13:02 -08:00
Soam Vasani
000b74d4ad
Doc updates
2017-01-23 19:11:37 -08:00
Soam Vasani and GitHub
8339e120ce
Merge pull request #81 from fission/bugfix-internal-routes
...
Bugfix for internal routes
2017-01-19 09:54:00 -08:00
Soam Vasani
1d4875ff74
Bugfix for internal routes
...
Poolmgr removed the default-latest-version semantics to simplify
caching. But this broke the router's internal function routes, which
are used by kubeWatcher. The router now exposes a versionless url
and regularly updates that to point to the latest version.
2017-01-19 09:27:05 -08:00
Soam Vasani
e0c7682996
Improve environment doc
2017-01-18 16:59:39 -08:00
Soam Vasani
4f9b36b042
Add README to python env
2017-01-18 16:53:03 -08:00
Soam Vasani
e268ae68e7
Create python env conditionally
2017-01-18 15:43:29 -08:00
Soam Vasani
928d96c080
A trivial guestbook app
...
Functions for GET and POST endpoints. A redis.yaml to deploy redis on
kubernetes. And a deploy.sh to deploy the fission functions with
routes.
2017-01-18 15:30:51 -08:00
Soam Vasani
9ffba72c11
Add redis client to python env
2017-01-17 23:42:05 -08:00
Soam Vasani and GitHub
b1cf2a0182
Merge pull request #79 from fission/router-handle-method-bug
...
Bug fix for handling a route's HTTP method in router
2017-01-17 22:27:44 -08:00
Soam Vasani
3ed5e772cf
Update test to include method
2017-01-17 22:06:02 -08:00
Soam Vasani
3f02ccaf34
Bug fix for handling a route's HTTP method in router
2017-01-17 18:42:54 -08:00
Soam Vasani and GitHub
324af61192
Merge pull request #77 from frodenas/namespace-flag
...
fission-bundle: allow setting the namespace
2017-01-13 11:22:37 -08:00
Soam Vasani
93ca9cbf3e
Add slack badge
2017-01-12 11:54:46 -08:00
Soam Vasani and GitHub
9ea7c80977
Merge pull request #75 from fission/cleanup-deleted-pools
...
Delete generic pools when environments are deleted
2017-01-11 13:42:44 -08:00
Soam Vasani
5460f8ac05
Delete generic pools when their environment is deleted
2017-01-11 13:35:28 -08:00
Soam Vasani
6af56753ea
Cleanup deleted pools, partly implemented
2017-01-09 16:17:30 -08:00
Soam Vasani and GitHub
ac4c11bfb4
Merge pull request #70 from fission/poolmgr-delete-pods-on-failure
...
Poolmgr: fix pod leak bugs on specializePod failure
2017-01-06 23:31:45 -08:00
Soam Vasani
0fb12af4e5
add log on specializePod error/clean up
2017-01-06 22:16:49 -08:00
Soam Vasani
3e386fb41d
Handle pod cleanup on svc creation error
2017-01-06 22:09:17 -08:00
Soam Vasani
e4f7027a69
Reorganize a bit to avoid duplicated error handling
2017-01-06 21:54:15 -08:00
Soam Vasani
ebb486d121
Delete pods that failed to load user function
2017-01-06 17:43:03 -08:00
Soam Vasani and GitHub
d5516686c8
Merge pull request #69 from fission/poolmgr-gc
...
Poolmgr: ensure orphaned resources are cleaned up
2017-01-06 17:25:06 -08:00
Soam Vasani
37a00b6116
Add cleanup.go
2017-01-06 17:14:54 -08:00
Soam Vasani
eccde4fe74
Poolmgr: clean up orphaned resources on restart
...
Label all poolmgr-created resources with an id that's unique to a
running poolmgr instance. On poolmgr start up, clean up resources
created by old instances. Resources that are idle are killed
immediately; resources that could be running a user function are
killed after the maximum function timeout.
2017-01-06 17:01:21 -08:00
Soam Vasani and GitHub
595e634617
Merge pull request #68 from fission/cli-route-update
...
Implement 'fission route update'
2017-01-05 16:15:19 -08:00
Soam Vasani
e73242f85c
Implement 'fission route update'
...
"fission route update" can now be used to update a route to point to a
different function.
2017-01-05 15:59:39 -08:00
Soam Vasani and GitHub
5829552c3b
Merge pull request #67 from fission/function-versioning-cache-bug
...
Update router cache on new function version
2017-01-05 15:27:29 -08:00
Soam Vasani
fa272f20a0
Update router cache on new function version
...
Addresses issue #51 . Makes versioning in poolmgr explicit, so its
cache needs no invalidation on version update. Functions in poolmgr
are always cached by name and UID.
Router now updates implictly versioned routes with the latest version
of a function.
This means that users will see requests to implicitly-versioned routes
go to the latest version of a function within 3 seconds. (Those 3 sec
will go away when we use a real watch instead of polling the
controller.)
There's no change in behaviour for routes that explictly specify a
function UID.
2017-01-05 15:02:16 -08:00
Soam Vasani and GitHub
cb5cae6501
Merge pull request #66 from fission/changeOrg
...
Changed Package Names to Match new Github Organization
2016-12-24 10:50:41 -08:00
Soam Vasani
63d7c666e0
Merge branch 'code-of-conduct'
2016-12-21 12:56:01 -08:00
Soam Vasani
3e24cbcca2
Add code of conduct (contributor covenant, v1.4)
...
We still need to write a nice contributor guide; for now let's just
add a code of conduct.
2016-12-21 12:53:42 -08:00
Soam Vasani and GitHub
08d1e55251
Merge pull request #65 from platform9/route-create-with-fn-create
...
Add HTTP route create params to function create command
2016-12-20 19:36:48 -08:00
Soam Vasani
a5d96b928c
Add HTTP route create params to function create command
...
This allows users to add --method and --url params to their "fission
fn create" command line. It sets up the route to call the latest
version of the function; user can edit the route with the "fission
route update" command, if they want to.
2016-12-20 17:42:23 -08:00
Soam Vasani and GitHub
f0b31564f0
Merge pull request #56 from platform9/kubewatcher
...
Kubewatcher: trigger functions from Kubernetes Watch callbacks
2016-12-20 14:30:32 -08:00
Soam Vasani
d721df998d
Fix object-type header passed to event handlers
2016-12-20 14:16:33 -08:00
Soam Vasani
c5425180e8
Make webhook publisher use relative urls
2016-12-20 12:19:51 -08:00
Soam Vasani
8704761fd0
watch.Url renamed to watch.Target
2016-12-20 12:11:54 -08:00
Soam Vasani
4d75c3fa4e
Make internal urls relative (as before)
2016-12-20 12:11:22 -08:00
Soam Vasani
0456df0d63
Refactor kubewatcher/webhook publisher
...
Create a Publisher interface. Refactor webhook publisher to satisfy
that interface.
Add some limited retries to webhook publisher.
2016-12-19 14:38:44 -08:00
Soam Vasani and GitHub
7493759134
Merge pull request #61 from platform9/add-kubectl-instructions
...
Add kubectl download to install instructions
2016-12-16 17:47:16 -08:00
Soam Vasani
1fe894ab1c
Add kubectl download to install instructions
2016-12-16 17:42:35 -08:00
Soam Vasani and GitHub
cbc4749779
Merge pull request #60 from platform9/readme-minikube-instructions
...
Readme minikube instructions
2016-12-16 15:24:06 -08:00
Soam Vasani
1c5954ae61
mac/linux instructions
2016-12-16 14:53:34 -08:00
Soam Vasani
d503834901
mac/linux download url for minikube
2016-12-16 14:41:12 -08:00
Soam Vasani
dcc17d50b8
Include minikube setup instructions
2016-12-16 14:22:40 -08:00
Soam Vasani and GitHub
ea4a9faceb
Merge pull request #59 from platform9/fission-cli-bug
...
Check for name in 'function delete'
2016-12-16 13:50:40 -08:00
Soam Vasani
f84827e384
Check for name in 'function delete'
2016-12-16 13:43:00 -08:00
Soam Vasani and GitHub
943b15f5a7
Merge pull request #57 from kaustubhvp/adding-go-report-card
...
adding go-report card and fixing minor typo in README
2016-12-16 09:35:19 -08:00
Soam Vasani
dddb50c00f
cli watch impl
2016-12-16 00:54:06 -08:00
Soam Vasani
de30886c9e
compile error
2016-12-16 00:43:45 -08:00
Soam Vasani
215f4fc30f
comments
2016-12-15 19:48:45 -08:00
Soam Vasani
53c49d1485
Add an atomic bool to track if a watch is stopped
...
Saw a watch channel close once without actually calling watch.Stop.
Need to investigate this a bit and handle it if necessary.
2016-12-15 09:34:03 -08:00
Soam Vasani
4bc7480acd
Add request logging to router
2016-12-15 09:33:02 -08:00
Soam Vasani
5c6dcca19d
Pass obj type to functions
2016-12-12 08:46:19 -08:00
Soam Vasani
b7906905c2
Make the internal triggers point to the latest version
2016-12-11 19:59:10 -08:00
Soam Vasani
f1e1da4ceb
Bugfix in fission-bundle arg parsing
2016-12-11 19:58:26 -08:00
Soam Vasani
5e3adc0b59
Log on function exception
2016-12-11 19:58:04 -08:00
Soam Vasani
0fb4cc1536
Use latest version of function for watches
2016-12-11 00:07:25 -08:00
Soam Vasani
193cf594be
Let fission CLI tolerate URL with/without leading http://
2016-12-10 19:56:45 -08:00
Soam Vasani
7918b89fd2
Bugfix in kubewatcher deployment yaml
2016-12-10 19:56:15 -08:00
Soam Vasani
2379cb6f81
Add watches to fission CLI
2016-12-10 19:55:43 -08:00