mirror of https://github.com/dtm-labs/dtm.git
csharpjavadistributed-transactionsdtmgogolangmicroservicenodejsphpdatabasesagaseatatcctransactiontransactionsxapythondistributed
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
460 B
19 lines
460 B
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "dtm.fullname" . }}
|
|
labels:
|
|
{{- include "dtm.labels" . | nindent 4 }}
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
- port: {{ .Values.service.ports.http }}
|
|
targetPort: http
|
|
protocol: TCP
|
|
name: http
|
|
- port: {{ .Values.service.ports.grpc }}
|
|
targetPort: grpc
|
|
protocol: TCP
|
|
name: grpc
|
|
selector:
|
|
{{- include "dtm.selectorLabels" . | nindent 4 }}
|
|
|