Skip to content

Commit

Permalink
add an ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Aug 21, 2024
1 parent ccc3fdf commit 96bd61d
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 25 deletions.
46 changes: 46 additions & 0 deletions ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# A manually constructed ingress to give us a URL into the opis service
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

---
kind: Ingress
apiVersion: networking.k8s.io/v1
metadata:
name: p47-opis-ingress
spec:
ingressClassName: nginx
tls:
- hosts:
- p47-opis.diamond.ac.uk
rules:
- host: p47-opis.diamond.ac.uk
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: epics-opis
port:
number: 80
1 change: 1 addition & 0 deletions opi/p47-beamline.bob
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,7 @@
</y_axis>
<data_width>1024</data_width>
<data_height>1024</data_height>
<color_mode>21</color_mode>
<unsigned>true</unsigned>
</widget>
<widget type="group" version="2.0.0">
Expand Down
25 changes: 0 additions & 25 deletions svc.yaml

This file was deleted.

0 comments on commit 96bd61d

Please sign in to comment.