1
0
mirror of https://github.com/google/nomulus synced 2026-01-03 11:45:39 +00:00
Files
nomulus/proxy/kubernetes/proxy-service-canary.yaml
2025-04-17 15:20:32 +00:00

36 lines
642 B
YAML

kind: Service
apiVersion: v1
metadata:
namespace: default
name: proxy-service-canary
spec:
selector:
app: proxy-canary
ports:
- protocol: TCP
port: 30000
nodePort: 31000
targetPort: health-check
name: health-check
- protocol: TCP
port: 30002
nodePort: 31002
targetPort: epp
name: epp
type: NodePort
---
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
namespace: default
name: proxy-autoscale-canary
labels:
app: proxy-canary
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: proxy-deployment-canary
maxReplicas: 10
minReplicas: 1