-
Notifications
You must be signed in to change notification settings - Fork 0
/
k8s.yml
38 lines (38 loc) · 729 Bytes
/
k8s.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
apiVersion: apps/v1
kind: Deployment
metadata:
name: xhspicextractor
spec:
replicas: 1
selector:
matchLabels:
app: xhspicextractor
template:
metadata:
labels:
app: xhspicextractor
spec:
containers:
- image: injectrl/xhspicextractor:latest
name: xhspicextractor
ports:
- containerPort: 5000
env:
- name: HCaptchaSecret
value: $HCaptchaSecret
- name: CorsTarget
value: $CorsTarget
---
apiVersion: v1
kind: Service
metadata:
name: xhspicextractor
annotations:
dev.okteto.com/auto-ingress: "true"
spec:
ports:
- port: 5000
targetPort: 5000
selector:
app: xhspicextractor
type: LoadBalancer