Commit Graph

2383 Commits

Author SHA1 Message Date
CI
65592c9d26 fnserver: 0.3.300 release [skip ci] 0.3.300 2018-01-17 15:23:53 +00:00
Travis Reeder
3f0518bd85 date change 2018-01-17 07:16:22 -08:00
CI
6892d209ea fnlb: 0.0.260 release [skip ci] fnlb-0.0.260 2018-01-16 22:54:30 +00:00
CI
88072eba6e fnserver: 0.3.299 release [skip ci] 0.3.299 2018-01-16 22:52:35 +00:00
Travis Reeder
5a2602d42e Updated docs, cleaned things up, DRY's up function format stuff. (#688)
* Updated docs, cleaned things up, DRY's up function format stuff.

* deleted files

* updated bad link
2018-01-16 14:45:44 -08:00
CI
e3a573d11a fnlb: 0.0.259 release [skip ci] fnlb-0.0.259 2018-01-15 16:44:57 +00:00
CI
f0aeb815b6 fnserver: 0.3.298 release [skip ci] 0.3.298 2018-01-15 16:42:49 +00:00
jan grant
1eb35abc63 Fix for MTU problems in some k8s environments (#685)
* NOTE: the fnproject/dind release will need recutting and the
  top-level Dockerfile updated to refer to it for this to be
  complete.

In many k8s environments the host docker uses an overlay network
which'll take bytes away from the effective MTU of outer
containers; eg, vxlan needs 50 bytes, often leaving a 1450 MTU
on the container running dind and fn-api.

In such an arrangement, packets exceeding the smaller MTU may be
invisibly dropped as they travel across the dind's docker0
bridge. This mostly surfaces as a failure of functions to be able
to reliably talk to external services. (Note, the failure may be
intermittent depending on the profile of the resulting TCP
communication.)

A robust fix for this is to intercept the startup of the dind
dockerd and ensure that /etc/docker/daemon.json (currently
absent) contains the following setting:

{
  "mtu": 1450
}

(or whatever the MTU on the external interface may be). This
should be autosized so the container works in a variety of
deployments.

The problem does not arise when using an embedded
/var/run/docker.sock - or when running with dind on a host that
can supply 1500-byte MTUs to containers on the 'host' docker.
2018-01-15 08:35:32 -08:00
CI
7626725d0e fnlb: 0.0.258 release [skip ci] fnlb-0.0.258 2018-01-15 14:58:01 +00:00
CI
02768f6539 fnserver: 0.3.297 release [skip ci] 0.3.297 2018-01-15 14:56:00 +00:00
Nigel Deakin
8bf26efa29 Add new Prom metrics fn_timeout and fn_errors (#679)
* Add new Prom metric fn_timedout

* Add new Prometheus metric fn_errors

* Tidy up variable name

* Add new Prometheus metric fn_errors

* gofmt
2018-01-15 14:49:33 +00:00
CI
633b4c4ba1 fnlb: 0.0.257 release [skip ci] fnlb-0.0.257 2018-01-15 10:50:15 +00:00
CI
ea97bea22e fnserver: 0.3.296 release [skip ci] 0.3.296 2018-01-15 10:48:20 +00:00
Gerardo Viedma
966ce58525 Use new metrics API for s3 log metrics (#680)
* use new metrics API for histogram metrics

* Avoid creating an extra tracing span

* use new metrics api for histograms

* fix minor formatting issue
2018-01-15 10:09:03 +00:00
CI
e89fb179dc fnlb: 0.0.256 release [skip ci] fnlb-0.0.256 2018-01-12 22:58:52 +00:00
CI
9678ca4735 fnserver: 0.3.295 release [skip ci] 0.3.295 2018-01-12 22:56:37 +00:00
Tolga Ceylan
aa17e3b7e0 fn: cpus documentation (#682) 2018-01-12 14:49:03 -08:00
CI
534057c8f7 fnlb: 0.0.255 release [skip ci] fnlb-0.0.255 2018-01-12 22:05:08 +00:00
CI
23b267b208 fnserver: 0.3.294 release [skip ci] 0.3.294 2018-01-12 22:03:11 +00:00
Reed Allman
0bde666395 clean up agent.Submit (#681)
this was getting bloated with various contexts and spans and stats
administrivia that obfuscated what was going on a lot. this makes some helper
methods to shove most of that stuff into, and simplifies the context handling
around getting a slot by moving it inside of slot acquisition code. also
removed most uses of `call.Model()` -- I'll kill this thing some day, but if a
reason is needed, then the overhead of dynamic dispatch is unnecessary, we're
inside of the implementee for the agent, we don't want to use the interface
methods inside of that.
2018-01-12 13:56:17 -08:00
CI
c4d59dc0fe fnlb: 0.0.254 release [skip ci] fnlb-0.0.254 2018-01-12 19:47:42 +00:00
CI
342460f242 fnserver: 0.3.293 release [skip ci] 0.3.293 2018-01-12 19:45:33 +00:00
Tolga Ceylan
39b2cb2d9b Cpu resources (#642)
* fn: cpu quota implementation
2018-01-12 11:38:28 -08:00
CI
fa59400a97 fnlb: 0.0.253 release [skip ci] fnlb-0.0.253 2018-01-12 00:09:39 +00:00
CI
5d500124e0 fnserver: 0.3.292 release [skip ci] 0.3.292 2018-01-12 00:07:38 +00:00
Tolga Ceylan
1c8029e4f1 fn: more tests for hot container launch logic (#678) 2018-01-11 16:00:37 -08:00
CI
7c46eca476 fnlb: 0.0.252 release [skip ci] fnlb-0.0.252 2018-01-11 22:18:20 +00:00
CI
7693c6f9d1 fnserver: 0.3.291 release [skip ci] 0.3.291 2018-01-11 22:16:17 +00:00
Tolga Ceylan
db159e595f fn: new container lauch adjustments (#677)
*) revert executor wait queue size comparison. This is too
   aggresive and with stall check below, now unnecessary.
*) new container logic now checks if stats are constant, if
   this is the case, then we assume the system is stalled (eg
   running functions that take long time), this means we need
   to make progress and spin up a new container.
2018-01-11 14:09:21 -08:00
CI
91d282eb4e fnlb: 0.0.251 release [skip ci] fnlb-0.0.251 2018-01-11 19:23:11 +00:00
CI
25e8ce34b7 fnserver: 0.3.290 release [skip ci] 0.3.290 2018-01-11 19:20:58 +00:00
Reed Allman
61f179b9f2 license printing script works again (#676) 2018-01-11 11:12:43 -08:00
CI
26bc3a84de fnlb: 0.0.250 release [skip ci] fnlb-0.0.250 2018-01-11 17:43:36 +00:00
CI
6c2cfa155a fnserver: 0.3.289 release [skip ci] 0.3.289 2018-01-11 17:41:33 +00:00
Nigel Deakin
ac2bfd3462 Change basic stats to use opentracing rather than Prometheus API (#671)
* Change basic stats to use opentracing rather than Prometheus API directly

* Just ran gofmt

* Extract opentracing access for metrics to common/metrics.go

* Replace quotes strings with constants where possible
2018-01-11 17:34:51 +00:00
CI
ba0aa3b1a9 fnlb: 0.0.249 release [skip ci] fnlb-0.0.249 2018-01-11 01:04:46 +00:00
CI
9b6cdd8009 fnserver: 0.3.288 release [skip ci] 0.3.288 2018-01-11 01:02:43 +00:00
Michael J Williams
cfc408ccad Add nav to Readme.md. Fix typos (#653)
* Add nav to Readme.md. Fix typos

* Updates to made nav cleaner

* A quick grammar fix I missed
2018-01-10 16:56:14 -08:00
CI
f33d85430f fnlb: 0.0.248 release [skip ci] fnlb-0.0.248 2018-01-10 22:23:01 +00:00
CI
b19e147c2f fnserver: 0.3.287 release [skip ci] 0.3.287 2018-01-10 22:21:02 +00:00
Tolga Ceylan
7c91b98a72 fn: hot container launcher adjustment (#673)
Latency stats are not always read-time updated and
if calls are stuck in waiting state, isNewContainerNeeded()
needs to be a bit more aggresive if the wait queue grows.
2018-01-10 14:14:19 -08:00
CI
5608f05290 fnlb: 0.0.247 release [skip ci] fnlb-0.0.247 2018-01-10 21:24:03 +00:00
CI
797e4c65c0 fnserver: 0.3.286 release [skip ci] 0.3.286 2018-01-10 21:22:00 +00:00
Tolga Ceylan
23ae1fe723 fn: removed dead code (#672) 2018-01-10 12:32:19 -08:00
CI
a534e57f31 fnlb: 0.0.246 release [skip ci] fnlb-0.0.246 2018-01-10 17:53:27 +00:00
CI
fe31401335 fnserver: 0.3.285 release [skip ci] 0.3.285 2018-01-10 17:51:20 +00:00
Gerardo Viedma
60d2e92c9a Replace minio-go with aws-sdk-go for s3-compatible log backend (#670)
* Logs should support specifying region when using S3-compatible object store

* Use aws-sdk-go client for s3 backed logstore

* fixes vendor with aws-sdk-go dependencies
2018-01-10 09:44:04 -08:00
CI
930d1e8dcc fnlb: 0.0.245 release [skip ci] fnlb-0.0.245 2018-01-10 17:32:05 +00:00
CI
d02d59b979 fnserver: 0.3.284 release [skip ci] 0.3.284 2018-01-10 17:29:52 +00:00
Nigel Deakin
d1e02f42ed Update writing.md (#668)
Trying to make this a bit clearer
2018-01-10 09:21:55 -08:00