mirror of https://git.rancher.io/charts
58 lines
1.4 KiB
YAML
58 lines
1.4 KiB
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
labels: {{- include "longhorn.labels" . | nindent 4 }}
|
|
app: longhorn-conversion-webhook
|
|
name: longhorn-conversion-webhook
|
|
namespace: {{ include "release_namespace" . }}
|
|
spec:
|
|
type: ClusterIP
|
|
sessionAffinity: ClientIP
|
|
selector:
|
|
app: longhorn-conversion-webhook
|
|
ports:
|
|
- name: conversion-webhook
|
|
port: 9443
|
|
targetPort: conversion-wh
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
labels: {{- include "longhorn.labels" . | nindent 4 }}
|
|
app: longhorn-admission-webhook
|
|
name: longhorn-admission-webhook
|
|
namespace: {{ include "release_namespace" . }}
|
|
spec:
|
|
type: ClusterIP
|
|
sessionAffinity: ClientIP
|
|
selector:
|
|
app: longhorn-admission-webhook
|
|
ports:
|
|
- name: admission-webhook
|
|
port: 9443
|
|
targetPort: admission-wh
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
labels: {{- include "longhorn.labels" . | nindent 4 }}
|
|
name: longhorn-engine-manager
|
|
namespace: {{ include "release_namespace" . }}
|
|
spec:
|
|
clusterIP: None
|
|
selector:
|
|
longhorn.io/component: instance-manager
|
|
longhorn.io/instance-manager-type: engine
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
labels: {{- include "longhorn.labels" . | nindent 4 }}
|
|
name: longhorn-replica-manager
|
|
namespace: {{ include "release_namespace" . }}
|
|
spec:
|
|
clusterIP: None
|
|
selector:
|
|
longhorn.io/component: instance-manager
|
|
longhorn.io/instance-manager-type: replica
|