summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/tools/third_party/websockets/example/deployment/kubernetes/deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/tools/third_party/websockets/example/deployment/kubernetes/deployment.yaml')
-rw-r--r--testing/web-platform/tests/tools/third_party/websockets/example/deployment/kubernetes/deployment.yaml35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/web-platform/tests/tools/third_party/websockets/example/deployment/kubernetes/deployment.yaml b/testing/web-platform/tests/tools/third_party/websockets/example/deployment/kubernetes/deployment.yaml
new file mode 100644
index 0000000000..ba58dd62bf
--- /dev/null
+++ b/testing/web-platform/tests/tools/third_party/websockets/example/deployment/kubernetes/deployment.yaml
@@ -0,0 +1,35 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: websockets-test
+spec:
+ type: NodePort
+ ports:
+ - port: 80
+ nodePort: 32080
+ selector:
+ app: websockets-test
+---
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: websockets-test
+spec:
+ selector:
+ matchLabels:
+ app: websockets-test
+ template:
+ metadata:
+ labels:
+ app: websockets-test
+ spec:
+ containers:
+ - name: websockets-test
+ image: websockets-test:1.0
+ livenessProbe:
+ httpGet:
+ path: /healthz
+ port: 80
+ periodSeconds: 1
+ ports:
+ - containerPort: 80