kubespray/roles/kubernetes-apps/csi_driver/vsphere/templates/vsphere-csi-controller-serv...

20 lines
370 B
Plaintext
Raw Normal View History

2021-12-11 03:07:23 +08:00
apiVersion: v1
kind: Service
metadata:
name: vsphere-csi-controller
namespace: "{{ vsphere_csi_namespace }}"
2021-12-11 03:07:23 +08:00
labels:
app: vsphere-csi-controller
spec:
ports:
- name: ctlr
port: 2112
targetPort: 2112
protocol: TCP
- name: syncer
port: 2113
targetPort: 2113
protocol: TCP
selector:
app: vsphere-csi-controller