21 lines
412 B
YAML
21 lines
412 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "clutch.fullname" . }}
|
|
labels:
|
|
{{- include "clutch.labels" . | nindent 4 }}
|
|
spec:
|
|
type: ClusterIP
|
|
ports:
|
|
- port: 80
|
|
protocol: TCP
|
|
targetPort: 8080
|
|
name: clutch2
|
|
- port: 8080
|
|
protocol: TCP
|
|
targetPort: 8080
|
|
name: clutch
|
|
selector:
|
|
selector:
|
|
{{- include "clutch.selectorLabels" . | nindent 4 }}
|
|
type: clutch
|