stefanprodan
3197ad3e45
Register hostname and version in cache
...
If the caching server is online, podinfo registers its hostname and version in Redis. The set expires after one minute and it's refreshed every 30 seconds.
2020-05-20 13:51:07 +03:00
stefanprodan
5ba5808722
Add cache CRUD API
2020-05-20 12:59:27 +03:00
stefanprodan
79bbf76ece
Release v3.3.1
2020-05-16 11:01:21 +03:00
stefanprodan
c7c7d699c9
Release v3.3.0
2020-05-16 10:00:51 +03:00
stefanprodan
73b658d711
Add cache API
...
- implement cache with Redis
- add cache-server to args and config
- add Redis deployment to webapp overlays
2020-05-16 09:53:17 +03:00
stefanprodan
39130004d5
Release v3.2.4
2020-05-15 13:02:08 +03:00
stefanprodan
55318b0c20
Release v3.2.3
2020-04-28 19:20:23 +03:00
stefanprodan
8491738c8a
Release v3.2.2
2020-04-02 17:10:40 +03:00
stefanprodan
c6425ac1f8
Release v3.2.1
2020-03-24 13:40:21 +02:00
stefanprodan
ba12154f68
Format imports
2020-03-24 13:03:51 +02:00
stefanprodan
910e7139f9
Release v3.2.0
2020-01-24 11:06:02 +02:00
Hidde Beydals
ed2a774e10
Add --unhealthy and --unready flags
...
Depending on the flag set, the healthy or ready state is never
reached.
2020-01-23 21:06:22 +01:00
stefanprodan
78658c0311
Release v3.1.5 cuddle edition
2019-11-07 00:31:49 +02:00
stefanprodan
d65044ff2e
Release v3.1.4
2019-11-04 09:22:36 +02:00
Yusuke Kuoka
0ff49e5057
feat: Add H2C support
...
`podinfo --h2c` allows upgrading a HTTP/1.1 connection to HTTP/2 Cleartext.
This allows `podinfo` to be used in e.g. a H2C load-test like `echo "GET http://localhost:9898/status/200 " | vegeta -h2c`, or a H2C connectivity test like done with `curl -v http2 http://localhost:9898/status/200 `.
I have manually verified this to work by running `curl -v --http2` on macOS and seeing the H2C upgrade happens onl when `-h2c` is provided to `podinfo`.
Without `-h2c`:
```
$ curl -v --http2 localhost:9898/status/200
* Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 9898 (#0 )
> GET /status/200 HTTP/1.1
> Host: localhost:9898
> User-Agent: curl/7.54.0
> Accept: */*
> Connection: Upgrade, HTTP2-Settings
> Upgrade: h2c
> HTTP2-Settings: AAMAAABkAARAAAAAAAIAAAAA
>
< HTTP/1.1 200 OK
< Content-Type: application/json; charset=utf-8
< X-Content-Type-Options: nosniff
< Date: Mon, 04 Nov 2019 04:58:01 GMT
< Content-Length: 19
<
{
"status": 200
* Connection #0 to host localhost left intact
}
```
With `-h2c`:
```
$ curl -v --http2 localhost:9898/status/200
* Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 9898 (#0 )
> GET /status/200 HTTP/1.1
> Host: localhost:9898
> User-Agent: curl/7.54.0
> Accept: */*
> Connection: Upgrade, HTTP2-Settings
> Upgrade: h2c
> HTTP2-Settings: AAMAAABkAARAAAAAAAIAAAAA
>
< HTTP/1.1 101 Switching Protocols
< Connection: Upgrade
< Upgrade: h2c
* Received 101
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Connection state changed (MAX_CONCURRENT_STREAMS updated)!
< HTTP/2 200
< content-type: application/json; charset=utf-8
< x-content-type-options: nosniff
< content-length: 19
< date: Mon, 04 Nov 2019 04:58:28 GMT
<
{
"status": 200
* Connection #0 to host localhost left intact
}
`
2019-11-04 14:10:50 +09:00
stefanprodan
b213e0af0a
Release v3.1.3
2019-10-17 13:50:48 +03:00
stefanprodan
f891e0683b
Release v3.1.2
2019-10-12 17:45:54 +03:00
stefanprodan
c5df50c774
Make UI logo URL configurable
2019-10-12 17:41:21 +03:00
stefanprodan
7d00f68180
Bump version to 3.1.1
2019-09-27 16:10:22 +03:00
stefanprodan
56b404bd84
Release v3.1.0
2019-09-27 12:10:29 +03:00
stefanprodan
a12d0a1ed7
Add support for multiple backends
...
When calling /echo, the backends requests will be run in parallel and the results are aggregated and returned to the caller as a json array
2019-09-27 11:52:22 +03:00
stefanprodan
43194bb342
Release v3.0.0
2019-09-05 12:14:18 +03:00
stefanprodan
f7c1669125
Run gPRC health server if grpc-port flag is set
2019-09-05 00:28:32 +03:00
stefanprodan
158d6e82da
Add gRPC health server
2019-09-05 00:20:28 +03:00
stefanprodan
37b453fbbc
Release v2.1.3
2019-08-13 12:08:50 +03:00
stefanprodan
ab74d6ef0b
Release v2.1.2
...
Make the ClusterIP service optional in helm chart (should be disabled when using Flagger)
2019-08-13 10:50:03 +03:00
stefanprodan
ed81a06a82
Release v2.1.1
...
Use Docker Hub instead of Quay
2019-08-09 17:53:15 +03:00
stefanprodan
02d7f06d35
Release 2.1.0
2019-08-07 15:54:03 +03:00
stefanprodan
555450868e
Move Swagger doc to server.go
2019-08-07 15:22:05 +03:00
stefanprodan
94085d6dc6
Add schemes to Swagger docs
2019-08-07 15:17:34 +03:00
stefanprodan
e97c926611
Add license to swagger docs
2019-08-07 14:54:33 +03:00
stefanprodan
2479134e78
Implement swagger support
...
- add swagger definitions for all API routes
- self-host the swagger UI on `/swagger/`
- serve swagger spec on `/swagger.json`
2019-08-07 14:17:35 +03:00
stefanprodan
d34da2ab91
Release v2.0.2
2019-08-06 22:15:19 +03:00
stefanprodan
de2a9c464a
Release v2.0.1
2019-08-06 21:53:16 +03:00
stefanprodan
34aef54f20
Release v2
2019-08-06 16:53:38 +03:00
stefanprodan
0ca7c25d68
Set version with make
2019-08-06 15:59:39 +03:00
stefanprodan
c287ab7daf
Rename imports and use go modules
2019-08-06 15:05:15 +03:00
stefanprodan
6c8a85a5ab
Release v1.8.0
2019-08-05 10:00:23 +03:00
Ian Duffy
198211e20b
Add delayed chunk endpoint
...
Adds an endpoint that does chunk based encoding. The endpoint just stalls
and eventually returns the stall time.
Similar to the delay endpoint but in a chunked maner.
Fixed up the metrics interceptor to wrap ResponseWriter correctly too.
2019-08-04 00:34:12 +01:00
stefanprodan
4fc593f42c
Bump version to 1.7.1
2019-07-26 01:02:01 +03:00
stefanprodan
2e9917a6b9
Bump version to 1.7.0
2019-07-26 00:53:22 +03:00
stefanprodan
1475a2da00
Release charts
2019-06-15 18:33:10 +03:00
stefanprodan
951d82abb9
Add option to run the metrics exporter on a different port
...
Add port-metrics flag, when specified the Prometheus /metrics endpoint will be exposed on that port.
2019-06-15 17:07:34 +03:00
stefanprodan
43df2d19c6
Bump version to 1.5.1
2019-03-25 12:16:20 +02:00
stefanprodan
7181351c89
Bump version to 1.5.0
2019-03-25 12:08:37 +02:00
Lucas Käldström
c28c11d4a5
Release v1.4.4
2019-03-25 11:22:38 +02:00
stefanprodan
66b8948473
Bump version to 1.4.3
2019-03-21 20:57:07 +02:00
stefanprodan
d10ba4ac43
Release 1.4.2
2018-12-20 09:57:19 +02:00
stefanprodan
62ccb1b67e
run go 1.11 fmt
2018-12-20 09:41:08 +02:00
stefanprodan
cbf1d671df
Bump version to 1.4.1
2018-11-28 12:11:18 +02:00