Skip to content

Commit

Permalink
infra: cluster migration (#743)
Browse files Browse the repository at this point in the history
This PR prepares marlowe-cardano for EKS cluster migration.

Changes:

1. Adding some annotations on marlowe-proxy LoadBalancer as they are
needed to create public instances of Network Load Balancer (they are
private by default);

2. Removing opentelemetry-collector trait from marlowe-web-server, it's
not needed anymore;

3. Changing DB hostname (New RDS instance is already synced);
  • Loading branch information
renebarbosafl authored Nov 8, 2023
1 parent 66b98cc commit 1ae016c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 22 deletions.
4 changes: 4 additions & 0 deletions deploy/marlowe-runtime/templates/marlowe-proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ spec:
properties:
annotations:
"external-dns.alpha.kubernetes.io/hostname": "marlowe-runtime-{{ . }}.{{ $instance.parentDomain }}"
"service.beta.kubernetes.io/aws-load-balancer-name": "marlowe-runtime-{{ . }}-{{ $instanceName }}"
"service.beta.kubernetes.io/aws-load-balancer-nlb-target-type": "instance"
"service.beta.kubernetes.io/aws-load-balancer-scheme": "internet-facing"
"service.beta.kubernetes.io/aws-load-balancer-type": "external"
type: LoadBalancer
ports:
- port: 3700
Expand Down
21 changes: 0 additions & 21 deletions deploy/marlowe-runtime/templates/marlowe-web-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,27 +40,6 @@ spec:
- marlowe-runtime-{{ . }}-web.{{ $instance.parentDomain }}
rules:
- port: 3780
- type: opentelemetry-collector
properties:
mode: sidecar
config: |
receivers:
otlp:
protocols:
http:
grpc:
processors:

exporters:
logging:

service:
pipelines:
traces:
receivers: [otlp]
processors: []
exporters: [logging]

policies:
- name: local-{{ $.Values.namespace }}
properties:
Expand Down
2 changes: 1 addition & 1 deletion deploy/marlowe-runtime/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ releaseName: marlowe-runtime

databaseName: marlowe-runtime-database

databaseHost: dapps-marlowe-runtime-database.csguv6v6ban1.us-east-1.rds.amazonaws.com
databaseHost: prod-marlowe-runtime-db.csguv6v6ban1.us-east-1.rds.amazonaws.com

0 comments on commit 1ae016c

Please sign in to comment.