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

24 lines
438 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
labels:
app: infrastructure-example
cluster: clank-prod
name: infrastructure-example
namespace: prod
spec:
ports:
- name: external_http
port: 3000
targetPort: 3000
- name: internal_http
port: 3001
targetPort: 3001
- name: internal_grpc
port: 3002
targetPort: 3002
selector:
app: infrastructure-example
cluster: clank-prod
type: LoadBalancer