Files
shell-scripts/0-部署应用/Oracle-Cloud/rancher部署/rancher-2.6.9/templates/service.yaml
2024-11-28 16:42:36 +08:00

19 lines
351 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ template "rancher.fullname" . }}
labels:
{{ include "rancher.labels" . | indent 4 }}
spec:
ports:
- port: 80
targetPort: 80
protocol: TCP
name: http
- port: 443
targetPort: 444
protocol: TCP
name: https-internal
selector:
app: {{ template "rancher.fullname" . }}