Skip to content

Commit

Permalink
Merge pull request #27 from kolomiets/spm-support
Browse files Browse the repository at this point in the history
Add SPM support to Elasticsearch deployment. More configuration options.
  • Loading branch information
kolomiets authored May 16, 2022
2 parents 02b5b4e + 4e6fe8a commit 6040e12
Show file tree
Hide file tree
Showing 5 changed files with 288 additions and 53 deletions.
34 changes: 33 additions & 1 deletion templates/jaeger-entry-existing-vpc.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ Metadata:
- JaegerVersion
- StorageBackend
- InternalLoadBalancer
- JaegerCpu
- JaegerMemory
- JaegerMinReplicaCount
- JaegerMaxReplicaCount
- Label:
default: OpenTelemetry Collector configuration
Parameters:
Expand Down Expand Up @@ -130,6 +134,14 @@ Metadata:
default: Jaeger storage backend
InternalLoadBalancer:
default: Use internal load balancer
JaegerCpu:
default: Jaeger CPU
JaegerMemory:
default: Jaeger Memory
JaegerMinReplicaCount:
default: Minimum number of Jaeger instances
JaegerMaxReplicaCount:
default: Maximum number of Jaeger instances
# OpenTelemetry Collector configuration
OpenTelemetryCollector:
default: OpenTelemetry Collector
Expand Down Expand Up @@ -267,6 +279,22 @@ Parameters:
AllowedValues: [ 'Yes', 'No' ]
Default: 'No'
Description: Choose "Yes" to deploy Jaeger load balancer in private VPC subnets.
JaegerCpu:
Type: Number
Default: 256
Description: Jaeger CPU. See https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-cpu-memory-error.html for supported values.
JaegerMemory:
Type: Number
Default: 512
Description: Jaeger Collector Memory. See https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-cpu-memory-error.html for supported values.
JaegerMinReplicaCount:
Type: Number
Default: 2
Description: Minimum number of Jaeger instances. Note that InMemory Jaeger always runs as a single instance.
JaegerMaxReplicaCount:
Type: Number
Default: 4
Description: Maximum number of Jaeger instances. Note that InMemory Jaeger always runs as a single instance.

# OpenTelemetry Collector parameters
OpenTelemetryCollector:
Expand Down Expand Up @@ -345,7 +373,7 @@ Parameters:
Description: The EBS volume type to use with the OpenSearch Service domain, such as standard, gp2, or io1.
ESDependenciesJobSchedule:
Type: String
Default: '0 1 * * *'
Default: '0 1 * * ? *'
Description: cron expression that is used to re-build service dependencies (default is daily at 1am).
ESDependenciesJobTimeRange:
Type: String
Expand Down Expand Up @@ -483,6 +511,10 @@ Resources:
JaegerVersion: !Ref JaegerVersion
StorageBackend: !Ref StorageBackend
InternalLoadBalancer: !Ref InternalLoadBalancer
JaegerCpu: !Ref JaegerCpu
JaegerMemory: !Ref JaegerMemory
JaegerMinReplicaCount: !Ref JaegerMinReplicaCount
JaegerMaxReplicaCount: !Ref JaegerMaxReplicaCount
# OpenTelemetry Collector parameters
OpenTelemetryCollector: !Ref OpenTelemetryCollector
OpenTelemetryCollectorImage: !Ref OpenTelemetryCollectorImage
Expand Down
34 changes: 33 additions & 1 deletion templates/jaeger-entry-new-vpc.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ Metadata:
- JaegerVersion
- StorageBackend
- InternalLoadBalancer
- JaegerCpu
- JaegerMemory
- JaegerMinReplicaCount
- JaegerMaxReplicaCount
- Label:
default: OpenTelemetry Collector configuration
Parameters:
Expand Down Expand Up @@ -133,6 +137,14 @@ Metadata:
default: Jaeger storage backend
InternalLoadBalancer:
default: Use internal load balancer
JaegerCpu:
default: Jaeger CPU
JaegerMemory:
default: Jaeger Memory
JaegerMinReplicaCount:
default: Minimum number of Jaeger instances
JaegerMaxReplicaCount:
default: Maximum number of Jaeger instances
# OpenTelemetry Collector configuration
OpenTelemetryCollector:
default: OpenTelemetry Collector
Expand Down Expand Up @@ -297,6 +309,22 @@ Parameters:
AllowedValues: [ 'Yes', 'No' ]
Default: 'No'
Description: Choose "Yes" to deploy Jaeger load balancer in private VPC subnets.
JaegerCpu:
Type: Number
Default: 256
Description: Jaeger CPU. See https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-cpu-memory-error.html for supported values.
JaegerMemory:
Type: Number
Default: 512
Description: Jaeger Collector Memory. See https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-cpu-memory-error.html for supported values.
JaegerMinReplicaCount:
Type: Number
Default: 2
Description: Minimum number of Jaeger instances. Note that InMemory Jaeger always runs as a single instance.
JaegerMaxReplicaCount:
Type: Number
Default: 4
Description: Maximum number of Jaeger instances. Note that InMemory Jaeger always runs as a single instance.

# OpenTelemetry Collector parameters
OpenTelemetryCollector:
Expand Down Expand Up @@ -375,7 +403,7 @@ Parameters:
Description: The EBS volume type to use with the OpenSearch Service domain, such as standard, gp2, or io1.
ESDependenciesJobSchedule:
Type: String
Default: '0 1 * * *'
Default: '0 1 * * ? *'
Description: cron expression that is used to re-build service dependencies (default is daily at 1am).
ESDependenciesJobTimeRange:
Type: String
Expand Down Expand Up @@ -542,6 +570,10 @@ Resources:
JaegerVersion: !Ref JaegerVersion
StorageBackend: !Ref StorageBackend
InternalLoadBalancer: !Ref InternalLoadBalancer
JaegerCpu: !Ref JaegerCpu
JaegerMemory: !Ref JaegerMemory
JaegerMinReplicaCount: !Ref JaegerMinReplicaCount
JaegerMaxReplicaCount: !Ref JaegerMaxReplicaCount
# OpenTelemetry Collector parameters
OpenTelemetryCollector: !Ref OpenTelemetryCollector
OpenTelemetryCollectorImage: !Ref OpenTelemetryCollectorImage
Expand Down
Loading

0 comments on commit 6040e12

Please sign in to comment.