Commit 83f10435 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

villas: add signaling service

parent dd0e4520
......@@ -6,7 +6,7 @@ icon: https://packages.fein-aachen.org/helm/icons/villas_framework.png
type: application
version: 0.8.1
version: 0.9.0
appVersion: 1.18.3
maintainers:
......
......@@ -66,6 +66,11 @@ spec:
pathType: ImplementationSpecific
backend: {{ include "ingress.backend" (dict "top" . "name" "relay" "port" "http") | indent 10 }}
{{- end }}
{{- if .Values.signaling.enabled }}
- path: /ws/signaling/(.*)
pathType: ImplementationSpecific
backend: {{ include "ingress.backend" (dict "top" . "name" "signaling" "port" "http") | indent 10 }}
{{- end }}
{{- if .Values.controller.enabled }}
- path: /controller/(.*)
pathType: ImplementationSpecific
......
......@@ -22,4 +22,5 @@ spec:
{{- end }}
selector:
app.kubernetes.io/component: node
{{- include "villas.selectorLabels" . | nindent 4 }}
{{- end }}
......@@ -13,4 +13,5 @@ spec:
targetPort: 80
selector:
app.kubernetes.io/component: pintura
{{- include "villas.selectorLabels" . | nindent 4 }}
{{ end }}
......@@ -13,4 +13,5 @@ spec:
targetPort: 4180
selector:
app.kubernetes.io/component: proxy
{{- include "villas.selectorLabels" . | nindent 4 }}
{{- end }}
......@@ -13,4 +13,5 @@ spec:
targetPort: 8088
selector:
app.kubernetes.io/component: relay
{{- include "villas.selectorLabels" . | nindent 4 }}
{{ end }}
{{ if .Values.signaling.enabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
name: "{{ include "villas.fullname" . }}-signaling"
app.kubernetes.io/component: signaling
{{- include "villas.labels" . | nindent 4 }}
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/component: signaling
{{- include "villas.selectorLabels" . | nindent 6 }}
template:
metadata:
labels:
app.kubernetes.io/component: signaling
{{- include "villas.selectorLabels" . | nindent 8 }}
spec:
containers:
- image: {{ .Values.signaling.image }}
imagePullPolicy: Always
name: signaling
ports:
- containerPort: 8080
name: http
protocol: TCP
readinessProbe:
failureThreshold: 3
httpGet:
path: /healthz
port: 8080
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
{{- end }}
{{ if .Values.signaling.enabled }}
apiVersion: v1
kind: Service
metadata:
name: "{{ include "villas.fullname" . }}-signaling"
labels:
app.kubernetes.io/component: signaling
{{- include "villas.labels" . | nindent 4 }}
spec:
ports:
- name: http
port: 80
targetPort: 8080
selector:
app.kubernetes.io/component: signaling
{{- include "villas.selectorLabels" . | nindent 4 }}
{{ end }}
......@@ -163,6 +163,12 @@ node:
extraNodes: {}
extraPaths: []
signaling:
enabled: true
image: registry.git.rwth-aachen.de/acs/public/villas/signaling
relay:
enabled: true
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment