mirror of
https://github.com/google/nomulus.git
synced 2025-08-01 23:42:12 +02:00
Move terraform and kubernetes folder to be under proxy (#127)
* Move terraform and kubernetes folder to be under proxy There is no reason for them to be under proxy/src/... any more now that we have a Gradle-idiomatic folder structure.
This commit is contained in:
parent
9cd7c9402f
commit
520145f641
30 changed files with 8 additions and 17 deletions
50
proxy/kubernetes/proxy-service.yaml
Normal file
50
proxy/kubernetes/proxy-service.yaml
Normal file
|
@ -0,0 +1,50 @@
|
|||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
namespace: default
|
||||
name: proxy-service
|
||||
spec:
|
||||
selector:
|
||||
app: proxy
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 30000
|
||||
nodePort: 30000
|
||||
targetPort: health-check
|
||||
name: health-check
|
||||
- protocol: TCP
|
||||
port: 30001
|
||||
nodePort: 30001
|
||||
targetPort: whois
|
||||
name: whois
|
||||
- protocol: TCP
|
||||
port: 30002
|
||||
nodePort: 30002
|
||||
targetPort: epp
|
||||
name: epp
|
||||
- protocol: TCP
|
||||
port: 30010
|
||||
nodePort: 30010
|
||||
targetPort: http-whois
|
||||
name: http-whois
|
||||
- protocol: TCP
|
||||
port: 30011
|
||||
nodePort: 30011
|
||||
targetPort: https-whois
|
||||
name: https-whois
|
||||
type: NodePort
|
||||
---
|
||||
apiVersion: autoscaling/v2beta1
|
||||
kind: HorizontalPodAutoscaler
|
||||
metadata:
|
||||
namespace: default
|
||||
name: proxy-autoscale
|
||||
labels:
|
||||
app: proxy
|
||||
spec:
|
||||
scaleTargetRef:
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Deployment
|
||||
name: proxy-deployment
|
||||
maxReplicas: 10
|
||||
minReplicas: 1
|
Loading…
Add table
Add a link
Reference in a new issue