ci / lint-prettier (pull_request) Successful in 8s
ci / lint-ruff (pull_request) Successful in 4s
ci / lint-yaml (pull_request) Successful in 6s
ci / lint-dockerfiles (pull_request) Successful in 4s
ci / validate (pull_request) Successful in 5s
ci / lint-prettier (push) Successful in 7s
ci / lint-ruff (push) Successful in 3s
ci / lint-yaml (push) Successful in 6s
ci / lint-dockerfiles (push) Successful in 4s
ci / validate (push) Successful in 5s
renovate-ci / validate-renovate (pull_request) Successful in 8s
ci / build (pull_request) Has been skipped
ci / build (push) Has been skipped
ci / deploy-userbot-panel (pull_request) Has been skipped
ci / deploy-userbot-panel (push) Has been skipped
58 lines
1.2 KiB
YAML
58 lines
1.2 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: playwright-service
|
|
namespace: edu-master
|
|
labels:
|
|
app: edu-master-playwright
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: edu-master-playwright
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: edu-master-playwright
|
|
spec:
|
|
containers:
|
|
- name: playwright
|
|
image: mcr.microsoft.com/playwright:v1.63.0-jammy
|
|
imagePullPolicy: IfNotPresent
|
|
command:
|
|
- npx
|
|
- -y
|
|
- playwright@1.56.0
|
|
- run-server
|
|
- --port
|
|
- "3000"
|
|
- --path
|
|
- /ws
|
|
ports:
|
|
- containerPort: 3000
|
|
readinessProbe:
|
|
tcpSocket:
|
|
port: 3000
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
timeoutSeconds: 3
|
|
livenessProbe:
|
|
tcpSocket:
|
|
port: 3000
|
|
initialDelaySeconds: 15
|
|
periodSeconds: 20
|
|
timeoutSeconds: 3
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: playwright-service
|
|
namespace: edu-master
|
|
spec:
|
|
selector:
|
|
app: edu-master-playwright
|
|
ports:
|
|
- name: ws
|
|
port: 3000
|
|
targetPort: 3000
|