Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rapid7
GitHub Repository: rapid7/metasploit-framework
Path: blob/master/test/kubernetes/thinkphp/templates/service.yaml
24756 views
1
apiVersion: v1
2
kind: Service
3
metadata:
4
name: {{ include "thinkphp.fullname" . }}
5
labels:
6
{{- include "thinkphp.labels" . | nindent 4 }}
7
spec:
8
type: {{ .Values.service.type }}
9
ports:
10
- port: {{ .Values.service.port }}
11
targetPort: http
12
protocol: TCP
13
name: http
14
selector:
15
{{- include "thinkphp.selectorLabels" . | nindent 4 }}
16
17