summaryrefslogtreecommitdiffstats
path: root/docs/samples/access/externalip.yaml
blob: 3827968dbee11383cabd5ae8d7851708dac957f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
apiVersion: v1
kind: Service
metadata:
  name: epics-softioc-external
  namespace: epics
spec:
  type: ClusterIP
  selector:
    deploymentconfig: epics-softioc
  externalIPs:
  - 192.168.130.1
  ports:
  - name: 5064-tcp
    port: 5064
    protocol: TCP
    targetPort: 5064
  - name: 5064-udp
    port: 5064
    protocol: UDP
    targetPort: 5064
  - name: 5065-tcp
    port: 5065
    protocol: TCP
    targetPort: 5065
  - name: 5065-udp
    port: 5065
    protocol: UDP
    targetPort: 5065