forked from tanainc/tana-import-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathk8s.yml
50 lines (46 loc) · 852 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
39
40
41
42
43
44
45
46
47
48
49
50
apiVersion: apps/v1
kind: Deployment
metadata:
name: tana-import
spec:
selector:
matchLabels:
app: tana-import
template:
metadata:
labels:
app: tana-import
spec:
containers:
- image: okteto.dev/node-tana-import:1.0.0
name: tana-import
---
apiVersion: v1
kind: Service
metadata:
name: tana-import
spec:
type: ClusterIP
ports:
- name: "tana-import"
port: 3000
selector:
app: tana-import
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: tana-import
annotations:
dev.okteto.com/generate-host: tana-import
spec:
rules:
- http:
paths:
- backend:
service:
name: tana-import
port:
number: 3000
path: /
pathType: ImplementationSpecific