-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RAS-1140 Seft-ci-ingestion cloud function: xlsx upload and deleting s…
…teps (#338) * adding load balancer * updating gunicorn * auto patch increment * fixing helm chart for load balancer * auto patch increment --------- Co-authored-by: ras-rm-pr-bot <rasrm.team@ons.gov.uk>
- Loading branch information
1 parent
2e28424
commit c7435dc
Showing
3 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
_infra/helm/collection-instrument/templates/loadbalancer.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{{ if .Values.loadBalancer.enabled }} | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: collection-instrument-lb | ||
annotations: | ||
networking.gke.io/load-balancer-type: "Internal" | ||
networking.gke.io/load-balancer-ip-addresses: {{ .Values.loadBalancer.ipAddress }} | ||
spec: | ||
type: LoadBalancer | ||
externalTrafficPolicy: Cluster | ||
loadBalancerIP: {{ .Values.loadBalancer.ipAddress }} | ||
selector: | ||
app: collection-instrument | ||
ports: | ||
- name: tcp-port | ||
protocol: TCP | ||
port: 80 | ||
targetPort: 8080 | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,3 +57,7 @@ gcp: | |
bucket: | ||
name: "ras-rm-seft-ci-dev" | ||
prefix: "" | ||
|
||
loadBalancer: | ||
ipAddress: 10.110.128.13 | ||
enabled: true |