Skip to content

Commit

Permalink
Use static IPs for EPP endpoints (#2685)
Browse files Browse the repository at this point in the history
These IPs are now provisioned by Terraform. Also delete the
get-endpoints.py script as it is no longer necessary.
  • Loading branch information
jianglai authored Feb 24, 2025
1 parent ed95d19 commit bcf42bd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 161 deletions.
4 changes: 2 additions & 2 deletions db/src/main/resources/sql/schema/nomulus.golden.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
-- PostgreSQL database dump
--

-- Dumped from database version 17.3
-- Dumped by pg_dump version 17.3
-- Dumped from database version 17.4
-- Dumped by pg_dump version 17.4

SET statement_timeout = 0;
SET lock_timeout = 0;
Expand Down
158 changes: 0 additions & 158 deletions jetty/get-endpoints.py

This file was deleted.

1 change: 1 addition & 0 deletions jetty/kubernetes/nomulus-frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ metadata:
annotations:
cloud.google.com/l4-rbs: enabled
networking.gke.io/weighted-load-balancing: pods-per-node
networking.gke.io/load-balancer-ip-addresses: "EPP-ipv6-main,EPP-ipv4-main"
spec:
type: LoadBalancer
# Traffic is directly delivered to a node, preserving the original source IP.
Expand Down
4 changes: 3 additions & 1 deletion release/cloudbuild-restart-proxies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ steps:
gcloud container clusters get-credentials $name \
--project $project_id --location $location
kubectl rollout restart deployment/proxy-deployment
# Sleep for 20 min for the rollout to stabilize.
sleep 1200
done < <(gcloud container clusters list --project $project_id | grep proxy-cluster)
timeout: 3600s
timeout: 7200s
options:
machineType: 'N1_HIGHCPU_8'

0 comments on commit bcf42bd

Please sign in to comment.