mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 08:27:14 +02:00
Set up domain-registry proxy in Crash environment
- Created configs for Proxy server, GKE, and terraform - Created sans_list file for use with tarsier client - Updated allowedClients in registry server TODO: Update dr-bashrc to support crash environment ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=236659249
This commit is contained in:
parent
69b7815dd0
commit
98cce20899
3 changed files with 56 additions and 0 deletions
|
@ -29,6 +29,7 @@ public class ProxyConfig {
|
||||||
SANDBOX,
|
SANDBOX,
|
||||||
SANDBOX_CANARY,
|
SANDBOX_CANARY,
|
||||||
ALPHA,
|
ALPHA,
|
||||||
|
CRASH,
|
||||||
LOCAL,
|
LOCAL,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
# Add environment-specific proxy configuration here.
|
|
@ -0,0 +1,54 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
namespace: default
|
||||||
|
name: proxy-deployment
|
||||||
|
labels:
|
||||||
|
app: proxy
|
||||||
|
spec:
|
||||||
|
replicas: 3
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: proxy
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: proxy
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: proxy
|
||||||
|
image: gcr.io/GCP_PROJECT/IMAGE_NAME:bazel
|
||||||
|
ports:
|
||||||
|
- containerPort: 30000
|
||||||
|
name: health-check
|
||||||
|
- containerPort: 30001
|
||||||
|
name: whois
|
||||||
|
- containerPort: 30002
|
||||||
|
name: epp
|
||||||
|
- containerPort: 30010
|
||||||
|
name: http-whois
|
||||||
|
- containerPort: 30011
|
||||||
|
name: https-whois
|
||||||
|
readinessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: health-check
|
||||||
|
initialDelaySeconds: 5
|
||||||
|
periodSeconds: 10
|
||||||
|
livenessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: health-check
|
||||||
|
initialDelaySeconds: 15
|
||||||
|
periodSeconds: 20
|
||||||
|
imagePullPolicy: Always
|
||||||
|
args: ["--env", "crash", "--log"]
|
||||||
|
env:
|
||||||
|
- name: POD_ID
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.name
|
||||||
|
- name: NAMESPACE_ID
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.namespace
|
||||||
|
- name: CONTAINER_NAME
|
||||||
|
value: proxy
|
Loading…
Add table
Add a link
Reference in a new issue