-
-
Notifications
You must be signed in to change notification settings - Fork 67
Expand file tree
/
Copy pathk8s-warrior.yml
More file actions
43 lines (41 loc) · 725 Bytes
/
k8s-warrior.yml
File metadata and controls
43 lines (41 loc) · 725 Bytes
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
apiVersion: v1
kind: Service
metadata:
name: warrior
spec:
type: NodePort
selector:
app: warrior
ports:
- nodePort: 30163
port: 8001
targetPort: 8001
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: warrior
labels:
app: warrior
spec:
selector:
matchLabels:
app: warrior
strategy:
type: Recreate
template:
metadata:
labels:
app: warrior
spec:
containers:
- image: atdr.meo.ws/archiveteam/warrior-dockerfile:latest
name: warrior
resources: {}
env:
- name: DOWNLOADER
value: kubernetes
- name: SELECTED_PROJECT
value: auto
ports:
- containerPort: 8001