cuddle-templates/cuddle-node-service/.cuddle/tmp/k8s/deployment-infrastructure-example.yaml

31 lines
683 B
YAML
Raw Permalink Normal View History

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: infrastructure-example
cluster: clank-prod
name: infrastructure-example
namespace: prod
spec:
replicas: 3
selector:
matchLabels:
app: infrastructure-example
cluster: clank-prod
template:
metadata:
labels:
app: infrastructure-example
cluster: clank-prod
spec:
containers:
- image: infrastructure-example:something
name: infrastructure-example
ports:
- containerPort: 3000
name: external_http
- containerPort: 3001
name: internal_http
- containerPort: 3002
name: internal_grpc