async-service-supervisor-envoy 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/async/service/supervisor/envoy/monitor.rb +7 -1
- data/lib/async/service/supervisor/envoy/version.rb +1 -1
- data/readme.md +4 -4
- data/releases.md +4 -4
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d51f4a0841888cdb84d1d321b67202fdeab2aaba77bc54e3dbcb856d57658406
|
|
4
|
+
data.tar.gz: feea549ad0b41d010cad21f9375159bd3e43c2cb97c9314172f9288e697048cb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2cfa5c93b3e1090d045e5087ad70931c539b37d607aff20de1bab17625078dd728f0312fba050a7e9158fc4aed8bfb3e8b93863ce4b00c2fd552e20d09173317
|
|
7
|
+
data.tar.gz: e8008adf78279955e66f6852ce111bb2c451a377cbddf6f51ab2bbea0f1f51d91b2bdfce2420738eaf0e77e601a1ea282ff6ad105abfaadb31a0774d902ea960
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
|
@@ -28,6 +28,7 @@ module Async
|
|
|
28
28
|
# @parameter bind [String | Nil] The optional address for the xDS control plane server.
|
|
29
29
|
# @parameter delegate [Delegate] The delegate used to map supervisor state into Envoy endpoints.
|
|
30
30
|
# @parameter control_plane [Async::GRPC::XDS::ControlPlane] The xDS control plane to update.
|
|
31
|
+
# @parameter health_checks [Array(Envoy::Config::Core::V3::HealthCheck)] The active health checks applied to published clusters.
|
|
31
32
|
# @parameter orca [Boolean] Whether to collect and serve per-worker ORCA load reports.
|
|
32
33
|
# @parameter processor [Process::Metrics::Processor | Nil] The optional process CPU sampler.
|
|
33
34
|
# @parameter utilization_monitor [Async::Service::Supervisor::UtilizationMonitor | Nil] The per-worker utilization monitor used for ORCA reporting.
|
|
@@ -36,6 +37,7 @@ module Async
|
|
|
36
37
|
bind: nil,
|
|
37
38
|
delegate: Delegate.new,
|
|
38
39
|
control_plane: Async::GRPC::XDS::ControlPlane.new,
|
|
40
|
+
health_checks: [],
|
|
39
41
|
orca: false,
|
|
40
42
|
processor: nil,
|
|
41
43
|
utilization_monitor: nil,
|
|
@@ -47,6 +49,7 @@ module Async
|
|
|
47
49
|
@bind = bind
|
|
48
50
|
@delegate = delegate
|
|
49
51
|
@control_plane = control_plane
|
|
52
|
+
@health_checks = health_checks
|
|
50
53
|
@interval = interval
|
|
51
54
|
@orca = orca
|
|
52
55
|
@controllers = {}
|
|
@@ -243,7 +246,10 @@ module Async
|
|
|
243
246
|
raise ArgumentError, "Envoy cluster contains no common protocols: #{protocols.inspect}" if common_protocols.empty?
|
|
244
247
|
raise ArgumentError, "HTTPS upstream endpoints are not yet supported!" if schemes.first == :https
|
|
245
248
|
|
|
246
|
-
configuration = {
|
|
249
|
+
configuration = {
|
|
250
|
+
protocol: envoy_protocol(common_protocols),
|
|
251
|
+
health_checks: @health_checks,
|
|
252
|
+
}
|
|
247
253
|
|
|
248
254
|
if @orca
|
|
249
255
|
if records.any?{|record| record[:endpoint].addresses.any?{|address| address[:path]}}
|
data/readme.md
CHANGED
|
@@ -25,6 +25,10 @@ Please see the [project documentation](https://socketry.github.io/async-service-
|
|
|
25
25
|
|
|
26
26
|
Please see the [project releases](https://socketry.github.io/async-service-supervisor-envoy/releases/index) for all releases.
|
|
27
27
|
|
|
28
|
+
### v0.4.0
|
|
29
|
+
|
|
30
|
+
- Publish configured active health checks with Envoy clusters.
|
|
31
|
+
|
|
28
32
|
### v0.3.1
|
|
29
33
|
|
|
30
34
|
- Add Bake tasks for inspecting Envoy monitor status, clusters, and endpoints.
|
|
@@ -47,10 +51,6 @@ Please see the [project releases](https://socketry.github.io/async-service-super
|
|
|
47
51
|
- Publish grouped IP and Unix-domain-socket endpoint addresses to Envoy.
|
|
48
52
|
- Configure generated clusters from each endpoint's supported HTTP protocol names.
|
|
49
53
|
|
|
50
|
-
### v0.1.0
|
|
51
|
-
|
|
52
|
-
- Deduplicate immutable endpoint values reported by multiple supervised workers and aggregate their health.
|
|
53
|
-
|
|
54
54
|
## See Also
|
|
55
55
|
|
|
56
56
|
- [async-service-supervisor](https://github.com/socketry/async-service-supervisor) - Supervisor for managed Async service workers.
|
data/releases.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Releases
|
|
2
2
|
|
|
3
|
+
## v0.4.0
|
|
4
|
+
|
|
5
|
+
- Publish configured active health checks with Envoy clusters.
|
|
6
|
+
|
|
3
7
|
## v0.3.1
|
|
4
8
|
|
|
5
9
|
- Add Bake tasks for inspecting Envoy monitor status, clusters, and endpoints.
|
|
@@ -21,7 +25,3 @@
|
|
|
21
25
|
- Register concrete Falcon cluster listeners as Envoy upstream endpoint state after binding.
|
|
22
26
|
- Publish grouped IP and Unix-domain-socket endpoint addresses to Envoy.
|
|
23
27
|
- Configure generated clusters from each endpoint's supported HTTP protocol names.
|
|
24
|
-
|
|
25
|
-
## v0.1.0
|
|
26
|
-
|
|
27
|
-
- Initial release.
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: async-service-supervisor-envoy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Samuel Williams
|
|
@@ -58,14 +58,14 @@ dependencies:
|
|
|
58
58
|
requirements:
|
|
59
59
|
- - "~>"
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '0.
|
|
61
|
+
version: '0.3'
|
|
62
62
|
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: '0.
|
|
68
|
+
version: '0.3'
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: async-http
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
|
Binary file
|