bigbluebutton-Github/labs/docker/k8s/bbb-freeswitch.yaml

64 lines
1.3 KiB
YAML
Raw Normal View History

2018-08-04 05:17:53 +08:00
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
app: bbb-freeswitch
version: latest
name: bbb-freeswitch
namespace: bigbluebutton
spec:
replicas: 1
selector:
matchLabels:
app: bbb-freeswitch
version: latest
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
type: RollingUpdate
template:
metadata:
labels:
app: bbb-freeswitch
version: latest
name: bbb-freeswitch
spec:
containers:
- image: fcecagno/bigbluebutton:bbb-freeswitch
imagePullPolicy: Always
name: bbb-freeswitch
ports:
- containerPort: 7443
protocol: TCP
2019-01-16 22:13:29 +08:00
- containerPort: 8021
protocol: TCP
2018-08-04 05:17:53 +08:00
restartPolicy: Always
terminationGracePeriodSeconds: 30
nodeSelector:
role: 'bigbluebutton'
tolerations:
- key: role
operator: Equal
value: 'bigbluebutton'
effect: NoSchedule
---
apiVersion: v1
kind: Service
metadata:
name: bbb-freeswitch
namespace: bigbluebutton
annotations:
traefik.backend.circuitbreaker: "NetworkErrorRatio() > 0.5"
spec:
ports:
- name: http
targetPort: 7443
port: 7443
2019-01-16 22:13:29 +08:00
- name: freeswitch-8021
targetPort: 8021
port: 8021
2018-08-04 05:17:53 +08:00
selector:
app: bbb-freeswitch