mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
17 lines
303 B
YAML
17 lines
303 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
labels:
|
|
app: backend
|
|
name: backend-service
|
|
namespace: hydro-namespace
|
|
spec:
|
|
ports:
|
|
- port: {{.Values.Backend.ClusterPort}}
|
|
name: backend-cluster-endpoint
|
|
protocol: TCP
|
|
targetPort: 80
|
|
selector:
|
|
app: backend
|
|
type: ClusterIP
|