Skip to content

Commit

Permalink
add fixed ip for epics-opis
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Aug 21, 2024
1 parent 2c5c0a8 commit ccc3fdf
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 9 deletions.
15 changes: 6 additions & 9 deletions opi/p47-beamline.bob
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,6 @@
<widget type="label" version="2.0.0">
<name>Label_6</name>
<text>Overview Camera</text>
<x>-2</x>
<y>10</y>
<width>150</width>
<tooltip>$(text)</tooltip>
Expand All @@ -291,7 +290,7 @@
<name>OpenDisplay</name>
<actions>
<action type="open_display">
<file>http://172.23.168.189/bl47p-ea-dcam-02/index.bob</file>
<file>http://172.23.168.217/bl47p-ea-dcam-02/index.bob</file>
<macros>
<P>BL47P-EA-DET-01</P>
<R>:DET:</R>
Expand All @@ -310,7 +309,6 @@
<widget type="label" version="2.0.0">
<name>Label_7</name>
<text>Sample Camera</text>
<x>-2</x>
<y>35</y>
<width>150</width>
<tooltip>$(text)</tooltip>
Expand All @@ -319,7 +317,7 @@
<name>OpenDisplay_1</name>
<actions>
<action type="open_display">
<file>http://172.23.168.189/bl47p-ea-dcam-01/index.bob</file>
<file>http://172.23.168.217/bl47p-ea-dcam-01/index.bob</file>
<macros>
<P>BL47P-EA-DET-01</P>
<R>:TX:</R>
Expand All @@ -338,7 +336,6 @@
<widget type="label" version="2.0.0">
<name>Label_8</name>
<text>Motors</text>
<x>-2</x>
<y>60</y>
<width>150</width>
<tooltip>$(text)</tooltip>
Expand All @@ -347,7 +344,7 @@
<name>OpenDisplay_2</name>
<actions>
<action type="open_display">
<file>http://172.23.168.189/bl47p-mo-ioc-01/index.bob</file>
<file>http://172.23.168.217/bl47p-mo-ioc-01/index.bob</file>
<macros>
<P>BL47P-EA-DET-01</P>
<R>:HDF5:</R>
Expand All @@ -374,7 +371,7 @@
<name>OpenDisplay_3</name>
<actions>
<action type="open_display">
<file>http://172.23.168.189/bl47p-ea-panda-01/index.bob</file>
<file>http://172.23.168.217/bl47p-ea-panda-01/index.bob</file>
<macros>
<P>BL47P-EA-DET-01</P>
<R>:HDF5:</R>
Expand All @@ -392,7 +389,7 @@
</widget>
</widget>
<widget type="group" version="2.0.0">
<name>AD Collect</name>
<name>Sample Camera</name>
<macros>
<P>BL47P-EA-DET-01</P>
<R>:DET:</R>
Expand Down Expand Up @@ -802,7 +799,7 @@
<widget type="group" version="2.0.0">
<name>Overview Camera</name>
<macros>
<P>BL47P-EA-DET-01</P>
<P>BL47P-EA-DET-02</P>
<R>:DET:</R>
</macros>
<x>5</x>
Expand Down
25 changes: 25 additions & 0 deletions svc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# A manually constructed service to give us a fixed IP
# TODO replace with an igress
apiVersion: v1
kind: Service
metadata:
labels:
app: epics-opis
ioc_group: p47
location: bl47p
name: epics-opis-static
spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: 80
- name: https
port: 443
protocol: TCP
targetPort: 443
selector:
app: epics-opis
sessionAffinity: None
type: LoadBalancer
loadBalancerIP: 172.23.168.217

0 comments on commit ccc3fdf

Please sign in to comment.