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