mirror of
https://github.com/google/nomulus
synced 2026-08-21 22:56:19 +00:00
Add headers to record WHOIS client IPs (#2695)
The headers can be used by Cloud Armor to perform IP-based rate limiting.
This commit is contained in:
@@ -40,7 +40,8 @@ do
|
||||
kubectl apply -f -
|
||||
kubectl apply -f "./kubernetes/proxy-service-canary.yaml" --force
|
||||
fi
|
||||
# Kills all running pods, new pods created will be pulling the new image.
|
||||
kubectl delete pods --all
|
||||
# Restart all running pods, new pods created will be pulling the new image.
|
||||
kubectl rollout restart deployment/proxy-deployment
|
||||
kubectl rollout restart deployment/proxy-deployment-canary
|
||||
done < <(gcloud container clusters list --project ${project} | grep proxy-cluster)
|
||||
kubectl config use-context "$current_context"
|
||||
|
||||
Reference in New Issue
Block a user