222 Commits

Author SHA1 Message Date
Mikolaj Pawlikowski
d5400d6e2e Merge pull request #76 from seeker89/fix-empty-ips
Fix a Goldpinger reporting healthy when kubernetes returns an empty IP field
2.0.1
2020-03-11 14:21:05 +00:00
Mikolaj Pawlikowski
94d4a7c81e Use HostIP as podIP, if the there is no podIP
Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>
2020-03-11 13:25:12 +00:00
Mikolaj Pawlikowski
94dc18c9c2 Update the version in README
Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>
2020-03-11 13:05:22 +00:00
Mikolaj Pawlikowski
8964cab729 Bump patch version
Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>
2020-03-11 13:05:22 +00:00
Mikolaj Pawlikowski
d297e2f3c6 Change CheckAllPods to return an error when can't create a server
Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>
2020-03-11 13:05:22 +00:00
Mikolaj Pawlikowski
02067f03ab Change PingAllPods to send an error if the client can't be created
Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>
2020-03-11 13:05:22 +00:00
Mikolaj Pawlikowski
b96cab34ea Change the client builder to fail, if the IP provided is empty, instead of defaulting to localhost
Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>
2020-03-11 13:05:22 +00:00
Mikolaj Pawlikowski
bc7afb7a17 Return response time on failure to ping
Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>
2020-03-11 13:05:22 +00:00
Mikolaj Pawlikowski
89a6c76c9c Formatting
Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>
2020-03-11 13:05:22 +00:00
Mikolaj Pawlikowski
618369f540 Merge pull request #71 from SuleimanWA/master
prometheus service auto-discovery
2019-11-26 20:13:58 +00:00
suleimanWA
1ab777c3d5 Merge branch 'master' of github.com:SuleimanWA/goldpinger
move scrap annotation from service to pod level

Signed-off-by: suleimanWA <suleiman-94@hotmail.com>
2019-11-26 20:52:46 +02:00
suleiman abualrob
6315c71a2c Update README.md
Kubernetes master node by most of default installation are taint, so goldPinger DaemonSet will not deployed to master, in order to make it run on master nodes also, you have to tolerate the taint

Signed-off-by: suleimanWA <suleiman-94@hotmail.com>
2019-11-26 20:42:27 +02:00
suleiman abualrob
49a47284b6 Update README.md
Kubernetes master node by most of default installation are taint, so goldPinger DaemonSet will not deployed to master, in order to make it run on master nodes also, you have to tolerate the taint

Signed-off-by: suleimanWA <suleiman-94@hotmail.com>
2019-11-26 20:38:52 +02:00
suleiman abualrob
ec2155878a Update README.md
If you have Prometheus in your environment, adding these annotation will let  Prometheus auto-discovery fetch your metrics automatically from service-name:port/metrics

