21 lines
460 B
YAML
21 lines
460 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: "infrastructure-example"
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: "infrastructure-example"
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: "infrastructure-example"
|
|
image: "deployment:latest"
|
|
ports:
|
|
- containerPort: 3000
|
|
name: external_http
|
|
- containerPort: 3001
|
|
name: internal_http
|
|
- containerPort: 3002
|
|
name: internal_grpc
|