- Oct 19, 2018
-
-
Radoslav Dimitrov authored
Signed-off-by:
Radoslav Dimitrov <rdimitrow@gmail.com>
-
- Oct 03, 2018
-
-
Alex Ellis authored
- Removes use of "our" from CONTRIBUTING guide - Updates/adds README.md files - Commnents and typo fix in watchdog - Adds good/bad examples of commit messages Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
- Sep 19, 2018
-
-
Martin Dekov (VMware) authored
Bumping the watchdog to 0.9.4 in mentioned places Signed-off-by:
Martin Dekov (VMware) <mdekov@vmware.com>
-
- Sep 17, 2018
-
-
Alex Ellis (VMware) authored
- the shutdown sequence meant that the kubelet was still passing work to the watchdog after the HTTP socket was closed. This change means that the kubelet has a chance to run its check before we finally stop accepting new connections. It will require some basic co-ordination between the kubelet's checking period and the "write_timeout" value in the container. Tested with Kubernetes on GKE - before the change some Pods were giving a connection refused error due to them being not detected as unhealthy. Now I receive 0% error rate even with 20 qps. Issue was shown by scaling to 20 replicas, starting a test with hey and then scaling to 1 replica while tailing the logs from the gateway. Before I saw some 502, now I see just 200s. Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
- Sep 06, 2018
-
-
Radoslav Dimitrov authored
Convert all sample-functions to use curl to get the watchdog as it can be cached by Docker. Issue #841 Signed-off-by:
Radoslav Dimitrov <rdimitrow@gmail.com>
-
- Aug 22, 2018
-
-
Edward Wilde authored
Full list of supported verbs is now supported: "GET", "POST", "PUT", "PATCH", "DELETE" Relates to: #openfaas/faas/issues/815 Signed-off-by:
Edward Wilde <ewilde@gmail.com>
-
- Aug 21, 2018
-
-
Alex Ellis (VMware) authored
Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
- Aug 13, 2018
-
-
Alex Ellis (VMware) authored
This test takes inspiration from the PR from @telackey with changes to make it more maintainable. Since the test does not require changes to the code, I wanted to add it before merging changes. Ref: https://github.com/openfaas/faas/pull/789 Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
Alex Ellis (VMware) authored
Fixes: https://github.com/openfaas-incubator/of-watchdog/pull/24 Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
- Jul 10, 2018
-
-
Ivana Yovcheva (VMware) authored
This moves watchdog to a better name for images and also gives free image-scanning and gives more confidence to users that components ship regularly and makes any vulnerabilities in components clear Signed-off-by:
Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
-
- Jul 09, 2018
-
-
Alex Ellis (VMware) authored
Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
Alex Ellis (VMware) authored
Afterburn is deprecated in favour of of-watchdog. Removing link to prevent confusion. Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
- Jul 06, 2018
-
-
Edward Wilde authored
Extend the health endpoint and add gateway version information Resolves: #733 Signed-off-by:
Edward Wilde <ewilde@gmail.com>
-
- Jun 16, 2018
-
-
Sean Smith authored
Issue #660 has been open for a while to update to 1.9.6, this performs the update to the latest in the 1.9 release (1.9.7) Signed-off-by:
Sean Smith <sean@wwsean08.com>
-
- May 11, 2018
-
-
Ivana Yovcheva (VMware) authored
This updates alpine version to 3.7 in sample-functions, gateway and some markdown docas. Signed-off-by:
Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
-
Ivana Yovcheva (VMware) authored
This updates watchdog version to latest 0.8.0 in the functions samples and documentation Signed-off-by:
Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
-
- Apr 14, 2018
-
-
Alex Ellis (VMware) authored
Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
Alex Ellis (VMware) authored
Moves handler code into separate file but retains same package. Changes watchdog to print version on start-up so that we can grab this from logs. Version flag is also present for getting additional information if needed from a user's published container without running their function. Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
Vivek Singh authored
This changes introduces a new flag -version to watchdog which will display version and SHA of last git commit. Version and SHA are injected at build time and passed as a build-args for Dockerfile. Fixes: #632 Signed-off-by:
Vivek Singh <vivekkmr45@yahoo.in>
-
- Apr 13, 2018
-
-
Ivana Yovcheva (VMware) authored
This updates fwatchdog to latest version (0.7.9) in all templates in sample-functions and faas version in the documentation Signed-off-by:
Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
-
- Apr 03, 2018
-
-
Alex Ellis (VMware) authored
Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
- Mar 24, 2018
-
-
Alex Ellis (VMware) authored
If the watchdog is sent SIGTERM from an external process then it should stop accepting new connections and attempt to finish the work in progress. This change makes use of the new ability in Go 1.9 and onwards to cancel a HTTP server gracefully. The write_timeout duration is used as a grace period to allow all in-flight requests to complete. The pattern is taken directly from the offical example in the Golang documentation. [1] Further tuning and testing may be needed for Windows containers which have a different set of signals for closing work. This change aims to cover the majority use-case for Linux containers. The HTTP health-check is also invalidated by creating an and expression with the existing lock file. Tested with Kubernetes by deploying a custom watchdog and the fprocess of `env`. Log message was observed when scaling down and connections stopped being accepted on terminating replica. Also corrects some typos from previous PR. [1] https://golang.org/pkg/net/http/#Server.Shutdown Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
- Mar 23, 2018
-
-
John McCabe authored
The UPDATE HTTP Method isn't valid and not currently in use by the watchdog so removing it. Signed-off-by:
John McCabe <john@johnmccabe.net>
-
John McCabe authored
This commit replaces occurences of http method strings with the corresponding consts from the http package. *Note* UPDATE is not strictly speaking a valid method and as such isn't part of the http package (should be a PUT or PATCH?) Signed-off-by:
John McCabe <john@johnmccabe.net>
-
- Mar 22, 2018
-
-
Alex Ellis (VMware) authored
The default should be set to true so we maintain backwards. compatibility. readconfig.go was altered due to bug reading default value. This was tested by adding unit tests to readconfig_test.go for positive and negative scenarios. Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
- Mar 20, 2018
-
-
Vivek Singh authored
Introduce new endpoint `/_/health` to watchdog for health status of functions which check for `/tmp/.lock` file Fixes first part of #547 issue. Signed-off-by:
Vivek Singh <vivekkmr45@yahoo.in>
-
- Mar 17, 2018
-
-
Alex Ellis (VMware) authored
Integration test for combine_output should use stat instead of man as man is not installed in the CI system. Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
Alex Ellis (VMware) authored
This enables an often-requested feature to separate stderr from stdout within function responses. New flag combine_output is on by default to match existing behaviour. When combine_output is set to false it redirects stderr to the container logs rather than combining it into the function response. Tested with unit tests for default behaviour and new behaviour. Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
Alex Ellis (VMware) authored
As added by previous commit with unit tests. Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
Alex Ellis (VMware) authored
HTTP port can now be overriden through use of "port" environmental variable. Prefer messaging "want" over "wanted" in error messages, this is more idiomatic Golang. Move away from Go ARMv6 (RPi Zero) and give ARMv7 as a minimum version for release binaries. Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
-
- Mar 03, 2018
-
-
Alex Ellis authored
Fixes #551
-
- Feb 27, 2018
-
-
Vivek Singh authored
Signed-off-by:
Vivek Singh <vivekkmr45@yahoo.in> updated testcases applied go fmt to readconfig Signed-off-by:
Vivek Singh <vivekkmr45@yahoo.in> added requested changes in code review Signed-off-by:
Vivek Singh <vivekkmr45@yahoo.in>
-
- Feb 25, 2018
-
-
John McCabe authored
Also bumps golang builder version to 1.9.4 for sample functions. Signed-off-by:
John McCabe <john@johnmccabe.net>
-
- Dec 30, 2017
-
-
Alex Ellis authored
-
- Dec 28, 2017
-
-
Alex Ellis authored
-
Alex Ellis authored
-
Alex Ellis authored
-
- Nov 22, 2017
-
-
Alex Ellis authored
Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
- Nov 18, 2017
-
-
Alex Ellis authored
Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
- Nov 09, 2017
-
-
John McCabe authored
Signed-off-by:
John McCabe <john@johnmccabe.net>
-