Signed-off-by: suleimanWA <suleiman-94@hotmail.com>
2019-11-26 19:03:14 +02:00
Mikolaj Pawlikowski
cab268b725 Merge pull request #70 from angelbarrera92/secure-k8s-deployment
Secure k8s deployment
2019-11-14 16:53:06 +00:00
Ángel Barrera Sánchez
e552b236a0 Change documentation example
Signed-off-by: Ángel Barrera Sánchez <angel@sighup.io>
2019-11-14 17:19:42 +01:00
Ángel Barrera Sánchez
8a86a74478 Change dashboard's datasource parameter to be variable
Signed-off-by: Ángel Barrera Sánchez <angel@sighup.io>
2019-11-14 17:19:42 +01:00
Ángel Barrera Sánchez
4dab241ff6 Change daemonset definition to be more secure
Signed-off-by: Ángel Barrera Sánchez <angel@sighup.io>
2019-11-14 17:19:42 +01:00
Mikolaj Pawlikowski
f99ba84d17 Merge pull request #64 from seeker89/bump-major-version
Add info on how to use the DNS features
2.0.0
2019-09-06 15:10:44 +01:00
Mikolaj Pawlikowski
75315a872a Better wording in the README
Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>
2019-09-06 14:58:10 +01:00
Mikolaj Pawlikowski
ae67cf3594 Add a note about the DNS addresses being space-delimited
Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>
2019-09-06 14:57:08 +01:00
Mikolaj Pawlikowski
433a6b8b88 Add a note about the DNS usage
Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>
2019-09-06 14:51:22 +01:00
Mikolaj Pawlikowski
0660db7922 Bump up major version to 2.0.0
Since this is effectively a backwards incompatible change

Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>
2019-09-06 14:42:36 +01:00
Mikolaj Pawlikowski
58285945f6 Merge pull request #61 from cgreen12/master
Optionally test DNS resolution for each pod
2019-09-06 12:23:36 +01:00
Mikolaj Pawlikowski
8a014ad7f4 Merge branch 'master' into master 2019-09-05 13:58:20 +01:00
Mikolaj Pawlikowski
096b149afa Merge pull request #63 from ufou/all_relative_paths
make all paths relative to allow for hosting at a sub path of root
1.5.1
2019-09-05 13:56:58 +01:00
Luke Alexander
5840353d9f bump patch version accordingly
Signed-off-by: Luke Alexander <luke.alexander@mixcloud.com>
2019-09-05 11:39:50 +01:00
Luke Alexander
ac9bf4224d make all paths relative to allow for hosting at a sub path of root
Signed-off-by: Luke Alexander <luke.alexander@mixcloud.com>
2019-09-05 11:10:23 +01:00
Chris Green
bcbc2ac6fc :trollface: re-ran swagger
Signed-off-by: Chris Green <34572557+cgreen12@users.noreply.github.com>
2019-08-21 04:53:01 -04:00
Chris Green
192fc433a2 Added metric for DNS failures
Signed-off-by: Chris Green <34572557+cgreen12@users.noreply.github.com>
2019-07-04 03:06:29 -04:00
Chris Green
dc3864f170 Colour the dns nodes red for any failures
Signed-off-by: Chris Green <34572557+cgreen12@users.noreply.github.com>
2019-06-09 09:11:49 -04:00
Chris Green
8a759433eb Show the info for dns nodes
Signed-off-by: Chris Green <34572557+cgreen12@users.noreply.github.com>
2019-06-09 08:53:52 -04:00
Chris Green
1b12b7dc6b Version bump
Signed-off-by: Chris Green <34572557+cgreen12@users.noreply.github.com>
2019-06-09 08:44:49 -04:00
Chris Green
9adf26e2cb Consistency ftw
Signed-off-by: Chris Green <34572557+cgreen12@users.noreply.github.com>
2019-06-09 08:43:47 -04:00
Chris Green
927125bbc5 slight re-positioning
Signed-off-by: Chris Green <34572557+cgreen12@users.noreply.github.com>
2019-06-09 07:37:48 -04:00
Chris Green
7585d010a6 Initial UI changes
Signed-off-by: Chris Green <34572557+cgreen12@users.noreply.github.com>
2019-06-05 14:56:37 -04:00
Chris Green
5e0ecdd8d1 Updates from swagger change
Signed-off-by: Chris Green <34572557+cgreen12@users.noreply.github.com>
2019-06-05 14:30:53 -04:00
Chris Green
d834433d30 Moved dns check into client
Signed-off-by: Chris Green <34572557+cgreen12@users.noreply.github.com>
2019-06-05 14:30:11 -04:00
Chris Green
b64f5152f2 Moved DnsResults into CheckResults
Signed-off-by: Chris Green <34572557+cgreen12@users.noreply.github.com>
2019-06-05 14:28:40 -04:00
Chris Green
bbac97c17e Refactored swagger.yml for fewer dns requests
Signed-off-by: Chris Green <34572557+cgreen12@users.noreply.github.com>
2019-06-04 02:54:23 -04:00
Chris Green
74ffcc8d2e Do the dns lookup
Signed-off-by: Chris Green <34572557+cgreen12@users.noreply.github.com>
2019-06-02 13:18:40 -04:00
Chris Green
9586e16237 Updated models from swagger
Signed-off-by: Chris Green <34572557+cgreen12@users.noreply.github.com>
2019-06-02 13:18:05 -04:00
Chris Green
6541250aa9 Updated swagger.yml for map of dnsresults
Signed-off-by: Chris Green <34572557+cgreen12@users.noreply.github.com>
2019-06-02 11:54:20 -04:00
Chris Green
31a503d831 Added env-delim for envvar config
Signed-off-by: Chris Green <34572557+cgreen12@users.noreply.github.com>
2019-06-02 11:18:25 -04:00
Chris Green
195691518b Added DnsHosts to config
Signed-off-by: Chris Green <34572557+cgreen12@users.noreply.github.com>
2019-06-01 15:18:26 -04:00
Chris Green
aa66c94d47 Initial thoughts on swagger change
Signed-off-by: Chris Green <34572557+cgreen12@users.noreply.github.com>
2019-06-01 11:41:01 -04:00
Mikolaj Pawlikowski
7b2affea29 Merge pull request #59 from kpfleming/travis-deploy-one-version
Ensure that only Golang 1.10 builds are pushed to DockerHub
2019-03-22 15:27:12 +00:00
Kevin P. Fleming
d1a86eae93 Ensure that only Golang 1.10 builds are pushed to DockerHub
Signed-off-by: Kevin P. Fleming <kpfleming@bloomberg.net>
2019-03-21 16:16:22 -04:00
Mikolaj Pawlikowski
a2e5925210 Merge pull request #58 from dannyk81/healthz_readme
Update readme and example with liveness and readiness probes
2019-03-18 09:56:04 +00:00
Danny Kulchinsky
d243f0fb59 update example
Signed-off-by: Danny Kulchinsky <danny.kul@gmail.com>
Signed-off-by: Danny Kulchinsky <dannyk@tuenti.com>
2019-03-17 21:01:15 -04:00