blob: d95a865d1e34a9655a239e1148f221569f6ba3b1 [file] [log] [blame]
apiVersion: v1
kind: Service
metadata:
name: host
labels:
app: host
component: frontend
domain: prod
spec:
ports:
- port: 7080
targetPort: 7080
protocol: TCP
name: client
selector:
app: host
component: frontend
domain: prod
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: host
spec:
replicas: 2
template:
metadata:
labels:
app: host
component: frontend
domain: prod
annotations:
prometheus.io.scrape: "true"
spec:
containers:
- name: host
image: gcr.io/myproj/host:v0.1.10
ports:
- containerPort: 7080
args: [
]