añadido apolo
This commit is contained in:
42
apolo/deployments/deploy-kms.yaml
Normal file
42
apolo/deployments/deploy-kms.yaml
Normal file
@@ -0,0 +1,42 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: apolo-kms
|
||||
namespace: apolo
|
||||
labels:
|
||||
app.kubernetes.io/name: apolo-kms
|
||||
app.kubernetes.io/part-of: apolo
|
||||
app.kubernetes.io/component: kurento
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: apolo-kms
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: apolo-kms
|
||||
app.kubernetes.io/part-of: apolo
|
||||
app.kubernetes.io/component: kurento
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: harbor-cred
|
||||
containers:
|
||||
- name: kurento-media-server
|
||||
image: harbor.c2et.com/xrf-ssl/xrf-kurento-media-server:6.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: apolo-kms-env
|
||||
ports:
|
||||
- name: ws
|
||||
containerPort: 8888
|
||||
protocol: TCP
|
||||
readinessProbe:
|
||||
tcpSocket: { port: 8888 }
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 10
|
||||
livenessProbe:
|
||||
tcpSocket: { port: 8888 }
|
||||
initialDelaySeconds: 20
|
||||
periodSeconds: 20
|
||||
Reference in New Issue
Block a user