playwright-mcp

This commit is contained in:
Sense T
2026-05-28 09:14:02 +00:00
parent 5f6decf25a
commit eb00242aa4
4 changed files with 83 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: playwright-mcp
spec:
selector:
matchLabels:
app: playwright-mcp
template:
metadata:
labels:
app: playwright-mcp
spec:
volumes:
- name: data
persistentVolumeClaim:
claimName: playwright-mcp
- name: downloads
hostPath:
path: /data/code-server/coder
containers:
- name: playwright-mcp
image: image
envFrom:
- configMapRef:
name: playwright-mcp
resources:
limits:
memory: "4Gi"
cpu: "2"
requests:
memory: "512Mi"
cpu: "500m"
ports:
- containerPort: 8931
volumeMounts:
- name: data
mountPath: /home/node
- name: downloads
mountPath: /home/node/Downloads
subPath: Downloads
+21
View File
@@ -0,0 +1,21 @@
# yaml-language-server: $schema=https://json.schemastore.org/kustomization.json
kind: Kustomization
replicas:
- name: playwright-mcp
count: 1
resources:
- deployment.yaml
- pvc.yaml
- service.yaml
namespace: mcp
images:
- name: image
newName: mcr.microsoft.com/playwright/mcp
newTag: v0.0.75
configMapGenerator:
- name: playwright-mcp
files:
- config/PLAYWRIGHT_MCP_PORT
- config/PLAYWRIGHT_MCP_HOST
- config/PLAYWRIGHT_MCP_ALLOWED_HOSTS
+11
View File
@@ -0,0 +1,11 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: playwright-mcp
spec:
resources:
requests:
storage: 10Gi
volumeMode: Filesystem
accessModes:
- ReadWriteOnce
+10
View File
@@ -0,0 +1,10 @@
apiVersion: v1
kind: Service
metadata:
name: playwright-mcp
spec:
selector:
app: playwright-mcp
ports:
- port: 8931
targetPort: 8931